v1
latestOpenAPI 3.1.02026-07-2418201.6 MBGet Balance
This API lets the platform fetch the current balance of a virtual account.
Query parameters
A unique identifier assigned to client's by Decentro during On boarding.
The virtual account number for which the balance needs to be fetched.
The suffix part of the VA that uniquely identifies each VA. It can be from 6 -10 digit. Eg: va_suffix will be 000001 for virtual account number 46525000001
Unique customer identifier that is mapped against the virtual account.
Pass this flag as true/false depending on whether you want to fetch the balance of a child consumer.
Provider code of the bank with which account is created. For example, provider_code: YESB
Pass the flag as true/false depending on whether you want to fetch the compliance balance of the consumer
Headers
Decentro assigned client_id during onboarding.
Decentro assigned client_secret during onboarding.
Request body
Response
200
Example response
{
"decentro_txn_id": "A49B664CC3F44CB2A1A0A6FC513BFAC1",
"api_status": "SUCCESS",
"message": "Successfully fetched the balance.",
"data": {
"account_balance": {
"account_number": "4625250067981922",
"account_type": "VIRTUAL"
}
}
}