{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpmt-com/json-schema/agentpmt-com-x402-settlement-record-request-schema.json",
  "title": "X402SettlementRecordRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpmt-com-external-agents-api-openapi.yml#/components/schemas/X402SettlementRecordRequest",
  "properties": {
    "payer_wallet_address": {
      "type": "string",
      "title": "Payer Wallet Address"
    },
    "payee_address": {
      "type": "string",
      "title": "Payee Address"
    },
    "contract_address": {
      "type": "string",
      "title": "Contract Address"
    },
    "amount_credits": {
      "type": "integer",
      "title": "Amount Credits"
    },
    "tx_hash": {
      "type": "string",
      "title": "Tx Hash"
    },
    "chain": {
      "type": "string",
      "title": "Chain"
    },
    "resource_url": {
      "type": "string",
      "title": "Resource Url"
    },
    "product_slug": {
      "type": "string",
      "title": "Product Slug"
    },
    "action_slug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Action Slug"
    },
    "request_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Request Id"
    },
    "facilitator": {
      "type": "string",
      "pattern": "^cdp$",
      "title": "Facilitator",
      "default": "cdp"
    },
    "payment_payload_hash": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Payload Hash"
    },
    "payment_requirement_hash": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Requirement Hash"
    },
    "extension_responses": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Extension Responses"
    }
  },
  "type": "object",
  "required": [
    "payer_wallet_address",
    "payee_address",
    "contract_address",
    "amount_credits",
    "tx_hash",
    "chain",
    "resource_url",
    "product_slug"
  ]
}