There's an API endpoint that will return a Capture URL for a specific customer. This URL can be used to link customers directly from your application in case you want to prompt users for updated payment information.

The endpoint is https://api.churnbuster.io/v1/customers and the required parameters are source and source_id.

Here's an example request:

curl "https://api.churnbuster.io/v1/customers?source=stripe&source_id=cus_abc123" \
     -H 'Content-Type: application/json' \
     -u 'ACCOUNT_ID:API_KEY'

And here's an example response:

{
  "capture_url": "https://example.com/update-billing.html?c=CUSTOMER_ID&s=SIGNATURE"
}
Did this answer your question?