Skip to content

Payout Query

Request URL

methodurl
POST/api/pay/payout/query/v1

Header Information

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

Request Parameters

FieldTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
signStringyesSignature
Request Example
{
"merchantOrderNo": "OrderNoExample",
"sign": "YOUR_SIGN"
}

Response Parameters

FieldTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
tradeNoStringyesPlatform order number
amountStringyesPayout amount
statusIntyesPayout status: 2-Success, 3-Failed
serviceAmountStringyesService fee = fixed fee + transaction amount × service fee rate
immServiceStringyesFixed fee
serviceRateStringyesService fee rate
errorCodenumberyesOrder failure status error code
errorMessageStringyesOrder failure error message
completeTimeStringyesCompletion time in local timezone, format: yyyy-MM-dd HH:mm:ss
Response Example
{
"code": 200,
"data": {
"merchantOrderNo": "OrderNoExample",
"tradeNo": "TF2501010001KH0000000000000000",
"amount": "10000.00",
"status": 2,
"serviceAmount": "105.00",
"immService": "5.00",
"serviceRate": "0.0100",
"errorCode": null,
"errorMessage": null,
"completeTime": "2025-01-01 00:00:00"
},
"msg": "success",
"traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298"
}

Error Codes

Error CodeError MessageHandling Solution
412Please try again laterPlease try again later
414*Correct the corresponding parameter
416Application not foundCheck and correct the app_code
417Merchant account not foundContact us to check the merchant account
418Merchant account is closedContact us to check the merchant account
434Merchant order not existCheck the submitted merchant order number
500Business ErrorPlease contact us
Error Response Example
{
"code": 417,
"data": null,
"msg": "Merchant account not found",
"traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298"
}