Skip to main content

8.Handling of Response Codes

Following are the list of response codes used in NPI that could be technical and business. HTTP Reason codes OK, FORBIDDEN, BAD REQUEST and INTERNAL SERVER ERROR are exceptional cases which requires the exact technical setups and message structures mentioned in the document. These HTTP statuses contain same response message format as mentioned below with response code. All technically valid messages will be responded with HTTP status OK which has a fixed format and doesn’t change.

Technical Response Format (FORBIDDEN, BAD REQUEST and INTERNAL SERVER ERROR):

{ 
"responseCode":”<Response Code>",
"responseDescription":"<Response Message>",
"fieldErrors":[<Field Error if any>]
}

8.1 Technical Error Codes

HTTP StatusError CodeError Description
HttpStatus.FORBIDDENE001INVALID IP ADDRESS
HttpStatus.BAD_REQUESTE007TECHNICAL VALIDATION FAILED (Batch and Txn Level)
HttpStatus.BAD_REQUESTE003INVALID TOKEN
HttpStatus.BAD_REQUESTE004INVALID ACCOUNT
HttpStatus.BAD_REQUEST099DUPLICATE BATCH TRANSACTION OR
HttpStatus.INTERNAL_SERVER_ERRORE999Technical ERROR
Https Status 200 OK-Success
Https 200 OKE021Transaction Time Out

8.2 RPS Return Reason and Response Codes

Debit Response CodeDebit DescriptionCredit Response CodesCredit Description
000Debit Success
DEFERDeferred credit payment/success
999Credit Time Out. (Considered as credit success in settlement)
ENTRCredit in progress. (Call back API to be used to get final status)
1001Bank’s network not reachable. Subject to debit reversal.
Other CBS Codes (Credit Rejected)Credit Rejected. (Subjected to debit reversal)
NullSuspicious Transaction. Manual verification required
1001Bank Network not reachable1000Credit Rejected As Debit is Rejected
999Debit ISO Time Out. Manual verification required1000Credit Rejected As Debit is Rejected
ENTRDebit In Progress (Call back API to be used to get final status)NullCredit In Progress (Call back API to be used to get final status. Manual verification required)
Other CBS CodesDebit Rejected1000Credit Rejected As Debit is Rejected

Note:

  1. I f Debit status or Credit status is Empty or Null , it should be considered as a suspicious transaction and will require manual reconciliation by the participating memebers.
  2. If a transaction is debit success and credit failed , auto reversal shall be triggered in the RPS system to the debtor account.