Skip to main content

6. Transaction Reporting APIs

For reporting and reconciliation of the transactions which are processed through NPI, the following APIs will be provided. These APIs will also require the access token to access the resources and the token generation process will be same as for the transaction processing.

6.1 Based on transactions date:

These APIs provide the list of transaction details based on the provided date range:

MethodEnd-PointsAuthorizationContent-Type
POST(BASE_URL)+/api/getcipstxnlistbydateBearer (access_token)application/json
POST(BASE_URL)+/api/getnchlipstxnlistbydateBearer (access_token)application/json

Sample request:


{
"txnDateFrom":"2023-06-01",
"txnDateTo":"2023-06-30"
}

6.2 Based on batch Id:

These APIs provide the transaction details based on the batch id

MethodEnd-PointsAuthorizationContent-Type
POST(BASE_URL)+/api/getcipstxnlistbybatchidBearer (access_token)application/json
POST(BASE_URL)+/api/getnchlipstxnlistbybatchidBearer (access_token)application/json

Sample request:

{
"batchId":"123456"
}

6.3 Based on Instruction Id:

These APIs provide the transaction details based on the instruction id and batch id.

MethodEnd-PointsAuthorizationContent-Type
POST(BASE_URL)+/api/getcipstxnbyinstructionid (BASE_URL)+/api/getnchlipstxnlistbyinstructionidBearer (access_token)application/json

Sample request:

{
"batchId":"remitnonreal7",
"instructionId":"remitnonreal1-7"
}

6.4 Sample Transaction Report Response:

Below are the sample transaction responses generated using instruction id for both CIPS and NCHLIPS.

6.4.1 Response Parameters for Real-Time transactions:

Batch Details:

IDField NameData TypeLengthDescriptionPresence
1idInteger-Unique Identification for the batch generated in NCHL side.Y
2batchIdString20Unique Identification for the batch sent by the NPI member used for reconciliation.Y
3recDateDate-Date (YYYY-MM-DD)
4isoTxnIdInteger-CBS ISO reference id.Y
5batchAmountBigDecimal14,2The total sum up amount of all the transactions in the batchY
6batchCountInteger-Total transactions in the batch.Y
7batchChargeAmountBigDecimal12,2Total charge to be paid for the transaction.Y
8batchCrncyString3Currency of the transaction. E.g. NPRY
9categoryPurposeString4Purpose of the transaction. E.g. RTPS, ECPGY
10debtorAgentString4Debtor agent code in NCHL systems.Y
11debtorBranchString4Debtor branch where the transactions initiating party account is held.Y
12debtorNameString140Transaction initiation party account name.Y
13debtorAccountString20Transaction initiation party account number.Y
14debtorIdTypeString4Transaction initiation party private id type for ex. Citizenship, pan no, passport etc.O
15debtorIdValueString20Transactions initiation party identification number for ex. Passport number, pan no. etc.O
16debtorAddressString490Transactions initiation party postal addressO
17debtorPhoneString20Transactions initiation party debtor phone number (country code)(area code)(Phone Number) O
18debtorMobileString20Transactions initiation party mobile number (country code)(area code)(Phone Number) O
19debtorEmailString50Debtor’s email address.O
20chhanelIdString10Specification of the channel used to perform the transaction; Technical member (TECHM), Web Fund Transfer (WEBFT) etc.Y
21debitStatusString10Response code received from debtor agent’s CBSY
22debitReasonCodeString10Response code returned from debtor bank.Y
23ipsBatchIdString13-NAY
24fileNameString100-NAO
25rcreTimeDate-Date with timestamp.Y
26rcreUserIdString50connectIPS userIdY
27sessionSrlNoInteger-CIPS session Id.Y
28settlementDateDate-Transaction settlement date.O
29debitReasonDesc String200Debit description. (If debit status is 000, debitReasonDesc is SUCCESS, if timeout 999, then TIMEOUT, PLEASE CONFIRM WITH BANK BEFORE RE-POSTING and so on.) Y
30txnResponse String335Transaction reference number returned by debtor bank.Y

Transaction Details:

