PaySecure Pinless Web Services 2023:07:03:07

<back to all web services

WebHookRequest

The following routes are available for this service:
POST/PayWithBankWebHook
namespace Paysecure.ServiceModel

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type WebHookRequest() = 
        [<DataMember>]
        member val Authorization:String = null with get,set

        [<DataMember>]
        member val merchantId:String = null with get,set

        [<DataMember>]
        member val merchantReference:String = null with get,set

        [<DataMember>]
        member val paymentType:String = null with get,set

        [<DataMember>]
        member val transactionType:String = null with get,set

        [<DataMember>]
        member val eventId:String = null with get,set

        [<DataMember>]
        member val eventType:String = null with get,set

        [<DataMember>]
        member val objectId:String = null with get,set

        [<DataMember>]
        member val objectType:String = null with get,set

        [<DataMember>]
        member val message:String = null with get,set

        [<DataMember>]
        member val parentObjectId:String = null with get,set

        [<DataMember>]
        member val timeZone:String = null with get,set

        [<DataMember>]
        member val createdAt:String = null with get,set

        [<DataMember>]
        member val accessId:String = null with get,set

        [<DataMember>]
        member val transactionId:String = null with get,set

        [<DataMember>]
        member val errorCode:String = null with get,set

        [<DataMember>]
        member val splitToken:String = null with get,set

        [<DataMember>]
        member val requestSignature:String = null with get,set

        [<DataMember>]
        member val formData:String = null with get,set

        [<DataMember>]
        member val status:String = null with get,set

        [<DataMember>]
        member val paymentProviderTransactionstatus:String = null with get,set

        [<DataMember>]
        member val paymentProviderTransactionstatusMessage:String = null with get,set

        [<DataMember>]
        member val thirdPartyDeclineCode:String = null with get,set

F# 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"}