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
string

Tokenized card number.

statusEnum
string

Status of the transaction:

  • Pending
  • Succeeded
  • Failed
  • Rejected

fromDate
date/time

The starting date for the report.

toDate
date/time

The ending date for the report.

pageNumber
integer

The current page number determined by the total number of transactions and the number of transactions per page.

pageSize
integer

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
}

Did this page help you?