Update a webhook config
Webhooks
Update a webhook config
PATCH
Update a webhook config
Authorizations
Merchant API key (e.g., sk_live_xxx or sk_test_xxx)
Path Parameters
Webhook config UUID
Example:
"68f11209-451f-4a15-bfcd-d916eb8b09f4"
Body
application/json
Webhook endpoint URL
Example:
"https://example.com/webhooks"
Event types to subscribe to
Available options:
order.created, order.paid, order.cancelled, stock.low, payment.created, payment.completed, payment.failed, collection.pending, collection.completed, collection.failed, withdrawal.created, withdrawal.completed, withdrawal.failed, transaction.updated, transfer.pending, transfer.completed, transfer.failed, settlement.completed Example:
["payment.completed", "collection.completed"]Whether the webhook is active
Example:
true
