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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<WebHookRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Authorization>String</Authorization>
  <accessId>String</accessId>
  <createdAt>String</createdAt>
  <errorCode>String</errorCode>
  <eventId>String</eventId>
  <eventType>String</eventType>
  <formData>String</formData>
  <merchantId>String</merchantId>
  <merchantReference>String</merchantReference>
  <message>String</message>
  <objectId>String</objectId>
  <objectType>String</objectType>
  <parentObjectId>String</parentObjectId>
  <paymentProviderTransactionstatus>String</paymentProviderTransactionstatus>
  <paymentProviderTransactionstatusMessage>String</paymentProviderTransactionstatusMessage>
  <paymentType>String</paymentType>
  <requestSignature>String</requestSignature>
  <splitToken>String</splitToken>
  <status>String</status>
  <thirdPartyDeclineCode>String</thirdPartyDeclineCode>
  <timeZone>String</timeZone>
  <transactionId>String</transactionId>
  <transactionType>String</transactionType>
</WebHookRequest>