Webhook
Event data
refundRequestId
String
Refund/Remitout request id
type
String
Webhook type: Default value "REFUND"
collectionTransId
String
Collection's TransactionId of current refund request
status
String
Refund request status, Include: PENDING: Refund request is waiting for approval. APPROVED: Refund request was approved. REJECTED: Refund request was rejected.
bankSwiftCode
String
Refund/Remitout bank swift code.
bankAccountNumber
String
Refund to bank acount number
bankAccountName
String
Refund to bank acount name.
amount
Number
Amount of refund request in VND
note
String
Note for refund request
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?