Skip to navigation

Mint a billing-portal token

View as Markdown

Mints the 15-minute company-scoped token the embedded billing portal renders with. Authorization: a human org admin — an org API key carries role: admin but must not be able to change the plan or the card.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

A billing-portal token and its component id.

tokenstring
componentIdstring

Errors

503
Service Unavailable Error