Get push transactions
GET /api/transaction
Use this call to retrieve past push transactions. You can add query parameters to narrow down the search results.
Query parameters
These parameters can be added to your request to narrow down your search results.
Parameter | Description |
---|---|
cardToken | Card token for the signed-up debit card. |
statusEnum | Status of the transaction:
|
fromDate | The starting date for the report. |
toDate | The ending date for the report. |
pageNumber | The current page number determined by the total number of transactions and the number of transactions per page. |
pageSize | Number of transactions to list on a page. |
Sample request GET /api/transaction
curl --location --request GET
'https://pushtopaystaging.crbnj.net/api/transaction'
--header 'Accept: application/json'
--header 'Authorization: Bearer {xxx}'
Response attributes
Attribute | Description |
---|---|
transactionRequestId | Unique customer generated transaction identifier. |
amount | Transaction amount in cents. |
transactionRequestedAt | Date and time the transaction was requested. |
transactionStatus | Status of the transaction:
|
errorDescription | Description of any error that might have occurred. |
creditCardId | Card token of the signed-up debit card. |
railId | The processor used to perform the transaction.
|
network | Card network.
|
retrievalReferenceId | Unique tracking number for this transaction in the processors. |
actualTransactionDoneAt | Actual time the transaction was sent to the processor. |
paymentSent | True if the payment was sent, otherwise false. |
requestApproved | True if the payment passed all the way to the processor successfully, otherwise false. |
responseReceived | True if P2C received a response from the external processor, otherwise false. |
responseCode | An ISO 8583 two-digit code signifying the transaction result. For example, 00 means successful. |
responseDescription | An ISO 8583 string description of the transaction result. For example, Approved. |
traceNumber | Unique number that is assigned to a transaction when it leaves the merchant bank until it arrives at the cardholder bank. |
error | Descriptive error, if relevant. |
transactionRequestBatchId | If a request is part of a batch, this ID shows. |
sourceSenderName | Merchant name. |
*sourceMcc | Merchant Category Code (MCC). |
Sample response GET /api/transaction
{
"results": [
{
"transactionRequestId": "7CE5B6CC-253B-4AB5-B8X9-6E7VE63D7459",
"amount": 0,
"transactionRequestedAt": "2022-01-19T11:08:19.870Z",
"transactionStatus": "Pending",
"errorDescription": "null",
"creditCardId": "<CARD TOKEN>",
"railId": "RS2",
"network": "string",
"retrievalReferenceId": "LAKHG06654SVO75S",
"actualTransactionDoneAt": "2022-01-19T11:08:19.871Z",
"paymentSent": true,
"requestApproved": true,
"responseReceived": true,
"responseCode": "00",
"responseDescription": "approved",
"traceNumber": "lkjaf6vb5a;dftt00z",
"error": "null",
"transactionRequestBatchId": "null",
"sourceSenderName": "Cooks",
"sourceMcc": "7652"
}
],
}
Updated 11 days ago