Custom Webhook
Use the custom webhook endpoint to connect any payment provider, billing system, or internal tool to Windback.Endpoint
pub_ and is found in Settings > API Keys.
Payload Format
Send a JSON body with the following fields:Free-text reason for cancellation. Windback AI uses this to select the optimal recovery strategy.
Name of your payment provider (e.g.,
paddle, lemonsqueezy, internal). Used for analytics grouping.Cancel Reason to AI Strategy Mapping
When a cancel reason is provided, Windback AI maps it to the most effective recovery strategy:The AI considers the cancel reason alongside customer tenure, MRR, and behavioral data to select the best combination of strategies. The table above shows the primary strategy; all 9 variants are still generated.
Example Request
Response
The endpoint always returns HTTP 200 with a JSON body:Webhook Resilience
The custom webhook endpoint always returns HTTP 200 regardless of internal processing status. This prevents your system from treating transient errors as failures.