Skip to content

Create Payout

Request URL

methodurl
POST/api/pay/payout/create/v1

Headers

Header ParameterDescription
timestampRequest timestamp
nonceRandom value
countryVN
appCodeApplication ID

Supported Account Types (accountType)

AccountTypeAccount Type Name
2101BANK
2102Wallet

Request Parameters

FieldTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
accountTypeIntyesAccount type, see the account type list
amountStringyes20Payout amount; Vietnamese dong (VND), integer supported
bankCodeStringyes50Bank code; see the Bank List
bankNameStringyes50Bank name; see the Bank List
bankAccountStringyes32Recipient account: provide the userโ€™s real receiving account information
realNameStringyes255User name: provide the userโ€™s real first and last name
idCardNumberStringyes32Identity document number
idTypeStirngyes32Document type: BRBANK
signStringyesSignature
emailStringyes50Recipient email: provide the userโ€™s real email address
phoneStringyes50Phone number: 10 digits starting with 0
callbackUrlStringno200Callback URL
Request Example
{
"merchantOrderNo": "PayoutOrderExample",
"accountType": 2101,
"amount": "30000",
"bankCode": "1001",
"bankName": "ABBANK",
"bankAccount": "0123456789",
"realName": "Nguyen Van A",
"idCardNumber": "001234567890",
"idType": "BRBANK",
"sign": "YOUR_SIGN",
"email": "user@example.com",
"phone": "0900000000",
"callbackUrl": "https://www.callbackexample.com"
}

Response Parameters

ParameterTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
tradeNoStringyesPlatform order number
amountStringyesTransaction amount
statusIntyesPayout status: 1 = paying, 3 = failed
errorCodenumberyesError code for a failed order
errorMessageStringyesError message for a failed order; see the description below
Response Example
{
"code": 200,
"data": {
"merchantOrderNo": "PayoutOrderExample",
"tradeNo": "TF2501010001VN0000000000000000",
"amount": "30000",
"status": 1,
"errorCode": null,
"errorMessage": null
},
"msg": "success"
}