2️Calling the Refund API
The Refund API allows partners to process refunds for transactions that have been paid through the VietQR code.
Last updated
The Refund API allows partners to process refunds for transactions that have been paid through the VietQR code.
Last updated
Content-Type
application/json
Authorization
Bearer <token>
bankAccount
String
Yes
The bank account of the partner.
referenceNumber
String
Yes
The transaction ID that needs to be refunded.
amount
String
Yes
The amount to be refunded to the customer of the partner.
content
String
Yes
Description of the refund.
checkSum
String
Yes
An MD5 hash of the parameters: (secretKey + referenceNumber + amount + bankAccount)
.
multiTimes
Boolean
Optional
It allows for multiple refunds. Only the first refund can be selected for processing.
bankCode
String
Yes
The abbreviated name of the bank.
terminalCode
String
Optional
The code for the store or point of sale.
subTerminalCode
String
Optional
The code for the sub-store or sub-point of sale.