Get transactions
GET /api/transaction
Use this call to get transactions. You can add query parameters to narrow down the search results.
A sample request and response is below.
Click here to view the response attributes.
Request URL |
---|
https::// .../api/transaction |
Sample request
curl --location --request GET
'https://pushtopaystaging.crbnj.net/api/transaction'
--header 'Accept: application/json'
--header 'Authorization: Bearer {xxx}'
Query parameters
Parameter | Description |
---|---|
cardToken | Tokenized card number. |
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 response
Click here to view the response attributes.
{
"results": [
{
"transactionRequestId": "00000000-0000-0000-0000-000000000000",
"amount": 0,
"transactionRequestedAt": "2021-01-19T11:08:19.870Z",
"transactionStatus": "Pending",
"errorDescription": "string",
"creditCardId": "string",
"railId": "RS2",
"network": "string",
"retrievalReferenceId": "string",
"actualTransactionDoneAt": "2021-01-19T11:08:19.871Z",
"paymentSent": true,
"requestApproved": true,
"responseReceived": true,
"responseCode": "string",
"responseDescription": "string",
"traceNumber": "string",
"error": "string",
"transactionRequestBatchId": "00000000-0000-0000-0000-000000000000",
"sourceSenderName": "string",
"sourceMcc": "string"
}
],
"pageNumber": 0,
"pageSize": 0,
"hasPreviousPage": true,
"hasNextPage": true
}
Updated over 1 year ago
Did this page help you?