> ## Documentation Index
> Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Credit Card's Latest Transactions

> Retrieves the latest transactions associated with a specific credit card number, identified by the SHA1 hash of the card number in base64 format.



## OpenAPI

````yaml /openapi/lynx.yaml post /v1/cards/query
openapi: 3.0.1
info:
  title: Nayax Operational Lynx API
  version: v1
servers:
  - url: https://qa-lynx.nayax.com/operational
security:
  - Authorization: []
paths:
  /v1/cards/query:
    post:
      tags:
        - Cards
      summary: Get Credit Card's Latest Transactions
      description: >-
        Retrieves the latest transactions associated with a specific credit card
        number, identified by the SHA1 hash of the card number in base64 format.
      operationId: get-latest-transactions
      parameters:
        - name: minutes
          in: query
          description: >-
            The maximum age of transactions to retrieve, in minutes. Default is
            1440 minutes (24 hours).
          schema:
            type: integer
            format: int32
            default: 1440
      requestBody:
        required: true
        description: The SHA1 hash of the credit card number in base64 format.
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: Transactions retrieved successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CardLastTransaction'
components:
  schemas:
    CardLastTransaction:
      type: object
      description: Represents the details of the last transaction made using a card.
      properties:
        AmountValue:
          type: number
          format: float
          description: The value of the transaction amount.
        MachineName:
          type: string
          nullable: true
          description: The name of the machine where the transaction was authorized.
        AuthorizationDate:
          type: string
          format: date-time
          description: The date and time when the transaction was authorized.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````