Skip to main content
POST
/
v1
/
cards
/
query
Get Credit Card's Latest Transactions
curl --request POST \
  --url https://qa-lynx.nayax.com/operational/v1/cards/query \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '"<string>"'
[
  {
    "AmountValue": 123,
    "MachineName": "<string>",
    "AuthorizationDate": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Query Parameters

minutes
integer<int32>
default:1440

The maximum age of transactions to retrieve, in minutes. Default is 1440 minutes (24 hours).

Body

application/json

The SHA1 hash of the credit card number in base64 format.

The body is of type string.

Response

200 - application/json

Transactions retrieved successfully.

AmountValue
number<float>

The value of the transaction amount.

MachineName
string | null

The name of the machine where the transaction was authorized.

AuthorizationDate
string<date-time>

The date and time when the transaction was authorized.