{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpay-so/json-schema/agentpay-so-webhook-subscribe-response-schema.json",
  "title": "WebhookSubscribeResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpay-so-webhooks-api-openapi.yml#/components/schemas/WebhookSubscribeResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "subscription": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "eventTypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "signingSecret": {
          "type": "string",
          "description": "Use to verify webhook signatures"
        }
      }
    }
  }
}