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)

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
}
}

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
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