Webhook
Sequence Diagram
Event data
transId
String
The ID of transaction.
type
String
TRANSACTION_STATUS
transDate
String
The time of transaction.
virtualAccountId
String
The ID of virtual account.
accountName
String
The account name.
amount
Number
The amount of collection transaction.
note
String
Note.
status
String
Transaction status
reconcileStatus
String
Transaction reconcile status, Include: UPLOADED: Documents for transaction were uploaded, waiting for verifying APPROVED: Transaction documents were verified RECONCILED: Transaction was reconconciled SETTLED: Transaction was settled
payoutStatus
String
Transaction payout status, Include: READY: Transaction was settled and ready for Remitout. PROCESSING: Remitout/Payout request is processing. REJECTED: Remitout/Payout request has been rejected, SUCCESS: Remitout/Payout request has success
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)
Sample data```javascript
With the secretKey "SUMTING", the string used to create secureHash will be:
Last updated