POST | /PayWithBankWebHook |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class WebHookRequest
{
@DataMember
var Authorization:String? = null
@DataMember
var merchantId:String? = null
@DataMember
var merchantReference:String? = null
@DataMember
var paymentType:String? = null
@DataMember
var transactionType:String? = null
@DataMember
var eventId:String? = null
@DataMember
var eventType:String? = null
@DataMember
var objectId:String? = null
@DataMember
var objectType:String? = null
@DataMember
var message:String? = null
@DataMember
var parentObjectId:String? = null
@DataMember
var timeZone:String? = null
@DataMember
var createdAt:String? = null
@DataMember
var accessId:String? = null
@DataMember
var transactionId:String? = null
@DataMember
var errorCode:String? = null
@DataMember
var splitToken:String? = null
@DataMember
var requestSignature:String? = null
@DataMember
var formData:String? = null
@DataMember
var status:String? = null
@DataMember
var paymentProviderTransactionstatus:String? = null
@DataMember
var paymentProviderTransactionstatusMessage:String? = null
@DataMember
var thirdPartyDeclineCode:String? = null
}
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>