{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/x402-agent-pay-com/json-schema/x402-agent-pay-com-endpoint-create-schema.json",
  "title": "EndpointCreate",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/x402-agent-pay-com-openapi.json#/components/schemas/EndpointCreate",
  "type": "object",
  "properties": {
    "partner_id": {
      "type": "string"
    },
    "api_key": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "description": "Your x402-payable endpoint URL"
    },
    "price_usdc": {
      "type": "number",
      "description": "Price per call in USDC"
    },
    "description": {
      "type": "string"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "DELETE"
      ],
      "default": "POST"
    }
  },
  "required": [
    "partner_id",
    "api_key",
    "url",
    "price_usdc"
  ]
}