curl --request GET \
  --url https://api.useautumn.com/v1/customers/{customer_id}/billing_portal \
  --header 'Authorization: Bearer <token>'
{
  "url": "https://billing.stripe.com/session/<hash>"
}

Authorizations

Authorization
string
header
required

Your secret key must be used as the Bearer token for this endpoint.

Path Parameters

customer_id
string
required

ID which you provided when creating the customer

Response

200 - application/json
Successfully retrieved billing portal URL
url
string

URL to access the customer's billing portal