Webhooks
This section of the API documentation provides details on the webhooks available in our system.
Subscription Management
This page lists helper endpoints that allow you to subscribe to and unsubscribe from webhooks.
Webhook Details
Each webhook is documented separately on individual subpages, providing specific information on their payload structure. For all outgoing webhooks, the following delivery and retry logic applies:
Retry Duration: If the endpoint is unavailable, the system will continue to retry delivery for up to 2 days.
Retry Interval: Retries are performed hourly throughout the 48-hour window.
Endpoints for Subscription Management
Rate limit: 50 requests per minute
OK
Bad Request
Unauthorized
GET /api/v1/webhooks/types HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
[
{
"description": "text",
"event": "text"
}
]Rate limit: 50 requests per minute
OK
https://example.comAn optional description of what the webhook is used for.
Delivery toggle. The merchant owns it, and a deactivation turns it off.
trueSet when we stopped delivering because the endpoint kept failing. enabled goes off with it, and the merchant resumes delivery by turning it back on.
Bad Request
Unauthorized
GET /api/v1/webhooks/ HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
[
{
"events": [
"order.created"
],
"url": "https://example.com",
"id": 1,
"description": "text",
"enabled": true,
"deactivated_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}
]Each webhook message is retried hourly for up to 2 days. A subscription whose endpoint fails every delivery for 7 days is deactivated: enabled is set to false and deactivated_at carries the time. Fix the endpoint, then PATCH enabled back to true to resume delivery.
Rate limit: 50 requests per minute
https://example.comOK
https://example.comAn optional description of what the webhook is used for.
Delivery toggle. The merchant owns it, and a deactivation turns it off.
trueSet when we stopped delivering because the endpoint kept failing. enabled goes off with it, and the merchant resumes delivery by turning it back on.
Bad Request
Unauthorized
POST /api/v1/webhooks/ HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"events": [
"order.created"
],
"url": "https://example.com",
"description": "text"
}{
"events": [
"order.created"
],
"url": "https://example.com",
"id": 1,
"description": "text",
"enabled": true,
"deactivated_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z",
"client_secret": "text"
}Rate limit: 50 requests per minute
OK
https://example.comAn optional description of what the webhook is used for.
Delivery toggle. The merchant owns it, and a deactivation turns it off.
trueSet when we stopped delivering because the endpoint kept failing. enabled goes off with it, and the merchant resumes delivery by turning it back on.
Bad Request
Unauthorized
Not Found
GET /api/v1/webhooks/{subscription_id} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"events": [
"order.created"
],
"url": "https://example.com",
"id": 1,
"description": "text",
"enabled": true,
"deactivated_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}Rate limit: 50 requests per minute
No Content
No content
Bad Request
Unauthorized
Not Found
DELETE /api/v1/webhooks/{subscription_id} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
No content
Each webhook message is retried hourly for up to 2 days. A subscription whose endpoint fails every delivery for 7 days is deactivated: enabled is set to false and deactivated_at carries the time. Fix the endpoint, then PATCH enabled back to true to resume delivery.
Rate limit: 100 requests per minute
https://example.comOK
https://example.comAn optional description of what the webhook is used for.
Delivery toggle. The merchant owns it, and a deactivation turns it off.
trueSet when we stopped delivering because the endpoint kept failing. enabled goes off with it, and the merchant resumes delivery by turning it back on.
Bad Request
Unauthorized
Not Found
PATCH /api/v1/webhooks/{subscription_id} HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"events": [
"order.created"
],
"url": "https://example.com",
"description": "text",
"enabled": true
}{
"events": [
"order.created"
],
"url": "https://example.com",
"id": 1,
"description": "text",
"enabled": true,
"deactivated_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}Last updated
Was this helpful?