POST | /PayWithBankWebHook |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Paysecure.ServiceModel
Namespace Global
Namespace Paysecure.ServiceModel
Public Partial Class WebHookRequest
<DataMember>
Public Overridable Property Authorization As String
<DataMember>
Public Overridable Property merchantId As String
<DataMember>
Public Overridable Property merchantReference As String
<DataMember>
Public Overridable Property paymentType As String
<DataMember>
Public Overridable Property transactionType As String
<DataMember>
Public Overridable Property eventId As String
<DataMember>
Public Overridable Property eventType As String
<DataMember>
Public Overridable Property objectId As String
<DataMember>
Public Overridable Property objectType As String
<DataMember>
Public Overridable Property message As String
<DataMember>
Public Overridable Property parentObjectId As String
<DataMember>
Public Overridable Property timeZone As String
<DataMember>
Public Overridable Property createdAt As String
<DataMember>
Public Overridable Property accessId As String
<DataMember>
Public Overridable Property transactionId As String
<DataMember>
Public Overridable Property errorCode As String
<DataMember>
Public Overridable Property splitToken As String
<DataMember>
Public Overridable Property requestSignature As String
<DataMember>
Public Overridable Property formData As String
<DataMember>
Public Overridable Property status As String
<DataMember>
Public Overridable Property paymentProviderTransactionstatus As String
<DataMember>
Public Overridable Property paymentProviderTransactionstatusMessage As String
<DataMember>
Public Overridable Property thirdPartyDeclineCode As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=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>