RetryBolt API

A plain REST API over the same resources the dashboard uses: connections, campaigns, the failed-payments inbox, customers, and analytics. Team-scoped routes need a signed-in session; webhook and card-update routes are public. Full machine-readable spec: /api/retrybolt/openapi.json.

/api/retrybolt/audit

POSTRun a free, read-only audit against a Dodo API key

/api/retrybolt/checkout

POSTCreate a Dodo checkout session for RetryBolt's Starter/Growth plan

/api/retrybolt/card-update/{token}

GETResolve a card-update token to a processor-hosted link
POSTResolve and mark the token used

/api/retrybolt/integrations/stripe-webhook

POSTStripe Connect webhook (invoice.payment_failed and recovery events)

/api/retrybolt/integrations/paddle-webhook

POSTPaddle Billing webhook (transaction.payment_failed, subscription.past_due)

/api/webhooks/dodo

POSTDodo webhook (payment.failed, subscription.renewed, ...)

/api/retrybolt/unsubscribe/{token}

POSTStop all future dunning email for the end-customer behind this token

/api/retrybolt/cancel/{token}

GETResolve a cancel-flow token to the amount/customer context
POSTSubmit a cancel-flow action: accept_pause, request_discount, or confirm_cancel

/api/retrybolt/banner

GETIn-app banner payload for a connectionId + customerRef, used by the widget.js snippet

/api/retrybolt/widget.js

GETThe embeddable in-app banner script itself (text/javascript)

/api/teams/{slug}/retrybolt/connections

GETList connected payment processor accounts
POSTConnect a payment processor account (API key encrypted at rest)

/api/teams/{slug}/retrybolt/connections/{id}

PATCHToggle AI dunning-copy fallback for a connection

/api/teams/{slug}/retrybolt/connections/{id}/backfill

POSTImport historical failed payments for a Dodo connection (Dodo only today)

/api/teams/{slug}/retrybolt/campaigns

GETList recovery campaigns
POSTCreate a recovery campaign

/api/teams/{slug}/retrybolt/campaigns/{id}

GETGet a campaign with its steps
PUTUpdate a campaign
DELETEDelete a campaign

/api/teams/{slug}/retrybolt/campaigns/{id}/steps

GETList a campaign's steps
POSTAdd a step (channel, offset, subject/body)

/api/teams/{slug}/retrybolt/campaigns/{id}/steps/{stepId}

GETGet a step
PUTUpdate a step
DELETEDelete a step

/api/teams/{slug}/retrybolt/campaigns/{id}/steps/{stepId}/preview

POSTRender a live react-email preview of a step

/api/teams/{slug}/retrybolt/sequences

GETList failed-payment sequences (the inbox), filterable by status/processor

/api/teams/{slug}/retrybolt/sequences/{id}

GETGet a sequence with its timeline

/api/teams/{slug}/retrybolt/sequences/{id}/retry

POSTManually re-send the current dunning step now

/api/teams/{slug}/retrybolt/sequences/{id}/recover

POSTManually mark a sequence recovered

/api/teams/{slug}/retrybolt/customers

GETList known end-customers

/api/teams/{slug}/retrybolt/customers/{id}

GETGet a customer with their sequences

/api/teams/{slug}/retrybolt/customers/export

GETExport known end-customers as CSV

/api/teams/{slug}/retrybolt/sequences/export

GETExport failed-payment sequences as CSV, same filters as the list endpoint

/api/teams/{slug}/retrybolt/suppressions

GETList suppressed (unsubscribed) end-customer emails
POSTSuppress an email -- cancels every open sequence for it immediately

/api/teams/{slug}/retrybolt/suppressions/{id}

DELETERemove a suppression

/api/teams/{slug}/retrybolt/cancellations

GETList cancel-flow outcomes and saved-revenue summary

/api/teams/{slug}/retrybolt/events

GETWebhook/funnel event log

/api/teams/{slug}/retrybolt/analytics/recovered-revenue

GETRecovered vs lost revenue by day

/api/teams/{slug}/retrybolt/analytics/cohorts

GETRecovery rate by monthly failure cohort

/api/teams/{slug}/retrybolt/analytics/decline-codes

GETFailures and recoveries grouped by decline code

/api/teams/{slug}/retrybolt/analytics/step-performance

GETSend/open/recovery rate by campaign step order

/api/teams/{slug}/retrybolt/notifications

GETList in-app notifications
POSTMark one or all notifications read

/api/teams/{slug}/retrybolt/onboarding

GETComputed onboarding checklist state