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

# List Transactions

> Retrieve all transactions for the authenticated merchant



## OpenAPI

````yaml GET /transactions
openapi: 3.0.3
info:
  title: OraFi Merchant API
  description: Seamless crypto payments API for merchants
  version: 1.0.0
  contact:
    name: OraFi Support
    email: support@orafi.app
servers:
  - url: https://api.orafi.app/v1
    description: Production server
  - url: http://localhost:3000/v1
    description: Local development server
security: []
tags:
  - name: Paylinks
    description: Paylink management endpoints
  - name: Payments
    description: Payment creation and verification endpoints
  - name: Customers
    description: Customer management endpoints
  - name: Transactions
    description: Transaction retrieval and payout endpoints
  - name: Refunds
    description: Refund management endpoints
  - name: Webhooks
    description: Webhook registration and management
  - name: Profile
    description: Business profile settings
  - name: Settlements
    description: Settlement account management
  - name: Fiat
    description: Fiat-related endpoints
  - name: Business
    description: Business mode and settings
  - name: Notifications
    description: Notification preferences
  - name: Subscriptions
    description: Subscription plans and customer subscriptions
paths:
  /transactions:
    get:
      tags:
        - Transactions
      summary: Get all transactions
      description: Retrieve all transactions for the authenticated merchant
      parameters:
        - name: mode
          in: query
          description: Filter by transaction mode
          schema:
            type: string
            enum:
              - test
              - live
        - name: type
          in: query
          description: Filter by transaction type
          schema:
            type: string
            enum:
              - PAYMENT
              - REFUND
              - PAYOUT
        - name: status
          in: query
          description: Filter by transaction status
          schema:
            type: string
            enum:
              - COMPLETED
              - PENDING
              - FAILED
        - name: customerId
          in: query
          description: Filter by customer ID
          schema:
            type: string
        - name: paymentMethod
          in: query
          description: Filter by payment method used
          schema:
            type: string
            enum:
              - HOSTED_CHECKOUT
              - PAYMENT_LINK
        - name: currency
          in: query
          description: Filter by currency used to intiate transaction
          schema:
            type: string
        - name: network
          in: query
          description: Filter by network used to initiate transaction
          schema:
            type: string
        - name: paymentLinkId
          in: query
          description: Filter by payment link ID(used only when status is set to PAYMENT)
          schema:
            type: string
        - name: limit
          in: query
          description: Number of records to return
          schema:
            type: integer
        - name: cursor
          in: query
          description: Pagination cursor
          schema:
            type: string
        - name: date
          in: query
          description: >
            Filter transactions by date using either a preset interval or a
            custom date range.


            Preset example:

            {
              "type": "preset",
              "interval": "last7days"
            }


            Range example:

            {
              "type": "range",
              "startDate": "2026-05-01",
              "endDate": "2026-05-25"
            }
          schema:
            oneOf:
              - type: object
                properties:
                  type:
                    type: string
                    enum:
                      - preset
                  interval:
                    type: string
                    enum:
                      - today
                      - yesterday
                      - last7days
                      - last30days
                      - thisMonth
                      - lastMonth
                      - thisYear
                required:
                  - type
                  - interval
              - type: object
                properties:
                  type:
                    type: string
                    enum:
                      - range
                  startDate:
                    type: string
                    format: date
                  endDate:
                    type: string
                    format: date
                required:
                  - type
                  - startDate
                  - endDate
      responses:
        '200':
          description: List of transactions retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Transactions retrieved successfully
                  data:
                    type: object
                    properties:
                      transactions:
                        type: array
                        items:
                          $ref: '#/components/schemas/Transaction'
                      count:
                        type: integer
                      nextCursor:
                        type: string
                        nullable: true
                      hasNextPage:
                        type: boolean
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - apiKey: []
components:
  schemas:
    Transaction:
      type: object
      properties:
        id:
          description: Transaction unique identifier
          type: string
          example: tx_abc123
        amount:
          description: Transaction amount
          type: number
          example: 100
        currency:
          description: Currency code
          type: string
          example: USDC
        status:
          description: Transaction status
          type: string
          example: CONFIRMED
        type:
          description: Transaction type
          type: string
          example: PAYMENT
        fromAddress:
          description: Source wallet address
          type: string
        toAddress:
          description: Destination wallet address
          type: string
        txDigest:
          description: Transaction digest/hash
          type: string
        createdAt:
          description: Creation timestamp
          type: string
          format: date-time
        updatedAt:
          description: Last update timestamp
          type: string
          format: date-time
  responses:
    Unauthorized:
      description: Unauthorized - Missing or invalid API key
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              message:
                type: string
                example: Unauthorized access
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for merchant authentication required for most endpoints

````