Webhook
Event data
withdrawRequestId
String
Withdraw/Remitout request id
type
String
Webhook type: Default value "WITHDRAW"
approvalStatus
String
Withdraw/Remitout request status, Include: PENDING: Withdraw request is waiting for approval. APPROVED: Withdraw request was approved. REJECTED: Withdraw request was rejected.
status
String
Withdraw/Remitout transaction status, Include: SUCCESS: Withdraw transaction was successful. FAILED: Withdraw request was failed.
bankSwiftCode
String
Withdraw/Remitout bank swift code.
bankAccountNumber
String
Withdraw/Remitout bank acount number.
bankAccountName
String
Withdraw/Remitout bank acount name.
amount
Number
Amount of withdraw/remitout request in VND
currency
Number
(Optional) Remitout request currency
remitedAmount
Number
(Optional) Amount of remitout request in currency
collectionTransactions
Array Object
(Optional) List of Collection transactions envolved to withdraw/remitout request. Object data:
note
String
Note for withdraw/remitout request
failedReason
String
Return failed reason from banking system if withdraw transaction was failed
secureHash
String
(Base64)
Use SHA256 to hash the above parameters (Not include optional params) (sort the key by Alphabet order) + Secret Key (configured on Merchant Portal, in the Collection service menu)
Sample data
With the secretKey "SUMTING", the string used to create secureHash will be:
Last updated
Was this helpful?