{
  "opencollection": "1.0.0",
  "info": {
    "name": "Telnyx Access Tokens x402 Payment Transactions API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "x402 Payment Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Settle a payment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/v2/x402/credit_account",
            "headers": [
              {
                "name": "PAYMENT-SIGNATURE",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Settles an x402 payment using the quote ID and a signed payment authorization. The payment signature can be provided via the `PAYMENT-SIGNATURE` header or the `payment_signature` body parameter. Settlement is idempotent — submitting the same quote ID multiple times returns the existing transaction."
        },
        {
          "info": {
            "name": "Create a payment quote",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/v2/x402/credit_account/quote",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a payment quote for the specified USD amount. Returns payment details including the x402 payment requirements, network, and expiration time. The quote must be settled before it expires."
        }
      ]
    }
  ],
  "bundled": true
}