Chargebee Webhook

Cello makes it easy to connect securely to your Chargebee subscription and payment provider to automate transaction events, attribution, and payouts. Transactions are monitored and used to payout referrers based on your campaign reward rules

How does it work?

A notification event is securely sent to Cello through the webhook endpoint every time a customer makes a payment or a customer record is created or updated. Cello checks these events to perform the following actions:

  • Determine if a reward for referrer needs to be created and paid out
  • Inform the referrer on new signups and rewards
  • Cancel recurring rewards if a subscription is cancelled

If the automation of Cello detects unclear cases the automation will be paused and Cello will reach out to you to clarify the case.

Connecting Chargebee

You will add a Webhook to your Chargebee configuration to connect Chargebee and Cello. This can be done in both test and production environments separately. To set up:

  1. Log in to your Chargebee dashboard.

  2. From the sidebar, select Settings > Configure Chargebee and click on Webhooks.

  3. Click on "+ Add Webhook" and fill out the Endpoint URL provided based on the environment.

  4. Select the events you want to send under "Events to Send." Select the events

    1. Customer Created, Customer Changed, Customer Deleted
    2. Payment Succeeded, Payment Refunded, Payment Failed
  5. To secure the webhook, select Protect webhook URL with basic authentication and add the product_id and secret provided in the Cello Portal.

  6. Be sure to select Exclude card Information from webhook call

  7. Finally click Create to enable the webhook

Make sure to select "Exclude card information from webhook call"

Endpoint created 🎉

Endpoint URLs

Use the Endpoint URL that corresponds with the environment. ProductId is different for each environment and is provided in the Cello Portal.

Endpoint URLEnvironment
https://api.sandbox.cello.so/products/{your_productId}/transaction-webhook/chargebeeDev and Stage
https://api.cello.so/products/{your_productId}/transaction-webhook/chargebeeProd
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard