TicketUserServices

<back to all web services

BorgunServices3DFinishProcessRequestShortVersion

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunServices/Finish3DProcessShortVersionTest 3D

export class BorgunPaymentMethodInfo
{
    public paymentType?: string;
    public pan?: string;
    public token?: string;
    public cardType?: string;
    public isDebit?: string;

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

export class Borgun3DSecureInfo
{
    public securityLevelInd?: string;
    public xid?: string;

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

export class BorgunFinal3DResponse
{
    public transactionId?: string;
    public transactionType?: string;
    public amount?: number;
    public currency?: string;
    public transactionDate?: string;
    public oorderId?: string;
    public authCode?: string;
    public actionCode?: string;
    public transactionStatus?: string;
    public paymentMethod?: BorgunPaymentMethodInfo;
    public threeDSecure?: Borgun3DSecureInfo;
    public lifeCycleId?: string;

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

export class BorgunServices3DFinishProcessResponse
{
    public response?: BorgunFinal3DResponse;
    public success?: boolean;
    public httpStatusCode?: number;
    public message?: string;

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

export class Borgun3DFinalRequestShortVersion
{
    public amount?: number;
    public mpiToken?: string;
    public orderId?: string;
    public token?: string;

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

export class BorgunServices3DFinishProcessRequestShortVersion
{
    public request?: Borgun3DFinalRequestShortVersion;

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

TypeScript BorgunServices3DFinishProcessRequestShortVersion 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /borgunServices/Finish3DProcessShortVersion HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"request":{"amount":0,"mpiToken":"String","orderId":"String","token":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"response":{"transactionId":"String","transactionType":"String","amount":0,"currency":"String","transactionDate":"0001-01-01T00:00:00.0000000","oorderId":"String","authCode":"String","actionCode":"String","transactionStatus":"String","paymentMethod":{"paymentType":"String","pan":"String","token":"String","cardType":"String","isDebit":"String"},"threeDSecure":{"securityLevelInd":"String","xid":"String"},"lifeCycleId":"String"},"success":false,"httpStatusCode":0,"message":"String"}