| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<BorgunTest3DCompleteSaveCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<CRes>String</CRes>
<CVC>String</CVC>
<ForcedJSONRequest>String</ForcedJSONRequest>
<ForcedPath>String</ForcedPath>
<PAN>String</PAN>
<PARes>String</PARes>
<SessionId>String</SessionId>
<SkipBorgunCall>false</SkipBorgunCall>
</BorgunTest3DCompleteSaveCardRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <BorgunTest3DCompleteSaveCardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <CardAlreadyExists>false</CardAlreadyExists> <CardType>String</CardType> <ForcedJSONRequest>String</ForcedJSONRequest> <ForcedPath>String</ForcedPath> <IsDebit>false</IsDebit> <JSONRequest>String</JSONRequest> <JSONResponse>String</JSONResponse> <Message>String</Message> <RequestPath>String</RequestPath> <RequestReceived>String</RequestReceived> <RequestSent>String</RequestSent> <StatusCode>0</StatusCode> <Success>false</Success> <Token>String</Token> <VirtualCardNumber>String</VirtualCardNumber> </BorgunTest3DCompleteSaveCardResponse>