Webhook
Last updated
Last updated
With the secretKey "123", the string used to create secureHash will be:
Parameter | Data Type | Description |
---|---|---|
Parameter | Data Type | Description |
---|---|---|
Parameter | Data Type | Required | Description |
---|---|---|---|
requestId
String
The ID of the request.
type
String
“ACCOUNT”
merchantId
String
The ID of merchant.
virtualAccounts
Array
The array contains the list of created virtual accounts.
Refer to VirtualAccount below
createdAt
String
The time of creating account.
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)
accountName
String
The ID of seller/business is provided by merchant.
receiver
String
The name of receiver.
bankId
String
The Swift Code of the bank.
bankName
String
Bank name
serviceInfomation
Object
Refer to Service Information
bankAccountNumber
String
The bank account number.
qrText
String
QR Code
virtualAccountRequestId
String
The ID of seller/business is provided by merchant
transferNote
String
Transfer Contents
code
Number
Refer to Error Codes
status
String
Status of virtual account creation: SUCCESS FAILED PROCESSING
code
String (up to 10 latin chars)
N
Service code which is defined by the merchants. This code will be used to filter the VAs and grouped Reconciliations on Merchant Portal
groupId
String (up to 10 latin chars)
N
Id of VA group which is defined by the merchants. This id will be used to filter the VAs on Merchant Portal
desc
String (up to 256 latin chars)
N
Description of VA