Skip to main content
Create and manage webhook subscriptions for Payment Acceptance events. Payment Acceptance uses the same CDP webhook infrastructure as other CDP products.

Prerequisites

You will need:
  • Your CDP API Key ID and secret
  • A webhook notification HTTPS URL
  • Install the CDP CLI and run cdp env live --key-file ./cdp_api_key.json once to configure credentials.

1. Review the configuration

Decide which Payment Acceptance events to receive. You can subscribe to all events or only the ones you need.

Payment session events

Disbursement events

2. Subscribe

Create the subscription with the CDP CLI. Store the returned subscriptionId and secret - you’ll need the secret for signature verification. Subscribe to all Payment Acceptance events:
Subscribe to only the events that matter most (authorization and capture outcomes):
Save the secret from the response. You’ll need it to verify incoming webhook signatures. It is only returned at creation time.
If your webhook URL requires custom headers (e.g., an API key), pass them inline:

Manage subscriptions

Use the subscriptionId from the creation response to view, update, or delete subscriptions. List all subscriptions:
View a subscription:
Update a subscription (full replace - pass every field, including ones you aren’t changing):
Delete a subscription:
Re-enable a disabled subscription:

Verification

Verify webhook signatures

Example payloads

Event payload shapes