Generates a URL to a hosted billing portal where the customer can view invoices, update payment methods, and manage billing details. Redirect the customer to the returned URL.
API key authentication. Include your API key in the Authorization header as: Bearer
The unique identifier of the customer
Request to create a billing portal session for a customer
URL to redirect the customer to after they exit the billing portal
The billing portal session containing the redirect URL
Response containing the billing portal URL
URL to redirect the customer to for the billing portal