For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Get Webhook Event Types

get

Rate limit: 50 requests per minute

Authorizations
X-API-KeystringRequired
Responses
200

OK

application/json
descriptionstringRequired
eventstring · max: 255Required
get/api/v1/webhooks/types
GET /api/v1/webhooks/types HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
[
  {
    "description": "text",
    "event": "text"
  }
]

Get Webhook Subscriptions

get

Rate limit: 50 requests per minute

Authorizations
X-API-KeystringRequired
Responses
200

OK

application/json
urlstring · uri · min: 1 · max: 2083RequiredExample: https://example.com
idinteger · nullableOptional
descriptionstring · max: 1000 · nullableOptional

An optional description of what the webhook is used for.

enabledbooleanOptional

Delivery toggle. The merchant owns it, and a deactivation turns it off.

Default: true
deactivated_atstring · date-time · nullableOptional

Set when we stopped delivering because the endpoint kept failing. enabled goes off with it, and the merchant resumes delivery by turning it back on.

created_atstring · date-timeRequired
get/api/v1/webhooks/
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"
  }
]

Post Webhook Subscription

post

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

Authorizations
X-API-KeystringRequired
Body
urlstring · uri · min: 1 · max: 2083RequiredExample: https://example.com
descriptionstring · nullableOptional
Responses
200

OK

application/json
urlstring · uri · min: 1 · max: 2083RequiredExample: https://example.com
idinteger · nullableOptional
descriptionstring · max: 1000 · nullableOptional

An optional description of what the webhook is used for.

enabledbooleanOptional

Delivery toggle. The merchant owns it, and a deactivation turns it off.

Default: true
deactivated_atstring · date-time · nullableOptional

Set when we stopped delivering because the endpoint kept failing. enabled goes off with it, and the merchant resumes delivery by turning it back on.

created_atstring · date-timeRequired
client_secretstring · max: 255Required
post/api/v1/webhooks/
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"
}

Get Webhook Subscription

get

Rate limit: 50 requests per minute

Authorizations
X-API-KeystringRequired
Path parameters
subscription_idintegerRequired
Responses
200

OK

application/json
urlstring · uri · min: 1 · max: 2083RequiredExample: https://example.com
idinteger · nullableOptional
descriptionstring · max: 1000 · nullableOptional

An optional description of what the webhook is used for.

enabledbooleanOptional

Delivery toggle. The merchant owns it, and a deactivation turns it off.

Default: true
deactivated_atstring · date-time · nullableOptional

Set when we stopped delivering because the endpoint kept failing. enabled goes off with it, and the merchant resumes delivery by turning it back on.

created_atstring · date-timeRequired
get/api/v1/webhooks/{subscription_id}
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"
}

Delete Webhook Subscription

delete

Rate limit: 50 requests per minute

Authorizations
X-API-KeystringRequired
Path parameters
subscription_idintegerRequired
Responses
204

No Content

No content

delete/api/v1/webhooks/{subscription_id}
DELETE /api/v1/webhooks/{subscription_id} HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*

No content

Update Webhook Subscription Patch

patch

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

Authorizations
X-API-KeystringRequired
Path parameters
subscription_idintegerRequired
Body
urlstring · uri · min: 1 · max: 2083 · nullableOptionalExample: https://example.com
descriptionstring · nullableOptional
enabledboolean · nullableOptional
Responses
200

OK

application/json
urlstring · uri · min: 1 · max: 2083RequiredExample: https://example.com
idinteger · nullableOptional
descriptionstring · max: 1000 · nullableOptional

An optional description of what the webhook is used for.

enabledbooleanOptional

Delivery toggle. The merchant owns it, and a deactivation turns it off.

Default: true
deactivated_atstring · date-time · nullableOptional

Set when we stopped delivering because the endpoint kept failing. enabled goes off with it, and the merchant resumes delivery by turning it back on.

created_atstring · date-timeRequired
patch/api/v1/webhooks/{subscription_id}
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?