Get pull transactions

GET /api/PullTransaction

Use this call to get past 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/PullTransaction

Sample request

curl -X GET
'https://pullfromcardapistg.crbnj.net/api/PullTransaction'
--header 'Accept: application/json'
--header 'Authorization: Bearer {xxx}'

Query parameters

Parameter

Description

cardToken
string

Token of card.

statusEnum
string

Status of the transaction:

  • 0: Pending
  • 1: Succeeded
  • 2: Failed
  • 3: Rejected

requesterId
string

The requesterId optionally supplied with the transaction request.

fromDate
date/time

The starting date for the report.

toDate
date/time

The ending date for the report.

pageNumber
integer

Which page to request. Relevant if there is more than one page in the report. You can use "page number" and "has next page" values (supplied in the response) to programmatically call for the next page until the full report is delivered.

pageSize
integer

Number of transactions to list on a page.

Sample response

Click here to view the response attributes.

{
  "version": "1.0.0.0",
  "result": {
    "results": [
      {
        "transactionRequestId": "00000000-0000-0130-0000-000000000000",
        "amount": 400,
        "transactionRequestedAt": "2021-08-03T21:09:13.5882004",
        "transactionStatus": "Succeeded",
        "errorDescription": null,
        "creditCardId": "KR7D47MNJIL2R39OZNRVPC0DIS82ES8JE6J7VU",
        "railId": "TabaPay",
        "network": "MasterCard",
        "retrievalReferenceId": "8abcb1fa-51f1-4b2d-9998-5948877bdcc0",
        "actualTransactionDoneAt": "2021-08-03T21:09:13.937",
        "requestApproved": true,
        "responseReceived": true,
        "responseCode": "00",
        "responseDescription": "Approved",
        "traceNumber": "00000000-0000-0130-0000-000000000000",
        "error": null,
        "requesterName": null,
        "requesterMcc": null
      },
      {
        "transactionRequestId": "00000000-0000-0000-0000-00000000ad00",
        "amount": 1,
        "transactionRequestedAt": "2021-07-01T16:16:19.9759109",
        "transactionStatus": "Succeeded",
        "errorDescription": null,
        "creditCardId": "N9KDCDSB0Z1Z0XMARL7NVVUIE2YAKSXRG6EPW7",
        "railId": "TabaPay",
        "network": "MasterCard",
        "retrievalReferenceId": "6c27a998-5e07-4472-ba78-46f87e543a36",
        "actualTransactionDoneAt": "2021-07-01T16:16:20.693",
        "requestApproved": true,
        "responseReceived": true,
        "responseCode": "00",
        "responseDescription": "Approved",
        "traceNumber": "00000000-0000-0000-0000-00000000ad00",
        "error": null,
        "requesterName": null,
        "requesterMcc": null
      }
    ],
    "pageNumber": 1,
    "pageSize": 2,
    "hasPreviousPage": false,
    "hasNextPage": false
  },
  "isSuccessfull": true,
  "isSuccessful": true
}

Did this page help you?