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

# List partner transactions with cursor pagination

> Returns partner-scoped transactions in stable descending order (`created_at`, `id`). Use `next_cursor` from the response for pagination. Optional filters support status, merchant dimensions, canonical reference, and RFC3339 time windows.



## OpenAPI

````yaml /openapi/openapi.json get /partner/transactions
openapi: 3.1.0
info:
  title: CashWeb Partner API
  description: >-
    CashWeb Partner API enables crypto-to-fiat offramp transactions. Create
    quotes, manage transactions, receive lifecycle webhooks, and reconcile
    revenue.
  contact:
    name: Michael Anyi
    email: michael@cashweb.cash
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api-staging.cashweb.cash/api/v1
    description: Staging environment
  - url: https://api.cashweb.cash/api/v1
    description: Production environment
security: []
paths:
  /partner/transactions:
    get:
      tags:
        - Partner API
      summary: List partner transactions with cursor pagination
      description: >-
        Returns partner-scoped transactions in stable descending order
        (`created_at`, `id`). Use `next_cursor` from the response for
        pagination. Optional filters support status, merchant dimensions,
        canonical reference, and RFC3339 time windows.
      operationId: list_transactions
      parameters:
        - name: status
          in: query
          description: Comma-separated transaction statuses.
          required: false
          schema:
            type: string
          example: awaiting_deposit,completed
        - name: merchant_id
          in: query
          description: Filter by merchant identifier.
          required: false
          schema:
            type: string
          example: mrc_001
        - name: terminal_id
          in: query
          description: Filter by terminal identifier.
          required: false
          schema:
            type: string
          example: term_01
        - name: merchant_reference
          in: query
          description: Filter by canonical merchant reference.
          required: false
          schema:
            type: string
          example: order-4551
        - name: from
          in: query
          description: Inclusive start time in RFC3339.
          required: false
          schema:
            type: string
          example: '2026-02-01T00:00:00Z'
        - name: to
          in: query
          description: Inclusive end time in RFC3339.
          required: false
          schema:
            type: string
          example: '2026-02-12T23:59:59Z'
        - name: cursor
          in: query
          description: Opaque cursor returned by the previous response.
          required: false
          schema:
            type: string
          example: >-
            eyJjcmVhdGVkX2F0IjoiMjAyNi0wMi0xMlQxMjozMDowMFoiLCJpZCI6IjAxOTE3ZjAwIn0
        - name: limit
          in: query
          description: Requested page size.
          required: false
          schema:
            type: integer
            format: int32
            maximum: 100
            minimum: 1
          example: 20
      responses:
        '200':
          description: Transaction list retrieved
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ApiResponse_PartnerTransactionListResponse
              example:
                data:
                  data:
                    - amount: '161500.00'
                      created_at: '2026-02-12T11:55:00Z'
                      crypto_amount: '100.00'
                      crypto_currency: usdt
                      expires_at: '2026-02-12T12:00:00Z'
                      id: 01917f00-7b4c-7f56-8a2b-15998d58c9f3
                      merchant_id: mrc_001
                      merchant_reference: order-4551
                      network: trc20
                      status: completed
                      terminal_id: term_01
                      updated_at: '2026-02-12T12:15:00Z'
                  has_more: true
                  limit: 50
                  next_cursor: >-
                    eyJjcmVhdGVkX2F0IjoiMjAyNi0wMi0xMlQxMTo1NTowMFoiLCJpZCI6IjAxOTE3ZjAwIn0
                success: true
        '400':
          description: >-
            Invalid query filters (bad RFC3339 value, invalid status, or invalid
            window)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: BAD_REQUEST
                  message: from must be earlier than or equal to to
                  timestamp: '2026-02-12T12:00:00Z'
        '401':
          description: Missing or invalid partner API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - PartnerApiKey: []
components:
  schemas:
    ApiResponse_PartnerTransactionListResponse:
      type: object
      description: Standard API response wrapper for all successful responses
      required:
        - success
        - data
      properties:
        data:
          type: object
          description: >-
            Cursor-based partner transaction list. Ordering is deterministic by
            created_at DESC then id DESC.
          required:
            - data
            - has_more
            - limit
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/PartnerTransactionListItem'
              description: Current page of transactions.
            has_more:
              type: boolean
              description: True when another page can be fetched with next_cursor.
              example: false
            limit:
              type: integer
              format: int32
              description: Applied page size after server-side clamping.
              example: 20
            next_cursor:
              type:
                - string
                - 'null'
              description: Opaque cursor for the next page. Treat as an opaque token.
              example: >-
                eyJjcmVhdGVkX2F0IjoiMjAyNi0wMi0xMlQxMjozMDowMFoiLCJpZCI6IjAxOTE3ZjAwIn0
        message:
          type:
            - string
            - 'null'
          description: Optional message for additional information
        success:
          type: boolean
          description: Indicates if the request was successful
          example: 'true'
    ErrorResponse:
      type: object
      description: Error response structure for OpenAPI documentation
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetails'
          description: Error details
    PartnerTransactionListItem:
      type: object
      description: Single transaction item in the cursor-based listing response.
      required:
        - id
        - status
        - crypto_currency
        - crypto_amount
        - amount
        - created_at
        - updated_at
      properties:
        amount:
          type: string
          description: Fiat amount in NGN derived at create time.
          example: '161500.00'
        created_at:
          type: string
          format: date-time
          description: Transaction creation timestamp in UTC RFC3339.
          example: '2026-02-12T11:55:00Z'
        crypto_amount:
          type: string
          description: Crypto amount in token units.
          example: '100.00'
        crypto_currency:
          type: string
          description: Token for this transaction.
          example: usdt
        expires_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Deposit deadline in UTC RFC3339.
          example: '2026-02-12T12:00:00Z'
        id:
          type: string
          format: uuid
          example: 01917f00-7b4c-7f56-8a2b-15998d58c9f3
        merchant_id:
          type:
            - string
            - 'null'
          example: mrc_001
        merchant_reference:
          type:
            - string
            - 'null'
          description: Partner-owned canonical reference.
          example: order-4551
        network:
          type:
            - string
            - 'null'
          description: Target network for the deposit address.
          example: bep20
        status:
          type: string
          description: >-
            Current transaction lifecycle status.

            Allowed values: pending, awaiting_deposit, deposit_confirming,
            selling_crypto, order_filled,

            completed, failed, expired, cancelled, refunded.
          example: completed
        terminal_id:
          type:
            - string
            - 'null'
          example: term_01
        updated_at:
          type: string
          format: date-time
          description: Last status or metadata update timestamp in UTC RFC3339.
          example: '2026-02-12T12:01:00Z'
    ErrorDetails:
      type: object
      description: Error details structure
      required:
        - message
        - code
        - timestamp
      properties:
        code:
          type: string
          description: Machine-readable error code
        message:
          type: string
          description: Human-readable error message
        timestamp:
          type: string
          format: date-time
          description: Timestamp when the error occurred
  securitySchemes:
    PartnerApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````