Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunTest3D/ResVerification | Test 3D |
---|
import Foundation
import ServiceStack
public class BorgunTest3DVerificationRequest : Codable
{
public var request:BorgunResValidationRequest?
public var forcedPath:String?
public var forcedJSONRequest:String?
public var skipBorgunCall:Bool?
required public init(){}
}
public class BorgunResValidationRequest : Codable
{
public var paRes:String?
public var cRes:String?
public var md:String?
required public init(){}
}
public class BorgunTest3DVerificationResponse : Codable
{
public var response:BorgunResValidationResponse?
public var statusCode:Int?
public var message:String?
public var forcedPath:String?
public var forcedJSONRequest:String?
public var jsonRequest:String?
public var jsonResponse:String?
public var requestPath:String?
public var requestSent:String?
public var requestReceived: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 BorgunTest3DVerificationRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunTest3D/ResVerification HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"request":{"paRes":"String","cRes":"String","md":"String"},"forcedPath":"String","forcedJSONRequest":"String","skipBorgunCall":false}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"response":{"xId":"String","mdStatus":"String","mdErrorMessage":"String","enrollmentStatus":"String","authenticationStatus":"String","eci":"String","cavv":"String","cavvAlgorithm":"String","paResVerified":"String","paResSyntaxOK":"String"},"statusCode":0,"message":"String","forcedPath":"String","forcedJSONRequest":"String","jsonRequest":"String","jsonResponse":"String","requestPath":"String","requestSent":"String","requestReceived":"String"}