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 .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
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
}