billing
POST /v1/billing.open_customer_portal
Create a billing portal session for a customer to manage their subscription.
Request
- Base URLhttps://api.useautumn.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-versionstring required
Request body
Example request
{
"customer_id": "cus_123",
"return_url": "https://useautumn.com"
}Response
OK
Example response
{
"customer_id": "cus_123",
"url": "https://billing.stripe.com/session/..."
}Changes
No recorded changes to this operation across all 1 revision of this API.