| Requires the role: | Admin | Requires the permission: | ReadData |
| POST | /borgunServices/3DResVerification | Test 3D |
|---|
import Foundation
import ServiceStack
public class BorgunServices3DVerificationRequest : Codable
{
public var request:BorgunResValidationRequest?
required public init(){}
}
public class BorgunResValidationRequest : Codable
{
public var paRes:String?
public var cRes:String?
public var md:String?
required public init(){}
}
public class BorgunServices3DVerificationResponse : Codable
{
public var response:BorgunResValidationResponse?
public var success:Bool?
public var httpStatusCode:Int?
public var message:String?
required public init(){}
}
public class BorgunResValidationResponse : Codable
{
public var xId:String?
public var mdStatus:String?
public var mdErrorMessage:String?
public var enrollmentStatus:String?
public var authenticationStatus:String?
public var eci:String?
public var cavv:String?
public var cavvAlgorithm:String?
public var paResVerified:String?
public var paResSyntaxOK:String?
required public init(){}
}
Swift BorgunServices3DVerificationRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunServices/3DResVerification HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<BorgunServices3DVerificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Request xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData">
<d2p1:CRes>String</d2p1:CRes>
<d2p1:MD>String</d2p1:MD>
<d2p1:PaRes>String</d2p1:PaRes>
</Request>
</BorgunServices3DVerificationRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<BorgunServices3DVerificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<HttpStatusCode>0</HttpStatusCode>
<Message>String</Message>
<Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData">
<d2p1:AuthenticationStatus>String</d2p1:AuthenticationStatus>
<d2p1:CAVV>String</d2p1:CAVV>
<d2p1:CAVVAlgorithm>String</d2p1:CAVVAlgorithm>
<d2p1:ECI>String</d2p1:ECI>
<d2p1:EnrollmentStatus>String</d2p1:EnrollmentStatus>
<d2p1:MdErrorMessage>String</d2p1:MdErrorMessage>
<d2p1:MdStatus>String</d2p1:MdStatus>
<d2p1:PAResSyntaxOK>String</d2p1:PAResSyntaxOK>
<d2p1:PAResVerified>String</d2p1:PAResVerified>
<d2p1:XId>String</d2p1:XId>
</Response>
<Success>false</Success>
</BorgunServices3DVerificationResponse>