get https://in.staging.decentro.tech/v2/banking/account//status?mobile=91XXXXXXXX
This API is used to check the status of linkage or unlinking (by the platform or customer) by passing the account number and mobile number which were passed at the time of linking the 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_linkage_active | The said account has been linked with the platform successfully |
success_linkage_inactive | The said account has been unlinked from the platform successfully |
success_approval_pending | The said account is yet to be approved for linkage by the customer |
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 |
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_invalid_mobile | The passed mobile number is invalid in terms of length or format |