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

# List Buy transactions

> Returns an array of successful Buy transactions which fulfill criteria supplied in the query parameters. Each entry in the array is a separate transaction object. Transactions will be listed from newest to oldest.



## OpenAPI

````yaml GET /v1/transactions
openapi: 3.0.0
info:
  title: Server to server API
  version: 1.0.0
servers:
  - url: https://api.moonpay.com
security: []
tags:
  - name: Buy transactions
  - name: Customers
  - name: Sell transactions
paths:
  /v1/transactions:
    get:
      tags:
        - Buy transactions
      summary: List Buy transactions
      description: >-
        Returns an array of successful Buy transactions which fulfill criteria
        supplied in the query parameters. Each entry in the array is a separate
        transaction object. Transactions will be listed from newest to oldest.
      parameters:
        - name: query
          in: query
          style: form
          explode: true
          required: true
          schema:
            type: object
            properties:
              externalTransactionId:
                type: string
                example: '123'
                description: An identifier associated with a transaction, provided by you.
              customerId:
                type: string
                example: '123'
                description: Unique identifier for a customer.
              externalCustomerId:
                type: string
                example: '123'
                description: >-
                  An identifier associated with a customer, provided by you.
                  `customerId` filter takes precedence over
                  `externalCustomerId`.
              startDate:
                type: string
                example: '2023-07-01'
                description: >-
                  The earliest date on which transactions should have been made.
                  Format is YYYY-MM-DD.
              endDate:
                type: string
                example: '2023-07-31'
                description: >-
                  The most recent date on which transactions should have been
                  made. Format is YYYY-MM-DD.
              limit:
                type: integer
                example: 20
                description: >-
                  A positive integer representing the maximum number of
                  transaction objects to be returned. Default is <span
                  class="value">10</span>, minimum is <span
                  class="value">1</span> and maximum is <span
                  class="value">50</span>.
              offset:
                type: integer
                example: 1
                description: >-
                  A positive integer representing the number of transaction
                  objects to skip before returning the list. An offset of <span
                  class="value">1</span> means the list will start with the
                  second-newest transaction.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    description: The response object (to be documented).
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: A descriptive error message.
                  type:
                    type: string
                    description: An error type.
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: Authorization
      in: header

````