PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

WebHookRequest

The following routes are available for this service:
POST/PayWithBankWebHook

export class WebHookRequest
{
    // @DataMember
    public Authorization: string;

    // @DataMember
    public merchantId: string;

    // @DataMember
    public merchantReference: string;

    // @DataMember
    public paymentType: string;

    // @DataMember
    public transactionType: string;

    // @DataMember
    public eventId: string;

    // @DataMember
    public eventType: string;

    // @DataMember
    public objectId: string;

    // @DataMember
    public objectType: string;

    // @DataMember
    public message: string;

    // @DataMember
    public parentObjectId: string;

    // @DataMember
    public timeZone: string;

    // @DataMember
    public createdAt: string;

    // @DataMember
    public accessId: string;

    // @DataMember
    public transactionId: string;

    // @DataMember
    public errorCode: string;

    // @DataMember
    public splitToken: string;

    // @DataMember
    public requestSignature: string;

    // @DataMember
    public formData: string;

    // @DataMember
    public status: string;

    // @DataMember
    public paymentProviderTransactionstatus: string;

    // @DataMember
    public paymentProviderTransactionstatusMessage: string;

    // @DataMember
    public thirdPartyDeclineCode: string;

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

TypeScript WebHookRequest 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 /PayWithBankWebHook HTTP/1.1 
Host: api.paysecure.acculynk.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Authorization":"String","merchantId":"String","merchantReference":"String","paymentType":"String","transactionType":"String","eventId":"String","eventType":"String","objectId":"String","objectType":"String","message":"String","parentObjectId":"String","timeZone":"String","createdAt":"String","accessId":"String","transactionId":"String","errorCode":"String","splitToken":"String","requestSignature":"String","formData":"String","status":"String","paymentProviderTransactionstatus":"String","paymentProviderTransactionstatusMessage":"String","thirdPartyDeclineCode":"String"}