TicketUserServices

<back to all web services

BorgunTest3DEnrollmentRequest

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

export class BorgunMPIEnrollmentACSField
{
    public name?: string;
    public values?: string;

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

export class Borgun3DEnrollmentResponse
{
    public resultStatus?: number;
    public messageId?: string;
    public enrollmentStatus?: string;
    public mdErrorMessage?: string;
    public mdStatus?: string;
    public redirectToACSForm?: string;
    public md?: string;
    public mpiToken?: string;
    public redirectToACSDAta?: BorgunMPIEnrollmentACSField[];

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

export class BorgunTest3DEnrollmentResponse
{
    public statusCode?: number;
    public message?: string;
    public response?: Borgun3DEnrollmentResponse;
    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<BorgunTest3DEnrollmentResponse>) { (Object as any).assign(this, init); }
}

export enum BorgunPaymentTypes
{
    Unknown = 1,
    Card = 2,
    TokenSingle = 3,
    TokenMulti = 4,
}

export class BorgunPaymentRequestMethod
{
    public paymentType?: BorgunPaymentTypes;
    public pan?: string;
    public expYear?: string;
    public expMonth?: string;
    public cvC2?: string;
    public token?: string;

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

export class Borgun3DEnrollmentRequest
{
    public cardDetails?: BorgunPaymentRequestMethod;
    public purchAmount?: number;
    public exponent?: number;
    public currency?: string;
    public termURL?: string;
    public transactionDate?: string;
    public md?: string;
    public description?: string;

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

export class BorgunTest3DEnrollmentRequest
{
    public request?: Borgun3DEnrollmentRequest;
    public forcedPath?: string;
    public forcedJSONRequest?: string;
    public skipBorgunCall?: boolean;

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

TypeScript BorgunTest3DEnrollmentRequest 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/Enrollment HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"request":{"cardDetails":{"paymentType":"Unknown","pan":"String","expYear":"String","expMonth":"String","cvC2":"String","token":"String"},"purchAmount":0,"exponent":0,"currency":"String","termURL":"String","transactionDate":"0001-01-01T00:00:00.0000000","md":"String","description":"String"},"forcedPath":"String","forcedJSONRequest":"String","skipBorgunCall":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"statusCode":0,"message":"String","response":{"resultStatus":0,"messageId":"String","enrollmentStatus":"String","mdErrorMessage":"String","mdStatus":"String","redirectToACSForm":"String","md":"String","mpiToken":"String","redirectToACSDAta":[{"name":"String","values":"String"}]},"forcedPath":"String","forcedJSONRequest":"String","jsonRequest":"String","jsonResponse":"String","requestPath":"String","requestSent":"String","requestReceived":"String"}