IDField NameData TypeLengthDescriptionPresence
1idInteger-Unique Identification for the transaction generated in NCHL sideY
2batchIdString20Unique Identification for the batch generated in NCHL sideY
3isoTxnIdInteger-CBS ISO reference id.O
4recDateDate-Date (YYYY-MM-DD)Y
5instructionIdString30Unique identification for the transaction sent by NPI member for the reconciliation purpose.Y
6endToEndIdString30Field used for end to end reconciliation.Y
7amountBigDecimal13,2The amount to be transferred through this transaction.Y
8chargeAmountBigDecimal12,2Total charge to be paid for the transaction.Y
9chargeLiabilityString2Charge bearing party.O
10purposeString4Purpose of the transaction. E.g. RTPS, ECPGO
11merchantIdInteger-Merchant ID is a unique identifier to identify merchant in the system.O
12appIdString15Unique identification, which will be used to identify the account details of the merchant’s application. A merchant can have multiple applications based on different banks account used for various shopping sites. Application Id will be provided by NCHL after registration.
13appTxnIdString20Same as transaction id for fund transfer.O
14creditorAgentString4Creditor bank code in NCHL systems.Y
15creditorBranchString4Creditor branch where the receiving party account is held.Y
16creditorNameString140Receiving party Account name.Y
17creditorAccountString20Receiving party account number.Y
18creditorIdTypeString4Receiving party private identification type for ex. Citizenship, pan no, passport etc.O
19creditorIdValueString20Receiving party identification value.O
20creditorAddressString490Receiving party postal address.O
21creditorPhoneString20Receiving party phone number in the format (country code)(area code)(Phone Number)O
22creditorMobileString20Receiving party mobile number in the format (country code)(area code)(Phone Number)O
23creditorEmailString50Receiving party valid email address.O
24addenda1Integer15Information that is used to provide extra information about the transaction. The value can be set as mandatory as per configuration of category purpose.O
25addenda2Date-O
26addenda3String35O
27addenda4String35O
28creditStatusString10Response code received from creditor agent’s CBSY
29reasonCodeString10Creditor status reason codeO
30reversalStatusString20Transaction reversal status in case debit success and credit failed.C
31refIdString100Payment DescriptionO
32remarksString50Payment DescriptionO
33particularsString100Same as instruction idO
34freeCode1String20Extra information that can be append to the transactions to be more specific about the purpose of transactions for reconciliation purpose. These fields will significant only up to the initiating party bank and will not be routed to the beneficiary bank. (Contains Remittance information)O
35freeCode2String20O
36freeText1String100
37freeText2String100Remitter NameY
38freeText3String250Country of OriginY
39freeText4String250Remitter AddressO
40freeText5String250Purpose of Transaction.Y
41freeText6String250Remit Company NameY
42freeText7String250
43beneficiaryIdString50-O
44beneficiaryNameString100Transaction receiving partyO
45ipsBatchIdInteger-NAO
46rcreUserIdString50Transaction creation userIdO
47rcreTimeDate-Date with timestamp.Y
48reasonDescString200Credit description. (If credit status is 000, reasonDesc is SUCCESS, if timeout 999, then TIMEOUT, PLEASE CONFIRM WITH BANK BEFORE RE-POSTING and so on.)
49txnResponseString335Transaction reference received from the creditor bank.O
50isoTxnIdInteger-CBS ISO reference id.O
51orignBranchIdString4Original branch id of the credit account.Y

6.4.2 Response Parameters for Non-Real time transactions

Batch Details:

IDField NameData TypeLengthDescriptionPresence
1idInteger-Unique Identification for the batch generated in NCHL side.Y
2batchIdString20Unique Identification for batch sent by NPI member for reconciliation.Y
3recDateDate-Date (YYYY-MM-DD)
4isoTxnIdInteger-CBS ISO reference id.O
5batchAmountBigDecimal14,2The total sums up amount of all the transactions in the batch.Y
6batchCountInteger-Total transactions in the batch.Y
7batchChargeAmountBigDecimal12,2Total charge to be paid for the transaction.Y
8batchCrncyString3Currency of the transaction. E.g. NPR.Y
9categoryPurposeString4Purpose of the transaction as available in NCHL-IPS system.Y
10debtorAgentString4Debtor agent code in NCHL systems.Y
11debtorBranchString4Debtor branch where the transactions initiating party account is held.Y
12debtorNameString140Transaction initiation party account name.Y
13debtorAccountString20Transaction initiation party account number.Y
19debtorIdTypeString4Transaction initiation party private id type for ex. Citizenship, pan no, passport etc.O
20debtorIdValueString20Transactions initiation party identification number for ex. Passport number, pan no. etc.O
21debtorAddressString490Transactions initiation party postal address.O
22debtorPhoneString20Transactions initiation party debtor phone number +<country code>-<area code><Phone Number>O
23debtorMobileString20Transactions initiation party mobile number +<country code>-<area code>-<Phone Number>O
24debtorEmailString50Debtor’s email address.O
25chhanelIdString10Specification of the channel used to perform the transaction; Technical member (TECHM), Web Fund Transfer (WEBFT) etc.O
26debitStatusString10Response code for debit leg of the transaction.Y
27debitReasonCodeString10Response code returned by the debtor agent for debit leg of the transaction.O
28ipsBatchIdString13Unique ACH batch id generated by NCHL for ACH routing.Y
29fileNameString100ACH routing file name.O
30rcreTimeDate-Date with timestamp.O
31rcreUserIdString50Transaction creation id.O
32sessionSeqString20ACH session sequence number.Y
33settlementDateDate-ACH transaction settlement date.Y
34debitReasonDescString200Debit description. (If debit status is 000, debitReasonDesc is SUCCESS, if timeout 999, then TIMEOUT, PLEASE CONFIRM WITH BANK BEFORE REPOSTING and so on.)Y
35txnResponseString335Reference number returned by debtor bank.O

