Create webhook subscription
Subscribe to real-time events across CDP products. A webhook subscription provides a targetURL and other relevant endpoint configuration to enable receiving webhooks when events occur.
An entity can have up to 100 webhook subscriptions. Once this limit is reached, new webhook subscription creation requests return a 400 error with errorType: subscription_limit_exceeded.
Webhook Signature Verification
All webhooks include an HMAC-SHA256 signed header for security. The signature is signed with the secret that is returned in the secret field when creating a subscription.
Do not lose the secret, as you will not be able to recreate it. If you lose the secret, you will need to create a new subscription.
See the verification guide for implementation details.
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.
Body
Request to create a new webhook subscription with support for multi-label filtering.
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"). The subscription will only receive events matching these types AND the label filter(s).
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 created 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.