The subscriptions module manages the recurring-billing lifecycle on top of the products and payments modules. Customers can subscribe to a product, choose a billing interval, pause and resume, swap variants, and cancel. The module schedules renewal charges through whichever payment provider is configured underDocumentation Index
Fetch the complete documentation index at: https://86d.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
@86d-app/payments.
Source: modules/subscriptions · npm: @86d-app/subscriptions
Installation
@86d-app/products, @86d-app/orders, and @86d-app/payments to be enabled.
Configuration
Store endpoints
| Method | Path | Description |
|---|---|---|
POST | /subscriptions | Create a subscription |
GET | /subscriptions/me | List the customer’s subscriptions |
GET | /subscriptions/me/:id | Get a single subscription |
POST | /subscriptions/me/:id/pause | Pause renewals |
POST | /subscriptions/me/:id/resume | Resume |
POST | /subscriptions/me/:id/swap | Swap variant |
POST | /subscriptions/me/:id/cancel | Cancel |
Admin endpoints
| Method | Path | Description |
|---|---|---|
GET | /admin/subscriptions | List subscriptions (filter by status, customerId) |
GET | /admin/subscriptions/:id | Detail |
POST | /admin/subscriptions/:id/refund | Refund a renewal charge |
GET | /admin/subscriptions/upcoming | Renewals due in the next N days |
Lifecycle
Components
<SubscriptionPlanCard plan={...} />: storefront upsell card.<SubscriptionsList />: customer self-service list.<SubscriptionDetail id={...} />: management UI with pause / cancel actions.
Related modules
- Payments: processes renewal charges.
- Customers: owns the customer record.
- Memberships: for paid access plans rather than per-product subscriptions.

