curl --request PATCH \
--url https://api.qbank.cl/platform/v1/webhooks/subscriptions/{subscriptionID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "disabled"
}
'
{
"id": "8e7f6a5b-4c3d-2e1f-0a9b-8c7d6e5f4a3b",
"event_type": "payout_status_changed",
"callback_url": "https://api.myapp.com/webhooks/cbpay",
"status": "disabled",
"created_at": "2026-07-07T12:00:00Z"
}{
"error": "invalid_status",
"message": "status must be active or disabled"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "not_found",
"message": "resource not found"
}Disable or reactivate a webhook subscription
Toggles one of the account’s subscriptions between active and disabled. A disabled subscription stops receiving NEW events; deliveries already queued are still sent. Idempotent: repeating the current status is a no-op 200. Subscriptions are never deleted — disabling is how you unsubscribe. Ownership is enforced: a subscription of another account answers 404 (it is indistinguishable from an inexistent one).
PATCH
/
v1
/
webhooks
/
subscriptions
/
{subscriptionID}
curl --request PATCH \
--url https://api.qbank.cl/platform/v1/webhooks/subscriptions/{subscriptionID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "disabled"
}
'
{
"id": "8e7f6a5b-4c3d-2e1f-0a9b-8c7d6e5f4a3b",
"event_type": "payout_status_changed",
"callback_url": "https://api.myapp.com/webhooks/cbpay",
"status": "disabled",
"created_at": "2026-07-07T12:00:00Z"
}{
"error": "invalid_status",
"message": "status must be active or disabled"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "not_found",
"message": "resource not found"
}Authorizations
Session JWT (from register/login) or API key (pk_...).
X-API-Key: <token> is accepted as an alternative header.
Path Parameters
Body
application/json
Available options:
active, disabled