PAYJN API docs

Query balance

Check your balances in a country before sending payouts.

POST /api-pay/balance/query

Request headers

FieldTypeRequiredDescription
Content-TypeStringYesapplication/json
signStringYesRequest signature. See Authentication.

Request body

FieldTypeRequiredDescription
merchantCodeString(6)YesYour merchant code, issued by PAYJN after onboarding.
countryCodeStringYesCountry code of the market, for example IDN for Indonesia. See the country pages.
{
  "merchantCode": "100001",
  "countryCode": "IDN"
}

Response

FieldTypeDescription
codeInteger200 means the request was accepted. Any other value is an error; see msg.
msgStringError message when code is not 200.
dataObjectResult object, returned when code is 200.
data.withdrawableBalanceStringAmount available for payouts.
data.settlingBalanceStringCollected amount waiting for settlement.
data.frozenBalanceStringAmount currently frozen.

Get API access

Full integration documentation, your API host, merchant code and keys are provided after onboarding. Review is usually completed on the same day, and a test mode is switched on for your account before launch.

Talk to PAYJN

Last updated 29 November 2026 ยท PAYJN local payment APIs for Indonesia, Pakistan, Bangladesh, Vietnam, India and Malaysia