| Requires the role: | Admin | Requires the permission: | ReadData |
| POST | /borgunTest3D/CompleteSaveCard | Test 3D - Complete Card Save After 3DS Challenge |
|---|
import Foundation
import ServiceStack
public class BorgunTest3DCompleteSaveCardRequest : Codable
{
public var sessionId:String?
public var paRes:String?
public var cRes:String?
public var pan:String?
public var cvc:String?
public var forcedPath:String?
public var forcedJSONRequest:String?
public var skipBorgunCall:Bool?
required public init(){}
}
public class BorgunTest3DCompleteSaveCardResponse : Codable
{
public var statusCode:Int?
public var message:String?
public var success:Bool?
public var token:String?
public var virtualCardNumber:String?
public var cardType:String?
public var isDebit:Bool?
public var cardAlreadyExists:Bool?
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(){}
}
Swift BorgunTest3DCompleteSaveCardRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunTest3D/CompleteSaveCard HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
sessionId: String,
paRes: String,
cRes: String,
pan: String,
cvc: String,
forcedPath: String,
forcedJSONRequest: String,
skipBorgunCall: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
statusCode: 0,
message: String,
success: False,
token: String,
virtualCardNumber: String,
cardType: String,
isDebit: False,
cardAlreadyExists: False,
forcedPath: String,
forcedJSONRequest: String,
jsonRequest: String,
jsonResponse: String,
requestPath: String,
requestSent: String,
requestReceived: String
}