Information v2

Decentro provides capabilities to fetch details about the virtual accounts created by the platform. Below are the capabilities supported by Decentro.

  • Fetch all the virtual accounts created for your customers/partners/businesses from your platform.
  • Extract the relevant account details like the linked UPI ID, QR code, permissible transaction types, etc.
  • Fetch the latest balance and statement of the virtual accounts.
  • Fetch the consolidated statement containing details of all the accounts for a combination of company and provider.

Get Balance

Used to retrieve the latest balance in the created virtual account.

curl --location --request GET 'https://in.staging.decentro.tech/v2/banking/account/XXXXXXXXXXXXXXXXXX/balance' \
--header 'client_id: <YOUR_CLIENT_ID>' \
--header 'client_secret: <YOUR_CLIENT_SECRET>' \
--header 'module_secret: <YOUR_CORE_BANKING_MODULE_SECRET>' \
--header 'provider_secret: <YOUR_CHOSEN_PROVIDER_SECRET>' \
--data-raw ''
{
  "decentroTxnId": "<decentroTxnId>",
  "status": "SUCCESS",
  "responseCode": "S00000",
  "message": "Balance retrieved successfully",
  "data": {
    "accountNumber": "XXXXXXXXXXXXXXXXXX",
    "presentBalance": 77.86
  }
}

Did this page help you?