Billing
Apply a promotion code to the running subscription
Applies a promotion code, as a customer types it, to the workspace's running subscription (a new subscription takes a code as promotion_code on POST /billing/checkout). A code is accepted only when it belongs to this deployment, because a Stripe account can be shared with other products: it was created through the operator console, or its coupon is limited to this deployment's Stripe products. An unknown, inactive or foreign code is a 404. Requires billing:manage.
post/billing/promotion-code
Request
- Base URL: https://api.customdomain.ai/v1
- URL: https://api.customdomain.ai/v1/billing/promotion-code
- Auth: HTTP bearer
Request body
Response
The new billing status
Changes
No recorded changes to this operation across all 1 revision of this API.