Skip to main content

Account Inquiry

Validates bank account number before making a transfer. Must be called before the transfer endpoint to ensure account details are correct.

Endpoint

POST /api/v1/disbursement/account-inquiry

Request Body

ParameterTypeRequiredDescription
merchantTrxIdstringYesUnique transaction ID from merchant
accountNostringYesDestination account number
bankCodestringYesBank code (e.g., BNI, BCA, BRI)
amountnumberYesTransfer amount (in Rupiah)

Bank Code Reference

See the complete bank/e-wallet code list on the Bank List page.

Example Request

{
"merchantTrxId": "{{requestId}}",
"accountNo": "123456789",
"bankCode": "BNI",
"amount": 10000
}

Success Response

{
"logId": "ldTAIkiZwBDblWyCN8OE",
"status": true,
"message": "Inquiry success",
"data": {
"merchantTrxId": "2026012504373574936905643",
"platformTrxId": "2026012421374086207",
"accountNo": "123456789",
"accountName": "Brianne Hyatt",
"bankCode": "BNI",
"amount": 10000,
"fee": {
"amount": 1500,
"percentage": 0,
"fixed": 1500
},
"totalAmount": 11500
}
}

Response Fields

FieldDescription
merchantTrxIdMerchant transaction ID
platformTrxIdKingsPay platform transaction ID
accountNoAccount number
accountNameAccount holder name (must match when transferring)
bankCodeBank code
amountAmount to be transferred
fee.amountDisbursement fee charged to the merchant
fee.percentageAlways 0 — disbursement fee is a flat amount per transaction
fee.fixedMerchant fixed fee component
totalAmountTotal debited from the merchant balance (amount + fee.amount)
Required Balance

The disbursement fee is added on top of amount, not deducted from it. Make sure the merchant balance covers totalAmount, not just amount.

Disbursement Flow
  1. Call Account Inquiry to validate the account and get accountName and platformTrxId
  2. Use that data to call Transfer with the same accountName and platformTrxId