Transaction Details:

IDField NameData TypeLengthDescriptionPresence
1idInteger-Unique Identification for the transaction generated in NCHL side.Y
2batchIdString20Unique Identification for the batch generated by NCHL for reconciliation.Y
3isoTxnIdInteger-CBS ISO reference id.O
4recDateDate-Date (YYYY-MM-DD)Y
5instructionIdString30Unique identification for the transaction sent by NPI member for reconciliation purpose later.Y
6endToEndIdString30Value sent by NPI member for end to end recompilation.Y
7amountBigDecimal13,2The amount to be transferred through this transaction.Y
8chargeAmountBigDecimal12,2Total charge to be paid for the transaction.Y
9chargeLiabilityString2Charge bearing party.Y
10purposeString4Purpose of the transaction.O
11merchantIdInteger-Merchant ID is and unique identifier to identify merchant in the system. Merchant ID will be provided by NCHL upon registering merchant for connectIPS Core Module on banks’ request.O
12appIdString15Unique identification, which will be used to identify the account details of the merchant’s application. A merchant can have multiple applications based on different banks account used for various shopping sites. Application Id will be provided by NCHL after registration.O
13appTxnIdString20-NAO
14creditorAgentString4Creditor agent code in NCHL systems.Y
15creditorBranchString4Creditor agent branch where the receiving party account is held.Y
16creditorNameString140Receiving party Account name.Y
17creditorAccountString20Receiving party account number.Y
18creditorIdTypeString4Receiving party private identification type for ex. Citizenship, pan no, passport etc.O
19creditorIdValueString20Receiving party identification value.O
20creditorAddressString490Receiving party postal address.O
21creditorPhoneString20Receiving party phone number in the format +<country code>-<area code><Phone Number>O
22creditorMobileString20Receiving party mobile number in the format +<country code>-<area code><Phone Number>O
23creditorEmailString50Receiving party valid email address.O
24addenda1Integer15Information that is used to provide the extra information about the transaction. The value can be set as mandatory as per configuration of category purpose.O
25addenda2Date-O
26addenda3String35Purpose of Txn.Y
27addenda4String35Country of Origin.Y
28creditStatusString10ACH settlement code (ENTR, GEN, SENT, ACTC, ACSP, ACSC/ RJCT).Y
29reasonCodeString10Reason code in case credit leg is rejected.O
30reversalStatusString20Reversal status in case debit success and credit leg failed.C
31refIdString100Payment description.O
32remarksString50Payment description.O
33particularsString100Instruction id.O
34freeCode1String20Extra information that can be appended to the transactions to be more specific about the purpose of transactions for reconciliation purpose. These fields will significant only up to the initiating party bank and will not be routed to the beneficiary bank.O
35freeCode2String20O
36freeText1String100O
37freeText2String100Remitter Name.Y
38freeText3String100Remit Company Name.Y
39freeText4String100Remitter Name/Debtor Account Name.Y
40freeText5String100Address (Optional).Y
41beneficiaryIdString50-NA.O
42beneficiaryNameString100Transaction receiving party.O
43ipsBatchIdInteger-Unique batch id generated by NCHL for ACH routing.Y
44rcreUserIdString50Transaction creation idO
45rcreTimeDate-Date with timestamp.O
46ipsTxnIdString16Unique transaction id generated by NCHL for ACH routing.Y
47reasonDescString200Credit description. (If credit status is ACSC, reasonDesc is Empty, if RJCT, reasonDesc is “Account does not exist” or some other reason.)Y
48txnResponseString335Transaction reference returned by creditor bank.O