get https://in.staging.decentro.tech/v2/banking/account//balance
Fetch balance for the linked account.
Below are the values expected under the responseKey parameter and the scenarios under which Decentro will propagate the same to the platform.
responseKey Value | Scenario |
---|---|
error_invalid_account_details | The details passed for the account are not valid or linked through Decentro |
success_balance_fetched | The said account's balance has been fetched successfully |
error_approval_pending | The said account is not yet linked due to an approval request pending |
error_unsanitized_values | The said request contains values which are not supported |
error_provider_error | Error from the provider if nothing specific is mentioned |
error_unauthorized_module | The said module is not available for the platform to access the APIs |
error_unauthorized_feature | The said feature is not available for the platform for the provider or not enabled |
error_account_not_linked | The said account is not linked with Decentro and hence unlinking is not possible |
error_null_or_empty_value | The said request doesn't have an account number or the field is passed as a null value |
error_account_not_found | The said combination of mobile number and account number is not found |
error_missing_configuration | Error due to pending configuration |
error_null_or_empty_value | The said account is a joint account and the mobile number is not passed |