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

# List x402 payments

> Returns a paginated list of the authenticated user's x402 payment transactions, newest first. Organization sub-users must have read permission on transactions; without it the list is empty.



## OpenAPI

````yaml /openapi/source/external/payment/x402-transactions.json get /x402/credit_account/payments
openapi: 3.0.0
info:
  version: 2.0.0
  title: x402 Payment Transactions API
  contact:
    email: mission.control.squad@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
security:
  - bearerAuth: []
tags:
  - name: x402 Payment Transactions
    description: >-
      Operations for x402 cryptocurrency payment transactions. Fund your Telnyx
      account using USDC stablecoin payments via the x402 protocol.
paths:
  /x402/credit_account/payments:
    get:
      tags:
        - x402 Payment Transactions
      summary: List x402 payments
      description: >-
        Returns a paginated list of the authenticated user's x402 payment
        transactions, newest first. Organization sub-users must have read
        permission on transactions; without it the list is empty.
      operationId: listX402Payments
      parameters:
        - $ref: '#/components/parameters/PageNumber'
        - $ref: '#/components/parameters/PageSize'
      responses:
        '200':
          description: List of x402 payment transactions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/X402TransactionListResponse'
              example:
                data:
                  - id: de06811a-2e43-4561-af5a-7d0a26e20aaa
                    record_type: x402_transaction
                    amount: '50.00'
                    currency: USD
                    status: settled
                    quote_id: quote_abc123
                    tx_hash: 0xabc123def456...
                    created_at: '2026-03-13T15:00:00Z'
                    updated_at: '2026-03-13T15:00:00Z'
                  - id: f8a1c2d3-4b5e-6789-abcd-ef0123456789
                    record_type: x402_transaction
                    amount: '25.00'
                    currency: USD
                    status: settled
                    quote_id: quote_def456
                    tx_hash: 0x789abcdef012...
                    created_at: '2026-03-12T10:30:00Z'
                    updated_at: '2026-03-12T10:30:00Z'
                meta:
                  page_number: 1
                  page_size: 100
                  total_pages: 1
                  total_results: 2
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - code: '10009'
                    title: Authentication failed
                    detail: >-
                      The required authentication headers were either invalid or
                      not included in the request.
        '403':
          description: Forbidden — x402 payments not enabled or account tier ineligible
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - code: '10010'
                    title: Authorization failed
                    detail: >-
                      You do not have permission to perform the requested action
                      on the specified resource or resources.
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Telnyx from 'telnyx';


            const client = new Telnyx({
              apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
            });


            // Automatically fetches more pages as needed.

            for await (const response of
            client.x402.creditAccount.payments.list()) {
              console.log(response);
            }
        - lang: Python
          source: |
            import os
            from telnyx import Telnyx

            client = Telnyx(
                api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
            )
            page = client.x402.credit_account.payments.list()
            print(page.data)
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/team-telnyx/telnyx-go\"\n\t\"github.com/team-telnyx/telnyx-go/option\"\n)\n\nfunc main() {\n\tclient := telnyx.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tpayments, err := client.X402.CreditAccount.Payments.List(context.TODO())\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", payments.Data)\n}\n"
        - lang: Java
          source: |-
            package com.telnyx.sdk.example;

            import com.telnyx.sdk.client.TelnyxClient;
            import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;

            public final class Main {
                private Main() {}

                public static void main(String[] args) {
                    TelnyxClient client = TelnyxOkHttpClient.fromEnv();

                    var page = client.x402().creditAccount().payments().list();
                }
            }
        - lang: Ruby
          source: |-
            require "telnyx"

            telnyx = Telnyx::Client.new(api_key: "My API Key")

            page = telnyx.x402.credit_account.payments.list

            puts(page)
        - lang: PHP
          source: >-
            <?php


            require_once dirname(__DIR__) . '/vendor/autoload.php';


            use Telnyx\Client;

            use Telnyx\Core\Exceptions\APIException;


            $client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API
            Key');


            try {
              $page = $client->x402->creditAccount->payments->list();

              var_dump($page);
            } catch (APIException $e) {
              echo $e->getMessage();
            }
        - lang: CLI
          source: |-
            telnyx x402:credit-account:payments list \
              --api-key 'My API Key'
components:
  parameters:
    PageNumber:
      name: page[number]
      in: query
      required: false
      description: The page number to load.
      schema:
        type: integer
        minimum: 1
        default: 1
    PageSize:
      name: page[size]
      in: query
      required: false
      description: The size of the page.
      schema:
        type: integer
        minimum: 1
        maximum: 250
        default: 100
  schemas:
    X402TransactionListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/X402TransactionRecord'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              title:
                type: string
              detail:
                type: string
              meta:
                type: object
                properties:
                  url:
                    type: string
              source:
                type: object
                properties:
                  pointer:
                    type: string
    X402TransactionRecord:
      type: object
      description: An x402 payment transaction.
      properties:
        id:
          type: string
          format: uuid
          description: Unique transaction identifier.
        record_type:
          type: string
          enum:
            - x402_transaction
        amount:
          type: string
          description: The transaction amount in the specified currency.
        currency:
          type: string
          description: The currency of the transaction amount (e.g. USD).
        status:
          type: string
          description: >-
            The settlement status of the transaction. x402 transactions are
            created after successful on-chain settlement, so the status is
            `settled`.
          enum:
            - settled
        quote_id:
          type: string
          description: The original quote ID associated with this transaction.
        tx_hash:
          type: string
          nullable: true
          description: The on-chain transaction hash, if available.
        created_at:
          type: string
          format: date-time
          description: ISO 8601 timestamp when the transaction was created.
        updated_at:
          type: string
          format: date-time
          description: ISO 8601 timestamp when the transaction was last updated.
    PaginationMeta:
      type: object
      properties:
        page_number:
          type: integer
          description: The current page number.
        page_size:
          type: integer
          description: The number of results per page.
        total_pages:
          type: integer
          description: The total number of pages.
        total_results:
          type: integer
          description: The total number of results.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````