{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blindpay-com/json-schema/blindpay-com-webhook-endpoint-schema.json",
  "title": "WebhookEndpoint",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blindpay-com-webhook-endpoints-api-openapi.yml#/components/schemas/WebhookEndpoint",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "customer.new",
          "customer.update",
          "customer.delete",
          "bankAccount.new",
          "payout.new",
          "payout.update",
          "payout.complete",
          "payout.partnerFee",
          "blockchainWallet.new",
          "blockchainWallet.update",
          "payin.new",
          "payin.update",
          "payin.complete",
          "payin.partnerFee",
          "tos.accept",
          "limitIncrease.new",
          "limitIncrease.update",
          "virtualAccount.new",
          "virtualAccount.complete",
          "transfer.new",
          "transfer.update",
          "transfer.complete",
          "wallet.new",
          "wallet.update",
          "wallet.inbound",
          "payable.new",
          "payable.update",
          "payable.complete"
        ]
      }
    },
    "last_event_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "instance_id": {
      "type": "string",
      "minLength": 15,
      "maxLength": 15
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "url",
    "events",
    "instance_id"
  ]
}