get https://in.staging.decentro.tech/v2/banking/account//statement
Fetch statement 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_statement_fetched | The said account's statement 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 is not enabled |
| error_account_inactive | The said account is unlinked through Decentro and hence statement fetch is not possible |
| error_account_not_found | The said combination of mobile number and account number is not found |
| error_missing_configuration | Error due to pending configuration at Decentro's end. Please reach out to [email protected] |
| error_null_or_empty_value | The said account is a joint account and the mobile number is not passed |
| error_internal_error | Error due to something at Decentros' end |
| error_invalid_from_date | The passed From Date is not valid, including being a future date or beyond the range supported |
| error_invalid_to_date | The passed To Date is not valid, including being a future date or beyond the range supported |
| error_invalid_date_range | The passed date range is invalid, including from date being after date beyond the range supported |
