post https://in.staging.decentro.tech/v2/banking/account//unlink
Unlink an existing business 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 |
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 |
success_account_unlinked | The said account is successfully unlinked by Decentro for the platform |
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 |
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_invalid_mobile | The passed mobile number is invalid in terms of length or format |
error_missing_configuration | Error due to pending configuration |