Send signup and purchase events to Cello using Stripe Webhook
Field | Description | Stripe Object |
---|---|---|
cello_ucc | Referral code identifying the referrer | Stripe Customer Object, attribute:metadata |
new_user_id | Your system’s unique user ID. Same as productUserId used in Referral Component when booting the SDK | Stripe Customer Object, attribute:metadata |
new_user_organization_id | Organization ID (optional). Required only for organization-level referrals and rewards | Stripe Customer Object, attribute:metadata |
coupon | New user discount code | Stripe Checkout Session object, attribute: discount |
Log into your Stripe Dashboard
Go to Developer Mode
Add a Webhook endpoint
Enter the Endpoint URL
Select the events to send
charge.refunded
, charge.succeeded
, charge.updated
customer.created
, customer.deleted
, customer.updated
customer.subscription.created
, customer.subscription.deleted
, customer.subscription.updated
invoice.paid
Click "Add endpoint"
Secure the Webhook
whsec_