{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monacloud/json-schema/monacloud-payment-webhook-schema.json",
  "title": "PaymentWebhook",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monacloud-billing-api-openapi.yml#/components/schemas/PaymentWebhook",
  "properties": {
    "amount": {
      "type": "integer",
      "maximum": 500000000.0,
      "exclusiveMinimum": 0.0,
      "title": "Amount"
    },
    "description": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Description"
    },
    "transfer_date": {
      "type": "integer",
      "title": "Transfer Date"
    },
    "transaction_code": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "title": "Transaction Code"
    },
    "account_number": {
      "type": "string",
      "title": "Account Number"
    },
    "bank_name": {
      "type": "string",
      "title": "Bank Name"
    },
    "type": {
      "type": "string",
      "title": "Type"
    }
  },
  "type": "object",
  "required": [
    "amount",
    "description",
    "transfer_date",
    "transaction_code",
    "account_number",
    "bank_name",
    "type"
  ]
}