get deprecatedhttps://staging.api.decentro.tech/v2/payments/enach/bank_support
This API allows the platform to check if a bank is supported on the ENACH stack.
Overview
This API lets a platform check if the ENACH authentication modes support a specific bank before executing the registration flow.
It is recommended that the platform use this API to check if ENACH supports a bank to avoid a poor experience with the registration flow.
Ensure to use only staging credentials.
Flow
Below is the flow for using this API.
- The platform collects the bank where the payer holds a bank account.
- The platform uses the bank code to hit the endpoint to check the status.
- Decentro responds with the authorization modes supported by the bank.
- If the bank doesn't support any mode, the same is relayed to the platform as well
- If the bank is supported, the platform can use the Registration API to initiate the registration flow
Response Parameters
Below are the parameters propagated by Decentro in the response.
Parameters | Description |
---|---|
decentroTxnId | A unique transaction ID from Decentro for the API hit |
status | Status of the API hit |
responseCode | API status response code |
message | API status message. |
debitCard | A boolean value if the bank supports Debit Card based registration flow |
netBanking | A boolean value if the bank supports Netbanking based registration flow |
API Endpoints
Environment | Endpoint |
---|---|
Staging / Sandbox | https://staging.api.decentro.tech/v2/payments/enach/bank_support |
Production | https://api.decentro.tech/v2/payments/enach/bank_support |