PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

WebHookRequest

The following routes are available for this service:
POST/PayWithBankWebHook
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class WebHookRequest
    {
        @DataMember
        public String Authorization = null;

        @DataMember
        public String merchantId = null;

        @DataMember
        public String merchantReference = null;

        @DataMember
        public String paymentType = null;

        @DataMember
        public String transactionType = null;

        @DataMember
        public String eventId = null;

        @DataMember
        public String eventType = null;

        @DataMember
        public String objectId = null;

        @DataMember
        public String objectType = null;

        @DataMember
        public String message = null;

        @DataMember
        public String parentObjectId = null;

        @DataMember
        public String timeZone = null;

        @DataMember
        public String createdAt = null;

        @DataMember
        public String accessId = null;

        @DataMember
        public String transactionId = null;

        @DataMember
        public String errorCode = null;

        @DataMember
        public String splitToken = null;

        @DataMember
        public String requestSignature = null;

        @DataMember
        public String formData = null;

        @DataMember
        public String status = null;

        @DataMember
        public String paymentProviderTransactionstatus = null;

        @DataMember
        public String paymentProviderTransactionstatusMessage = null;

        @DataMember
        public String thirdPartyDeclineCode = null;
        
        public String getAuthorization() { return Authorization; }
        public WebHookRequest setAuthorization(String value) { this.Authorization = value; return this; }
        public String getMerchantId() { return merchantId; }
        public WebHookRequest setMerchantId(String value) { this.merchantId = value; return this; }
        public String getMerchantReference() { return merchantReference; }
        public WebHookRequest setMerchantReference(String value) { this.merchantReference = value; return this; }
        public String getPaymentType() { return paymentType; }
        public WebHookRequest setPaymentType(String value) { this.paymentType = value; return this; }
        public String getTransactionType() { return transactionType; }
        public WebHookRequest setTransactionType(String value) { this.transactionType = value; return this; }
        public String getEventId() { return eventId; }
        public WebHookRequest setEventId(String value) { this.eventId = value; return this; }
        public String getEventType() { return eventType; }
        public WebHookRequest setEventType(String value) { this.eventType = value; return this; }
        public String getObjectId() { return objectId; }
        public WebHookRequest setObjectId(String value) { this.objectId = value; return this; }
        public String getObjectType() { return objectType; }
        public WebHookRequest setObjectType(String value) { this.objectType = value; return this; }
        public String getMessage() { return message; }
        public WebHookRequest setMessage(String value) { this.message = value; return this; }
        public String getParentObjectId() { return parentObjectId; }
        public WebHookRequest setParentObjectId(String value) { this.parentObjectId = value; return this; }
        public String getTimeZone() { return timeZone; }
        public WebHookRequest setTimeZone(String value) { this.timeZone = value; return this; }
        public String getCreatedAt() { return createdAt; }
        public WebHookRequest setCreatedAt(String value) { this.createdAt = value; return this; }
        public String getAccessId() { return accessId; }
        public WebHookRequest setAccessId(String value) { this.accessId = value; return this; }
        public String getTransactionId() { return transactionId; }
        public WebHookRequest setTransactionId(String value) { this.transactionId = value; return this; }
        public String getErrorCode() { return errorCode; }
        public WebHookRequest setErrorCode(String value) { this.errorCode = value; return this; }
        public String getSplitToken() { return splitToken; }
        public WebHookRequest setSplitToken(String value) { this.splitToken = value; return this; }
        public String getRequestSignature() { return requestSignature; }
        public WebHookRequest setRequestSignature(String value) { this.requestSignature = value; return this; }
        public String getFormData() { return formData; }
        public WebHookRequest setFormData(String value) { this.formData = value; return this; }
        public String getStatus() { return status; }
        public WebHookRequest setStatus(String value) { this.status = value; return this; }
        public String getPaymentProviderTransactionstatus() { return paymentProviderTransactionstatus; }
        public WebHookRequest setPaymentProviderTransactionstatus(String value) { this.paymentProviderTransactionstatus = value; return this; }
        public String getPaymentProviderTransactionstatusMessage() { return paymentProviderTransactionstatusMessage; }
        public WebHookRequest setPaymentProviderTransactionstatusMessage(String value) { this.paymentProviderTransactionstatusMessage = value; return this; }
        public String getThirdPartyDeclineCode() { return thirdPartyDeclineCode; }
        public WebHookRequest setThirdPartyDeclineCode(String value) { this.thirdPartyDeclineCode = value; return this; }
    }

}

Java 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"}