TicketUserServices

<back to all web services

BorgunTest3DFinishProcessRequest

Requires Authentication
Requires the role:AdminRequires the permission:ReadData
The following routes are available for this service:
POST/borgunTest3D/Finish3DProcessTest 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 BorgunTest3DFinishProcessResponse
{
    public response?: BorgunFinal3DResponse;
    public statusCode?: number;
    public message?: string;
    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<BorgunTest3DFinishProcessResponse>) { (Object as any).assign(this, init); }
}

export class Borgun3DFinalPaymentMethodInfo
{
    public paymentType?: string;
    public token?: string;

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

export class Borgun3DFinal3DSecureInfo
{
    public dataType?: string;
    public mpiToken?: string;

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

export class Borgun3DFinalRequest
{
    public transactionType?: string;
    public amount?: number;
    public currency?: string;
    public transactionDate?: string;
    public orderId?: string;
    public paymentMethod?: Borgun3DFinalPaymentMethodInfo;
    public threeDSecure?: Borgun3DFinal3DSecureInfo;

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

export class BorgunTest3DFinishProcessRequest
{
    public request?: Borgun3DFinalRequest;
    public forcedPath?: string;
    public forcedJSONRequest?: string;
    public skipBorgunCall?: boolean;

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

TypeScript BorgunTest3DFinishProcessRequest DTOs

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

HTTP + JSV

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

POST /borgunTest3D/Finish3DProcess HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	request: 
	{
		transactionType: String,
		amount: 0,
		currency: String,
		transactionDate: 0001-01-01,
		orderId: String,
		paymentMethod: 
		{
			paymentType: String,
			token: String
		},
		threeDSecure: 
		{
			dataType: String,
			mpiToken: String
		}
	},
	forcedPath: String,
	forcedJSONRequest: String,
	skipBorgunCall: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	response: 
	{
		transactionId: String,
		transactionType: String,
		amount: 0,
		currency: String,
		transactionDate: 0001-01-01,
		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
	},
	statusCode: 0,
	message: String,
	forcedPath: String,
	forcedJSONRequest: String,
	jsonRequest: String,
	jsonResponse: String,
	requestPath: String,
	requestSent: String,
	requestReceived: String
}