x402

List x402 payment attempts. (read access required; non-admin keys see only their own)

Lists x402 payment attempts (inbound verify/settle and outbound payments), newest first, with their settlement result.

get/x402/payments

Request

  • Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
  • URL: ./../api/v1/x402/payments
  • Auth: API key in header token

Query parameters

takenumber

Number of payment attempts to return

cursorIdstring

Pagination cursor (provide the id of the last returned attempt)

status'PaymentRequired' | 'Verified' | 'Settled' | 'Failed' | 'Replayed'

Filter by payment status

direction'InboundVerify' | 'InboundSettle' | 'OutboundPayment'

Filter by payment direction

side'buy' | 'sell'

Coarse side filter: buy = outbound payments, sell = inbound (verify + settle). A direction wins.

caip2Networkstring

Filter by CAIP-2 chain id

filterNeedsManualAction'true' | 'false'

When true, only returns attempts that require manual reconciliation: a settle that failed, threw, or was interrupted without recording its outcome (a stale Verified marker, or a stale Settled attempt missing its settlement record). Overrides the status filter.

Response

x402 payment attempts

status'success' required

Example response

{
  "status": "success",
  "data": {
    "PaymentAttempts": [
      {
        "id": "clx402attempt0001",
        "createdAt": "2026-06-02T12:00:00.000Z",
        "updatedAt": "2026-06-02T12:00:00.000Z",
        "direction": "InboundSettle",
        "status": "Settled",
        "apiKeyId": "api_key_id",
        "evmWalletId": "clmanagedwallet0002",
        "registryRequestId": null,
        "supportedPaymentSourceId": "supported_payment_source_id",
        "caip2Network": "eip155:8453",
        "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
        "amount": "1000000",
        "payTo": "0x2222222222222222222222222222222222222222",
        "payer": "0x3333333333333333333333333333333333333333",
        "resource": null,
        "paymentIdentifier": null,
        "errorReason": null,
        "errorMessage": null,
        "facilitator": {
          "mode": "self_hosted",
          "address": "0x5555555555555555555555555555555555555555"
        },
        "Settlement": {
          "id": "clx402settlement0001",
          "success": true,
          "txHash": "0x4242424242424242424242424242424242424242424242424242424242424242",
          "amount": "1000000",
          "payer": "0x3333333333333333333333333333333333333333",
          "createdAt": "2026-06-02T12:00:00.000Z"
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 50 revisions of this API.