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

export class BorgunTest3DCompleteSaveCardResponse
{
    public statusCode?: number;
    public message?: string;
    public success?: boolean;
    public token?: string;
    public virtualCardNumber?: string;
    public cardType?: string;
    public isDebit?: boolean;
    public cardAlreadyExists?: boolean;
    public forcedPath?: string;
    public forcedJSONRequest?: string;
    public jsonRequest?: string;
    public jsonResponse?: string;
    public requestPath?: string;
    public requestSent?: string;
    public requestReceived?: string;

    public constructor(init?: Partial<BorgunTest3DCompleteSaveCardResponse>) { (Object as any).assign(this, init); }
}

export class BorgunTest3DCompleteSaveCardRequest
{
    public sessionId?: string;
    public paRes?: string;
    public cRes?: string;
    public pan?: string;
    public cvc?: string;
    public forcedPath?: string;
    public forcedJSONRequest?: string;
    public skipBorgunCall?: boolean;

    public constructor(init?: Partial<BorgunTest3DCompleteSaveCardRequest>) { (Object as any).assign(this, init); }
}

TypeScript BorgunTest3DCompleteSaveCardRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + 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>