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
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=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"}