get https://demo.onefin.in/api/v1/nach/enach/{enach_id}/status/
You can query the registration status of ENach using the below API:
GET /api/v1/nach/enach/<enach_id>/status/
A sample response is given below:
{
"is_success": true,
"data": {
"umrn": "<registered UMRN number>",
"status": "<initiated/registered/failed/expired>",
"enach_id": "<enach id>",
}
}
This API will return the status of the transaction. In case the status is “registered”, the umrn would be returned. The same information is passed via a webhook too, below is the format:
{
"entity": "nach",
"payload": {
"umrn": "<registered UMRN number>",
"status": "<initiated/registered/failed/expired>",
"enach_id": "<uuid of enach>"
},
"event": "enach.status_update",
"id": "<webhook id>",
"created_at": "<timestamp when webhook was created>"
}