Skip to content

Create Payout

Request URL

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

Header Information

Header ParameterDescription
timestampRequest timestamp
nonceRandom value
countryCountry code (KH)
app_codeApplication ID

Request Parameters

FieldTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
amountStringyes20Payout amount in Cambodian riel (KHR); integers only
bankCodeStringyes50Bank code
bankNameStringyes50Bank name
accountTypeIntyesPayout method: 2002-BankTransfer (BAKONG)
bankAccountStringyes50Recipient account information, up to 50 characters
realNameStringyes255Recipient name
phoneStringyes50Phone number: 8-9 digits without country code;
emailStringyes64User email address
idCardNumberStringyes50Userโ€™s platform identity reference; strictly validated during KYC
idTypeStringyes32ID type: NONE_KYC ใ€KYC
callbackUrlStringno200Payout callback URL; merchant configuration is used when omitted
signStringyesSignature
Request Example
{
"merchantOrderNo": "OrderNoExample",
"amount": "10000",
"bankCode": "0001",
"bankName": "ABA Bank",
"accountType": 2002,
"bankAccount": "BankAccountExample",
"realName": "TeemoPay",
"phone": "12345678",
"email": "TeemoPay@example.com",
"idCardNumber": "UserReferenceExample",
"idType": "NONE_KYC",
"callbackUrl": "https://www.callbackexample.com",
"sign": "YOUR_SIGN"
}

Response Parameters

FieldTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
tradeNoStringyesPlatform order number
amountStringyesTransaction amount
statusIntyesPayout status: 2-Success, 3-Failed
errorCodenumberyesOrder failure status error code
errorMessageStringyesOrder failure error message; see the description below
completeTimeStringyesCompletion time in local timezone, format: yyyy-MM-dd HH:mm:ss
Success Example
{
"code": 200,
"data": {
"merchantOrderNo": "OrderNoExample",
"tradeNo": "TF2509080002KH00006005824Example",
"amount": "10000",
"status": 1
},
"msg": "success",
"traceId": "b6182161c5124d7bb18a132b3b5eab9e.88.17858360003880005"
}

Error Codes

Error CodeError MessageHandling Solution
412Please try again laterPlease try again later
414*Correct the corresponding parameter
417Merchant account not foundContact us to check the merchant account
425Insufficient merchant balanceTop up the merchant account balance
426merchant order duplicateUse a different merchant order number
427The callback notification address for collection must not be empty.Configure the payout callback URL
432*Check the account, bank, and payout method
455The account type error.Check and correct the account type
462This request failed due to blacklist blockingChange the relevant parameters and retry
473Merchant joint verification error: *Contact us to check the merchant configuration
475The id card type is errorCheck and correct the ID type
476The id card number is errorCheck and correct the ID number
500Business ErrorPlease contact us
Error Response Example
{
"code": 425,
"data": null,
"msg": "Insufficient merchant balance",
"traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298"
}