productType: "subscription") and managed via cancellation and status transitions.
Subscription Status Values
| Status | Description |
|---|---|
pending | Subscription created, awaiting first payment |
active | Active and billing normally |
trialing | In free trial period |
canceling | Cancellation requested, active until period end |
past_due | Payment failed, retrying |
canceled | Subscription ended, no further billing |
expired | Subscription expired |
Endpoints
Create Subscription Order
Create a subscription order using a checkout session.
Cancel Subscription
Cancel an active or pending subscription.
Coming Soon
The following endpoints are planned but not yet implemented (currently return501 Not Implemented):
- Change Product (
POST /v1/actions/subscription-order/change-product) — Upgrade or downgrade a subscription to a different product. - Reactivate Subscription (
POST /v1/actions/subscription-order/reactivate-order) — Reactivate a canceled subscription.