PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

WebHookRequest

The following routes are available for this service:
POST/PayWithBankWebHook
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Paysecure.ServiceModel;

namespace Paysecure.ServiceModel
{
    public partial class WebHookRequest
    {
        [DataMember]
        public virtual string Authorization { get; set; }

        [DataMember]
        public virtual string merchantId { get; set; }

        [DataMember]
        public virtual string merchantReference { get; set; }

        [DataMember]
        public virtual string paymentType { get; set; }

        [DataMember]
        public virtual string transactionType { get; set; }

        [DataMember]
        public virtual string eventId { get; set; }

        [DataMember]
        public virtual string eventType { get; set; }

        [DataMember]
        public virtual string objectId { get; set; }

        [DataMember]
        public virtual string objectType { get; set; }

        [DataMember]
        public virtual string message { get; set; }

        [DataMember]
        public virtual string parentObjectId { get; set; }

        [DataMember]
        public virtual string timeZone { get; set; }

        [DataMember]
        public virtual string createdAt { get; set; }

        [DataMember]
        public virtual string accessId { get; set; }

        [DataMember]
        public virtual string transactionId { get; set; }

        [DataMember]
        public virtual string errorCode { get; set; }

        [DataMember]
        public virtual string splitToken { get; set; }

        [DataMember]
        public virtual string requestSignature { get; set; }

        [DataMember]
        public virtual string formData { get; set; }

        [DataMember]
        public virtual string status { get; set; }

        [DataMember]
        public virtual string paymentProviderTransactionstatus { get; set; }

        [DataMember]
        public virtual string paymentProviderTransactionstatusMessage { get; set; }

        [DataMember]
        public virtual string thirdPartyDeclineCode { get; set; }
    }

}

C# WebHookRequest 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 /PayWithBankWebHook HTTP/1.1 
Host: api.paysecure.acculynk.net 
Accept: text/csv
Content-Type: text/csv
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"}