View .md

Webhooks

Configure a webhook URL on the integration page for the public API in cloud.ancon.io. Webhooks are sent once a URL is configured.

Delivery

On failure the platform retries up to 3 times, 3 minutes apart. Every request carries these headers:

| Header | Example | | --- | --- | | Api-Version | 1.0 | | Try | 1 | | MaxTries | 3 |

Events

Core API

| Event | Payload | | --- | --- | | Check created | checkId | | Check paid | checkId | | Check fully paid | checkId, orderId | | Order created / refunded | Same shape as the Get order response | | Product created / updated / deleted | Same shape as the Get product response | | Ticket updated | Same shape as the Get ticket response |

Voucher API

| Event | Payload | | --- | --- | | Voucher basis published | Small subset of the voucher basis details. Call the details endpoint for the full data. |

User API

| Event | Payload | | --- | --- | | Customer added | Same shape as the Get customer response |