Webhook
Last updated
Last updated
Event data
transId
String
The ID of transaction.
type
String
TRANSACTION
merchantCode
String
Merchant Code
transDate
String
The time of transaction.
virtualAccountRequestId
String
The ID of seller/business is provided by merchant.
virtualAccountId
String
The ID of virtual account.
accountName
String
The account name.
amount
Number
The amount of collection transaction.
note
String
Note.
serviceInformation
Object
Extra data includes "code", "groupId", "desc"
debitorInformation
Object
Debitor info object include: "bankName": Debit fom bank name "bankAccountNumber": Debitor bank account "bankAccountName": Debitor bank account name "bankRemark": Transaction remark received from debitor's bank.
secureHash
String
(Base64)
Use SHA256 to hash the above parameters (sort the key by Alphabet order) + Secret Key (configured on Merchant Portal, in the Collection service menu)
With the secretKey "SUMTING", the string used to create secureHash will be: