{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/revolut/main/json-schema/revolut-webhook-v2-basic-schema.json", "title": "Webhook-v2-basic", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/revolut-webhooks-v2-api-openapi.yml#/components/schemas/Webhook-v2-basic", "type": "object", "required": [ "id", "url", "events" ], "properties": { "id": { "type": "string", "format": "uuid", "description": "The ID of the webhook." }, "url": { "type": "string", "format": "uri", "description": "The valid webhook URL that event notifications are sent to. The supported protocol is `https`." }, "events": { "type": "array", "items": { "$ref": "#/$defs/WebhookEventType" }, "description": "The list of event types that you are subscribed to." } }, "$defs": { "WebhookEventType": { "enum": [ "TransactionCreated", "TransactionStateChanged", "PayoutLinkCreated", "PayoutLinkStateChanged" ], "description": "The type of the webhook event to subscribe to." } } }