Update webhook subscription
Update an existing webhook subscription’s configuration including event types, target URL, filtering criteria, and enabled status. All required fields must be provided, even if they are not being changed.
Common Updates
- Change target URL or headers
- Add/remove event type filters
- Update multi-label filtering criteria
- Enable/disable subscription
Authorizations
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
Path Parameters
Body
Request to update an existing webhook subscription.
Types of events to subscribe to. Event types follow a three-part dot-separated format: service.resource.verb (e.g., "onchain.activity.detected", "wallet.activity.detected", "onramp.transaction.created").
A webhook event type identifier following dot-separated format:
<domain>.<entity>.<verb> (e.g., "onchain.activity.detected").
onchain.activity.detected, wallet.activity.detected, wallet.activity.multi, wallet.transaction.created, wallet.transaction.signed, wallet.transaction.broadcast, wallet.transaction.replaced, wallet.transaction.pending, wallet.transaction.confirmed, wallet.transaction.failed, wallet.delegation.created, wallet.delegation.revoked, wallet.typed_data.signed, wallet.message.signed, wallet.hash.signed, payments.transfers.quoted, payments.transfers.processing, payments.transfers.completed, payments.transfers.failed, payments.transfers.expired, payments.transfers.travel_rule_incomplete, payments.transfers.travel_rule_completed, payments.deposit_destinations.initiated, payments.deposit_destinations.activated, payments.deposit_destinations.deactivated, onramp.transaction.created, onramp.transaction.updated, onramp.transaction.success, onramp.transaction.failed, offramp.transaction.created, offramp.transaction.updated, offramp.transaction.success, offramp.transaction.failed, acceptance.payment_session.created, acceptance.payment_session.canceled, acceptance.payment_session.authorization_pending, acceptance.payment_session.authorization_succeeded, acceptance.payment_session.authorization_failed, acceptance.payment_session.capture_pending, acceptance.payment_session.capture_succeeded, acceptance.payment_session.capture_failed, acceptance.payment_session.refund_pending, acceptance.payment_session.refund_succeeded, acceptance.payment_session.refund_failed, acceptance.payment_session.void_pending, acceptance.payment_session.void_succeeded, acceptance.payment_session.void_failed, acceptance.mandate.created, acceptance.mandate.canceled, acceptance.mandate.approval_initiated, acceptance.mandate.approval_succeeded, acceptance.mandate.approval_failed, acceptance.mandate.revocation_initiated, acceptance.mandate.revocation_succeeded, acceptance.mandate.revocation_failed, acceptance.disbursement.pending, acceptance.disbursement.succeeded, acceptance.disbursement.failed, acceptance.top_up_link.created, acceptance.top_up_link.funds_added, health.status.updated, health.maintenance.scheduled, health.maintenance.started, health.maintenance.completed, health.maintenance.canceled, customers.capability.changed, customers.customer.deleted, customers.requirement.changed String-valued filters supplied when creating or updating a webhook subscription.
The subscription's eventTypes determine whether labels are required and which
label keys are accepted. A subscription accepts at most 20 client-supplied labels.
Label Behavior
An event must match ALL labels to fire to your subscription targetURL. When multiple labels are supplied, the event must match ALL labels to fire to your subscription targetURL.
Response
Webhook subscription updated successfully.
Response containing webhook subscription details.
Types of events to subscribe to. Event types follow a dot-separated format: service.resource.verb (e.g., "onchain.activity.detected", "wallet.activity.detected", "onramp.transaction.created", "acceptance.payment_session.authorization_succeeded").
A webhook event type identifier following dot-separated format:
<domain>.<entity>.<verb> (e.g., "onchain.activity.detected").
onchain.activity.detected, wallet.activity.detected, wallet.activity.multi, wallet.transaction.created, wallet.transaction.signed, wallet.transaction.broadcast, wallet.transaction.replaced, wallet.transaction.pending, wallet.transaction.confirmed, wallet.transaction.failed, wallet.delegation.created, wallet.delegation.revoked, wallet.typed_data.signed, wallet.message.signed, wallet.hash.signed, payments.transfers.quoted, payments.transfers.processing, payments.transfers.completed, payments.transfers.failed, payments.transfers.expired, payments.transfers.travel_rule_incomplete, payments.transfers.travel_rule_completed, payments.deposit_destinations.initiated, payments.deposit_destinations.activated, payments.deposit_destinations.deactivated, onramp.transaction.created, onramp.transaction.updated, onramp.transaction.success, onramp.transaction.failed, offramp.transaction.created, offramp.transaction.updated, offramp.transaction.success, offramp.transaction.failed, acceptance.payment_session.created, acceptance.payment_session.canceled, acceptance.payment_session.authorization_pending, acceptance.payment_session.authorization_succeeded, acceptance.payment_session.authorization_failed, acceptance.payment_session.capture_pending, acceptance.payment_session.capture_succeeded, acceptance.payment_session.capture_failed, acceptance.payment_session.refund_pending, acceptance.payment_session.refund_succeeded, acceptance.payment_session.refund_failed, acceptance.payment_session.void_pending, acceptance.payment_session.void_succeeded, acceptance.payment_session.void_failed, acceptance.mandate.created, acceptance.mandate.canceled, acceptance.mandate.approval_initiated, acceptance.mandate.approval_succeeded, acceptance.mandate.approval_failed, acceptance.mandate.revocation_initiated, acceptance.mandate.revocation_succeeded, acceptance.mandate.revocation_failed, acceptance.disbursement.pending, acceptance.disbursement.succeeded, acceptance.disbursement.failed, acceptance.top_up_link.created, acceptance.top_up_link.funds_added, health.status.updated, health.maintenance.scheduled, health.maintenance.started, health.maintenance.completed, health.maintenance.canceled, customers.capability.changed, customers.customer.deleted, customers.requirement.changed Effective filters stored on the webhook subscription. The response includes client-supplied labels plus labels defaulted or injected by the server.
onchain.activity.detected,wallet.activity.detected, andwallet.activity.multiincludenetwork. It defaults tobase-mainnetwhen omitted from the request.wallet.activity.multiincludes the requested comma-separatedwallet_addresses.health.*includes the requestedservice.- Project-scoped events include the authenticated
project. - Entity-scoped events include the authenticated
entity. - User-scoped events include the authenticated
user_uuidand asandboxvalue.