For Chargebee, Recurly, Stripe Billing, and Braintree Subscriptions, Revtain provides direct connectors that require no code on your side. Paste a single webhook URL into your billing platform settings — Revtain handles everything.Documentation Index
Fetch the complete documentation index at: https://docs.revtain.com/llms.txt
Use this file to discover all available pages before exploring further.
How Connectors Work
Select your billing platform during onboarding
Provide your platform API key (Chargebee API key, Recurly API key, etc.).
Paste it into your billing platform's webhook settings
Select the relevant payment failure event (e.g.,
payment_failed).No webhook handler to write. No API calls to make. No code to deploy.
Supported Connectors
| Platform | Webhook URL Pattern | Event Handled |
|---|---|---|
| Chargebee | https://api.revtain.com/api/connectors/chargebee/webhook/{clientId} | payment_failed |
| Recurly | https://api.revtain.com/api/connectors/recurly/webhook/{clientId} | failed_payment |
| Stripe Billing | https://api.revtain.com/api/connectors/stripe-billing/webhook/{clientId} | invoice.payment_failed |
| Braintree Subscriptions | https://api.revtain.com/api/connectors/braintree/webhook/{clientId} | subscription_went_past_due |
Setup Instructions
Chargebee
Chargebee
- During Revtain onboarding, select Chargebee as your billing platform
- Enter your Chargebee API key and site name (the
xxxinxxx.chargebee.com) - In Chargebee, go to Settings → Configure Chargebee → Webhooks
- Add a new webhook with the URL shown in your credentials modal (includes your client ID)
- Select the
payment_failedevent
- Looks up the customer’s Stripe payment token from Chargebee’s payment sources
- Runs the recovery engine with the decline code from the failed transaction
- On success, records the payment on the Chargebee invoice
Recurly
Recurly
- During Revtain onboarding, select Recurly as your billing platform
- Enter your Recurly API key and subdomain
- In Recurly, go to Integrations → Webhooks
- Add a new webhook endpoint using the URL from your credentials modal
- Select the
failed_paymentevent
- Retrieves the gateway token from the customer’s billing info via Recurly’s API
- Runs the recovery engine
- On success, records an external payment on the Recurly account
Stripe Billing
Stripe Billing
- During Revtain onboarding, select Stripe Billing as your billing platform
- Your Stripe secret key is already provided as your gateway key — no additional key needed
- In Stripe, go to Developers → Webhooks
- Add a new endpoint using the URL from your credentials modal
- Select the
invoice.payment_failedevent
- Looks up the customer’s default payment method via the Stripe API
- Runs the recovery engine with the invoice decline code
- On success, pays the Stripe invoice via the Stripe API
Braintree Subscriptions
Braintree Subscriptions
- During Revtain onboarding, select Braintree as your billing platform
- Your Braintree credentials are already provided as your gateway key — no additional key needed
- In Braintree, go to Settings → Webhooks
- Add a new webhook destination using the URL from your credentials modal
- Select the
Subscription Went Past Duenotification
- Extracts the payment method token directly from the subscription data
- Runs the recovery engine with the processor response code
- On success, Braintree detects the payment and updates the subscription status
Connector vs. API Integration
| Connector (Recommended) | API Integration | |
|---|---|---|
| Code required | None — paste one URL | Webhook handler + API calls |
| Setup time | 5 minutes | 30-60 minutes |
| Invoice reconciliation | Automatic | Manual (in your webhook handler) |
| Available for | Chargebee, Recurly, Stripe Billing, Braintree | Any billing system |
| Customisation | Standard recovery flow | Full control |
Using a different billing platform? Use the API integration — Revtain works with any system that can make HTTP calls.