Home
>
API Integration
>
Trigger retries

Trigger retries

Campaign timing can line up with the retry schedule of your subscription management tool.

Additionally, Churn Buster can send webhooks for your app to re-attempt charges at optimal times during the campaign.

To trigger this behavior, implement a URL that can receive the following (sample) JSON from Churn Buster.

Once you've implemented that webhook receiver, contact the Churn Buster team (in chat or at support@churnbuster.io) to let us know the URL, and we can finish setup on our end.

Sample Webhook JSON:

{    
 "account_id": "57411fbf-b508-41d7-af7a-6ca55bf04577",     "event": {      
   "id": "d9623c21-6919-4165-bd21-d423cf031a33",
   "name": "Retry Payment",
   "type": "scheduled",
   "customer": {
     "id": "f968f5c6-16dd-49b1-852b-49d23f33d718",
     "email": "sarah@example.com",
     "properties": {
       "first_name": "Sarah",
       "last_name": "Doe"
     },
     "source": "stripe",
     "source_id": "cus_abc123",
     "card_upate_page_url": "https://example.com/update-billing.html?c=f968f5c6-16dd-49b1-852b-49d23f33d718&s=v1_6871fc30ff4d53247e02399f222169333f263b"
   },
   "campaign": {
     "id": "0c707e1e-7848-4783-a149-250035762783",
     "amount": {
       "cents": 4999,
       "currency": "USD",
       "formatted": "$49.99"
     },
     "started_at": "2017-11-15T23:21:34Z"
   }
 }
}

These webhook actions apply similarly for lockouts, escalations, or other custom behaviors.

  • You have control over the name of the event, and can either send multiple webhook types (with different names) to the same webhook URL, or you can have multiple webhook URLs where Churn Buster delivers webhooks.