Webhook
Sequence Diagram
Event data
Sample data
With the secretKey "123", the string used to create secureHash will be:
Last updated
Event data
With the secretKey "123", the string used to create secureHash will be:
Last updated
Parameter | Data Type | Description |
---|---|---|
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"
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)