Create customer billing portal
API Refs
- Staging: Create customer billing portal
Request body
Name | Type | Description | Required |
---|---|---|---|
customer | string | StripeCustomerID or email address | yes |
return_url | string | URL to return to when the customer exits the portal | yes |
Response
Returns a billing portal session object containing:
url
: The customer portal URL to redirect your customer to
Description
This endpoint creates a Stripe billing portal session for your customers to manage their subscriptions, payment methods, and billing details. The portal allows customers to:
- Update payment methods
- Download invoices
- Cancel or modify subscriptions
- Update billing information
This provides a complete self-service experience without requiring you to build these features yourself.
Updated 3 days ago