Billing
Open billing portal or checkout
Requires scope: manage. Returns a Stripe Billing Portal URL when already subscribed, otherwise a Checkout URL to subscribe. A workspace on an active paid plan with no Stripe subscription on file gets 409 billing_state_inconsistent instead of a Checkout URL, since subscribing again would bill it twice: contact support@mails.ai. Closed to apps connected by sign-in (403 connected_app_not_allowed): use the dashboard, an API key or the mails CLI.
post/v1/billing/portal
Request
- Base URL: https://api.mails.ai
- URL: https://api.mails.ai/v1/billing/portal
- Auth: HTTP bearer
Request body
Response
A redirect URL.
Changes
No recorded changes to this operation across all 1 revision of this API.