Skip to main content

6. Handling of Response Codes

Following are the list of response codes used in NPI that could be technical and business. HTTP Reason codes 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>]
}

Response Codes:

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_REQUEST99DUPLICATE BATCH TRANSACTION
HttpStatus.INTERNAL_SERVER_ERRORE999ERROR
Https Status200 OKSuccess
Https Status200 OKE021 Transaction Time Out
Business Validations Codes
Debit Response
Response CodeDescription
000Debit Success
1001Bank network not reachable
999Debit ISO Time Out
1000Debit rejected
ENTRDebit in Progress
Credit Response (POSTCIPS)
000Credit Success
1001Bank network not reachable
1000Credit Rejected as Debit is Rejected
999Credit ISO Time Out
DEFERDeferred Credit Payment/Success
ENTRCredit in Progress
Credit Response (POSTNCHLIPS)
ACTCAccepted Technical Validation
ACSPAccepted Settlement in Process
ACSCAccepted Settlement Completed
RJCTCredit Rejected