Skip to content

Balance Query

Request URL

methodurl
POST/api/pay/merchant/balance

Header Information

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

Request Parameters

FieldTypeRequiredLengthDescription
signStringyesSignature
Request Example
{
"sign": "YOUR_SIGN"
}

Response Parameters

FieldTypeRequiredLengthDescription
totalAmountStringyesTotal amount
frozenAmountStringyesFrozen amount
availAmountStringyesAvailable amount
Response Example
{
"code": 200,
"data": {
"totalAmount": "120000.00",
"frozenAmount": "20000.00",
"availAmount": "100000.00"
},
"msg": "success",
"traceId": "0801113131dd4951a36d19022a31b303.94.17423567008990449"
}

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
500Business ErrorPlease contact us
Error Response Example
{
"code": 416,
"data": null,
"msg": "Application not found",
"traceId": "0801113131dd4951a36d19022a31b303.94.17423567008990449"
}