TicketUserServices

<back to all web services

BorgunTest3DCompleteSaveCardRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunTest3D/CompleteSaveCardTest 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 .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
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/csv
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"}