Transaction History
This service will fetch the details of transaction made on the prepaid card.
Request parameters:
Node |
Child Node |
Type |
Max |
Description |
Remarks |
header |
msg_id |
String |
12 |
Unique Source Message ID |
Mandatory |
msg_type |
String |
12 |
Request Type Default: "ENQUIRY" |
Mandatory |
|
msg_function |
String |
50 |
unction name to be used Default: "REQ_TRANSACTION_HISTORY" |
Mandatory |
|
src_application |
String |
5 |
Source requesting channel e.g. |
Mandatory |
|
target_application |
String |
10 |
Target application name Ex. : "PCMS" |
Mandatory |
|
timestamp |
String |
30 |
Timestamp of the request Format “DD/MM/YYYY HH:MM:SS” |
Mandatory |
|
tracking_id |
String |
15 |
Transaction Tracking ID |
Mandatory |
|
bank_id |
String |
4 |
Source Bank Id e.g. “XXXX” |
Mandatory |
|
instance_id |
String |
10 |
N/A |
Optional |
|
body |
card_no |
String |
|
14/16-digit card no e.g: XXXXXXXXXXXX0833 First 6 digits will be BIN for PCMS cards |
Mandatory |
from_date |
String |
8 |
Format - YYYYMMDD Start Range for Transaction Acquiring Date |
Optional |
|
to_date |
String |
8 |
Format - YYYYMMDD End Range for Transaction Acquiring Date |
Optional |
|
is_financial |
String |
Sample: ‘Y’- for fetching financial transactions, ‘N’ –for fetching Non-Financial Transaction and ‘A’- for fetching ALL Transactions |
Optional |
||
is_posted |
String |
Sample: 0 – List both Authorize & Posted Transactions 1 – List only Posted Transaction 2 – List only Authorized Transactions |
Optional |
||
output_type |
String |
Sample: 0 – Card number Transaction Only 1 – Wallet ID Transactions |
Optional |
||
sort_order |
String |
01 – Ascending Order, 02 – Descending Order. |
Optional |
||
top_n |
String |
Specifies the top N transactions to be returned. 0 specifies all transactions in the range. If N is greater than the number of records that lie in the range, the actual number of records will be returned. For instance, if a request is made with Top N parameter set to 5 and the actual number of results lying in the range are 3, then 3 records will be returned. |
Optional |
||
trans_channel |
String |
0000 – For all channels. Xxxx – For specific channel on which records should be filtered. |
Optional |
Request Json
{
"NISrvRequest":{
"request_transaction_history":{
"header":{
"msg_id":"132001",
"msg_type":"Enquiry",
"msg_function":"REQ_TRANSACTION_HISTORY",
"src_application":"MOBAPP",
"target_application":"PCMS",
"timestamp":"2021-09-03T13:55:20.488+04:00",
"tracking_id":"132001",
"bank_id":"XXXX"
},
"body":{
"card_no":"XXXXXXXXXXXXXXXX",
"from_date":"20200201",
"to_date":"20200228",
"is_financial":"A",
"is_posted":"0",
"output_type":null,
"sort_order":"01",
"top_n":"10",
"transaction_channel":"0000"
}
}
}
}
Response parameters:
Node |
Child Node |
Type |
Max |
Description |
Remarks |
|
header |
msg_id |
String |
12 |
The msg_id sent in the request will be sent back in response in this field. Unique Source Message ID e.g. “adfasf123456” |
Mandatory |
|
msg_type |
String |
12 |
Request Type |
Mandatory |
||
msg_function |
String |
50 |
Function name to be used |
Mandatory |
||
src_application |
String |
5 |
The src_application sent in the request will be sent back in response in this field. Source requesting channel e.g. “AWB” |
Mandatory |
||
target_application |
String |
10 |
The target_application sent in the request will be sent back in response in this field. |
Mandatory |
||
timestamp |
String |
30 |
Timestamp of the response Date & time. Format “DD/MM/YYYY HH:MM:SS” |
Mandatory |
||
tracking_id |
String |
15 |
The tracking_id sent in the request will be sent back in response in this field. |
Mandatory |
||
bank_id |
String |
4 |
The bank_id sent in the request will be sent back in response in this field. E.g. ‘XXXX |
Mandatory |
||
instance_id |
String |
10 |
N/A |
Optional |
||
exception_details |
application_name |
String |
20 |
Tibco Application Name |
Mandatory |
|
date_time |
String |
30 |
Timestamp of the response Format “DD/MM/YYYY HH:MM:SS” |
Mandatory |
||
status |
String |
1 |
Status of the request (S/F) Success- S, Failure - F |
Mandatory |
||
error_code |
String |
4 |
EAI Internal Error Code (Check error codes section for the complete list of error codes and error code descriptions) |
Mandatory |
||
error_description |
String |
100 |
Error Description (Check error codes section for the complete list of error codes and error code descriptions) |
Mandatory |
||
transaction_ref_id |
String |
20 |
The tracking_id sent in the request will be sent back in response in this field. |
Optional |
||
body |
transaction_details |
Repeatable zero or more times based on the transaction history |
||||
card_no |
String |
Card Number of the Customer |
Optional |
|||
expiry_date |
String |
Expiry Date of Card YYMM Sample: 2002 |
Optional |
|||
wallet_id |
String |
Unique Wallet ID Assigned to Customer Sample: 45219087663452190549 |
Optional |
|||
transaction_code |
String |
Refer to Appendix A |
Optional |
|||
source_channel_type |
String |
Fixed Set of Value: 0132 - CDM |
Optional |
|||
wallet_balance |
String |
Current Balance of Wallet Sample: |
Optional |
|||
transaction_local_date |
String |
Format- YYYYMMDD Transaction Acquiring Date Sample: 20091218 |
Optional |
|||
transaction_local_time |
String |
Format- HHMMSS Transaction Acquiring Time Sample: 163755 |
Optional |
|||
posting_date |
String |
Format- YYYYMMDD Posting Date Sample: 20091218 |
Optional |
|||
retrieval_reference_number |
String |
Unique number for a transaction within a day Sample: 909906000435 |
Optional |
|||
transaction_amount |
String |
Amount of Transaction. If a transaction is Posted the Posted Amount will be shown Sample: |
Optional |
|||
transaction_currency |
String |
3- digit currency Code |
Optional |
|||
transaction_narration |
String |
Narration for Transaction |
Optional |
|||
auth_id_response_code |
String |
Authorization Code of Transaction Sample: 190990 |
Optional |
|||
billing_amount |
String |
Billing Amount of Transaction. Sample: +00012000000 |
Optional |
|||
billing_currency |
String |
3- digit currency Code |
Optional |
|||
settlement_type |
String |
Type of Settlement. Debit or Credit Fixed Set of Values : D – Debit C - Credit |
Optional |
|||
merchant_name_location |
String |
Name and Location of Merchant in case of POS Transactions. |
Optional |
Response Json
{
"NISrvResponse":{
"response_transaction_history":{
"header":{
"msg_id":"132001",
"msg_type":"ENQUIRY",
"msg_function":"REP_TRANSACTION_HISTORY",
"src_application":"MOBAPP",
"target_application":"PCMS",
"timestamp":"2021-09-03T13:55:26.448+04:00",
"tracking_id":"132001",
"bank_id":"XXXX"
},
"exception_details":{
"application_name":"NITIB_TCC_BRK_XXX",
"date_time":"2021-09-03T13:55:26.448+04:00",
"status":"S",
"error_code":"000",
"error_description":"Success"
},
"body":{
"transaction_details":[
{
"card_no":"XXXXXXXXXXXXXXXX",
"expiry_date":"2504",
"wallet_id":"45936000004",
"transaction_code":"010",
"source_channel_type":"0001",
"wallet_balance":"+00000020000",
"transaction_local_date":"20200507",
"transaction_local_time":"055727",
"posting_date":"20200225",
"retrieval_reference_number":"000000002300",
"transaction_amount":"+00000020000",
"transaction_currency":"USD",
"transaction_narration":"Withdrawal CPLUS",
"auth_id_response_code":"642029",
"billing_amount":"+00000020000",
"billing_currency":"USD",
"settlement_type":"D",
"merchant_name_location":"102504820000000 Koforidua 000288Goil stat,Opp Vodaphone Koforidua 00120200317MSCC ZENG 2330000000000000"
},
{
"card_no":" XXXXXXXXXXXXXXXX",
"expiry_date":"2504",
"wallet_id":"45936000004",
"transaction_code":"010",
"source_channel_type":"0001",
"wallet_balance":"+00000020000",
"transaction_local_date":"20200507",
"transaction_local_time":"055727",
"posting_date":null,
"retrieval_reference_number":"000000002300",
"transaction_amount":"+00000020000",
"transaction_currency":"USD",
"transaction_narration":"Cash Deposit Fee on BRN",
"auth_id_response_code":"642029",
"billing_amount":"+00000020000",
"billing_currency":"USD",
"settlement_type":"D",
"merchant_name_location":"102504820000000 Koforidua 000288Goil stat,Opp Vodaphone Koforidua 00120200317MSCC ZENG 2330000000000000"
},
{
"card_no":" XXXXXXXXXXXXXXXX",
"expiry_date":"2504",
"wallet_id":"45936000004",
"transaction_code":"010",
"source_channel_type":"0001",
"wallet_balance":"948.00",
"transaction_local_date":"20200507",
"transaction_local_time":"055758",
"posting_date":null,
"retrieval_reference_number":"000000002302",
"transaction_amount":"10.00",
"transaction_currency":"936",
"transaction_narration":"Withdrawal CPLUS",
"auth_id_response_code":"642030",
"billing_amount":"+00000020000",
"billing_currency":"USD",
"settlement_type":"D",
"merchant_name_location":"102504820000000 Koforidua 000288Goil stat,Opp Vodaphone Koforidua 00120200317MSCC ZENG 2330000000000000"
},
{
"card_no":" XXXXXXXXXXXXXXXX",
"expiry_date":"2504",
"wallet_id":"45936000004",
"transaction_code":"010",
"source_channel_type":"0001",
"wallet_balance":"+00000020000",
"transaction_local_date":"20200507",
"transaction_local_time":"055758",
"posting_date":null,
"retrieval_reference_number":"000000002302",
"transaction_amount":"+00000020000",
"transaction_currency":"USD",
"transaction_narration":"Cash Deposit Fee on BRN",
"auth_id_response_code":"642030",
"billing_amount":"10.00",
"billing_currency":"936",
"settlement_type":"D",
"merchant_name_location":"102504820000000 Koforidua 000288Goil stat,Opp Vodaphone Koforidua 00120200317MSCC ZENG 2330000000000000"
},
{
"card_no":" XXXXXXXXXXXXXXXX",
"expiry_date":"2504",
"wallet_id":"45936000004",
"transaction_code":"010",
"source_channel_type":"0001",
"wallet_balance":"+00000020000",
"transaction_local_date":"20200510",
"transaction_local_time":"013632",
"posting_date":null,
"retrieval_reference_number":"000000002303",
"transaction_amount":"+00000020000",
"transaction_currency":"USD",
"transaction_narration":"Withdrawal CPLUS",
"auth_id_response_code":"642048",
"billing_amount":"10.00",
"billing_currency":"936",
"settlement_type":"D",
"merchant_name_location":"102504820000000 Koforidua 000288Goil stat,Opp Vodaphone Koforidua 00120200317MSCC ZENG 2330000000000000"
},
{
"card_no":" XXXXXXXXXXXXXXXX",
"expiry_date":"2504",
"wallet_id":"45936000004",
"transaction_code":"010",
"source_channel_type":"0001",
"wallet_balance":"+00000020000",
"transaction_local_date":"20200510",
"transaction_local_time":"013632",
"posting_date":null,
"retrieval_reference_number":"000000002303",
"transaction_amount":"+00000020000",
"transaction_currency":"USD",
"transaction_narration":"Cash Deposit Fee on BRN",
"auth_id_response_code":"642048",
"billing_amount":"10.00",
"billing_currency":"936",
"settlement_type":"D",
"merchant_name_location":"102504820000000 Koforidua 000288Goil stat,Opp Vodaphone Koforidua 00120200317MSCC ZENG 2330000000000000"
}
]
}
}
}
}
Docs Navigation
- API Security
- Falcon Services
- Card Services
- BETA
- Version 1.0
- Card Balance Enquiry
- Card Activation
- Card Set Pin
- Card Change PIN
- Card PIN Verification
- Card Status Update
- Card Limit Update
- Card Details
- Customer Details
- List Of Cards
- Customer Demographic Update
- Card Used Limits
- Card Statement Summary
- Card Transaction
- Utility Payments
- Account Create
- Account Update
- Account Closure
- Card Create
- Card Update
- Card Replacement
- Client Create
- Client Update
- Transaction Details
- PIN Retries Counter Reset
- Digital Status Chnage
- Get CVV2 Service
- Card Link Delink
- Card Insurance Products
- Card Change Insurance Product Status
- Card Direct Debit
- Update Card Direct Debit
- Card Balance Conversion Enquiry
- Card Balance Conversion
- Card Transaction Eligibility
- Card Transaction EPP Conversion
- Card Replacement Embossing
- Card NMON Transactions
- Retail Banking Transactions
- Appendix 1
- Appendix 2
- Appendix 3
- Appendix 4
- HTTP Codes
- Error Codes
- Version 2.0
- Lookup Card Identifier
- List Of Cards
- Card Activation
- Card Set PIN
- Card Change PIN
- Card Status Update
- Client Create
- Account Create
- Card Create
- Customer Demographic Update
- Account Update
- Card Update
- Card Replacement
- Customer Details
- Card Details
- Client Update
- Card Balance Enquiry
- Card Transaction
- Card Limit Update
- Card PIN Verification
- PIN Retried Counter Reset
- Get CVV2 Service
- Card Verification
- Card Transaction Details
- Get Encryption Certificate
- Get Dictionaries MCC
- Get Account Balance
- Card Insurance Product
- Card Insurance Product Update
- Card Direct Debit Update
- Card Direct Debit
- P2P Transfer
- Account Transaction
- Account Status Change
- Card Statement Summary
- Account Transaction Details
- Card Contact Details
- List of Accounts
- Account Hierarchy
- Notification Service
- Appendix 1
- Appendix 2
- Appendix 3
- Appendix 4
- HTTP Codes
- Error Codes
- Buy Now Pay Later
- Card Limits
- Insurance Services
- Webhook Services
- Switch Services
- Card Control Services
- Merchant Digital Onboarding
- Notification Service
- SMS Security Services
- Terms and Condition
0 Comments
Please sign in to post a comment.