get https://test.cashfree.com/banking/customers//instruments//statement
Use this API to view the statement or transactions of the issued card.
Click to view the response codes.
Response Codes
Sub Code | Status | Message | Action |
---|---|---|---|
200 | OK | - | - |
400 | ERROR | from : invalid value | Enter a valid input in the from parameter. |
400 | ERROR | to : invalid value | Enter a valid input in the to parameter. |
403 | ERROR | failed to authenticate | Ensure the client ID, secret key, and API version are mentioned in the API. |
404 | ERROR | customer with given id not found | Enter a valid input in the customer_id parameter. |
404 | ERROR | instrument with given id not found | Enter a valid input in the instrument_id parameter. |
Click to view the response parameters.
Response Parameters
Parameter | Description |
---|---|
customer_id | It represents the unique ID entered to identify the customer. |
has_more | The value true represents that the customer has more instruments. The value false represents that the customer does not have any more instruments. |
instrument_id | It represents the unique ID entered to identify the prepaid payments instrument(PPI). |
instrument_type | It represents the type of the instrument. It is a hardcoded value - PREPAID_CARD. |
amount | It represents the recharge amount added to the instrument. |
bank_reference_number | It represents the bank reference number for the particular transaction. |
closing_balance | It represents the closing balance of the card or instrument on the day of the particular transaction. |
kit_number | It represents the kit number of the prepaid card created by Cashfree Payments. |
merchant_id | It represents the ID to identify the merchant. |
merchant_name | It represents the name of the merchant. |
transaction_event_type | It represents the type of transaction. CREDIT represents the money received and DEBIT represents the |
transaction_id | It represents the created ID to identify the transaction. |
transaction_status | It represents the status of the transaction. |
transaction_time | It represents the time of the transaction. |
transaction_type | It represents the type of transaction. |