get https://in.staging.decentro.tech/v2/payments/enach/mandate/status
This API allows the platform to check the status of a mandate registration using Decentro's ENACH stack.
Overview
Decentro allows the platform to check the status of mandate registration initiated through Registration API. This is in addition to the Registration Status Callback triggered by Decentro when the payer completes the registration authorization.
Flow
Below is the flow for this API.
- The payer is redirected from the link passed in the Registration API.
- Decentro propagates the Decentro transaction ID as part of the response payload.
- After the payer has authorized the request, Decentro triggers the Registration status callback and redirects the payer to the platform's page.
- Alternatively, the platform can check the status using the Registration Status API by passing the Decentro transaction ID passed by Decentro in the response payload.
Decentro propagates the registration status as PENDING if the payer does not complete the authorization or the payer drops off in the journey.
API Endpoints
Below are the API endpoints to be used by the platform basis the environments.
Environment | Endpoint |
---|---|
Staging / Sandbox | https://in.staging.decentro.tech/v2/payments/enach/mandate/status |
Production | https://in.decentro.tech/v2/payments/enach/mandate/status |