{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpmt-com/json-schema/agentpmt-com-x402-internal-invoke-request-schema.json",
  "title": "X402InternalInvokeRequest",
  "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/X402InternalInvokeRequest",
  "properties": {
    "parameters": {
      "additionalProperties": true,
      "type": "object",
      "title": "Parameters"
    },
    "payer_wallet_address": {
      "type": "string",
      "title": "Payer Wallet Address",
      "description": "On-chain payer wallet that CDP verified"
    },
    "resource_url": {
      "type": "string",
      "title": "Resource Url",
      "description": "Canonical x402 resource URL"
    },
    "action_slug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Action Slug",
      "description": "URL slug for the priced action"
    },
    "request_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Request Id",
      "description": "Frontend request id for tracing"
    },
    "payment_payload_hash": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Payload Hash",
      "description": "SHA-256 hash of the canonical x402 payment payload"
    },
    "payment_requirement_hash": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Requirement Hash",
      "description": "SHA-256 hash of the matched payment requirement"
    }
  },
  "type": "object",
  "required": [
    "payer_wallet_address",
    "resource_url"
  ]
}