DLR Sample
Content-Type: multipart/form-data
{
"reference": "Unique id sent by you",
"amount": "amount",
"status": "status",
"detail": "detail regarding the service",
"response_id": "response id from ntc/ncell or other provider"
}
NOTE ON FIELD VALIDATION : Enforce a length of 50 alphanumeric characters as a default validation unless explicitly mentioned.
Service Layer State
HTTP Response Code |
Status |
act |
Remarks |
200 |
Success |
Check state in response data and proceed based on state |
Check state in response data and proceed based on state |
400 |
Error |
Hold |
Need to check the transaction state to proceed. |
404 |
Error |
Refund |
Service not found |
>= 500 |
Server error |
Hold |
Server is failed to provide the response Third Party should hold the transaction and call lookup api after at least 5 mins to get transaction status to proceed further |
Other any status code or No status code received |
Timeout |
Hold |
Server is failed to provide the response Third Party should hold the transaction and call lookup api after at least 5 mins to get transaction status to proceed further |
State |
Act |
Description |
Success |
Process |
Transaction Successful. Deduct Client amount |
Queued |
Hold |
Transaction in pending state. Third Party should hold the transaction and call lookup api after at least after 5 mins to get transaction status to proceed further |
Processing |
Hold |
Transaction in pending state. Third Party should hold the transaction and call lookup api after atleast 5 mins to get transaction status to proceed further |
Expired |
Refund |
Transaction not possible. Refund client amount |
Error |
Refund |
Transaction error. Refund Client amount |
Failed |
Refund |
Transaction Error. Refund Client amount. |
Any other state or no state received |
Hold |
Server is failed the provide the response Third Party should hold the transaction and call lookup api after atleast 5 mins to get transaction status to proceed further |
Timeout |
Hold |
Third Party should hold the transaction and call lookup api after atleast 5 mins to get transaction status to proceed further |