Code Example
Refer to our Billing Portal Integration Guide for more information and code examples.
Always perform an authorization check on your backend first and never pre-generate the secret URL, as it would otherwise expire before the customer opens it.
201
text response if successful. Finally, redirect the customer to the URL returned by the authenticate endpoint using a 302
redirect (see example).
Once there, your customer will have access to their billing portal, where they can:
- View and update their billing information
- Manage their payment methods
- View their subscription details
- Track their current usage
- Upgrade or downgrade their plan
- View their billing history and download invoices
Authorizations
Body
application/json
A filter to select a customer to authenticate
Response
201 - application/json
The response is of type string
.