Webhook API Versioning
Khaime uses date-based versioning for webhook payloads. This ensures partners can adopt new payload structures at their own pace without breaking existing integrations.How Versions Work
api_versionis a date string (e.g.,"2026-03-27") stored on each API key record.- The version is included in the webhook body (
api_versionfield) and theX-Khaime-Api-Versionresponse header. - New partners are assigned the latest version at key creation.
- Existing partners keep their current version until they explicitly opt in to a newer one.
What Triggers a New Version
Adding new optional fields or new event types is non-breaking — your integration should handle unknown fields gracefully.
Migrating to a New Version
Update your API key’s version via the API:Migration Guide: Pre-2026-03-27 to 2026-03-27
The2026-03-27 version introduces structured multi-currency amounts, expanded event types, and richer object payloads.
