{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telnyx/json-schema/telnyx-x402-transaction-response-schema.json",
  "title": "X402TransactionResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-x402-payment-transactions-api-openapi.yml#/components/schemas/X402TransactionResponse",
  "properties": {
    "data": {
      "properties": {
        "amount": {
          "description": "The transaction amount in the specified currency.",
          "type": "string"
        },
        "created_at": {
          "description": "ISO 8601 timestamp when the transaction was created.",
          "format": "date-time",
          "type": "string"
        },
        "currency": {
          "description": "The currency of the transaction amount (e.g. USD).",
          "type": "string"
        },
        "id": {
          "description": "Unique transaction identifier.",
          "type": "string"
        },
        "quote_id": {
          "description": "The original quote ID associated with this transaction.",
          "type": "string"
        },
        "record_type": {
          "enum": [
            "x402_transaction"
          ],
          "type": "string"
        },
        "status": {
          "description": "The settlement status of the transaction.",
          "enum": [
            "settled"
          ],
          "type": "string"
        },
        "tx_hash": {
          "description": "The on-chain transaction hash, if available.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}