Base URL
Two API types
Cuprice has two types of API endpoints: Public Endpoints — No authentication needed. Used by the embed widget. API v1 — Requires an API key. Full CRUD for projects, features, and plans.Authentication
Public Endpoints
GET /api/share/{shareId}
Get project data (plans, features, theme)
GET /api/share/{shareId}/checkout-payload
Get the price and features handed to your checkout
GET /api/billing/public/{shareId}
Get visible plans and features for the billing widget
Cuprice no longer runs checkout, and its old checkout endpoints are gone. The pricing page sends buyers to the checkout link you set, and your payment provider records the payment.
API v1 — Projects, Features, Plans
Projects
List, create, update, delete projects. Update theme and custom CSS.
Features
Manage feature backlog — standard, limits, and usage-based features.
Plans
Create, update, delete, and duplicate pricing plans.
Plan Features
Assign features to plans, set multipliers, remove features.
Subscription Events
Report subscriptions your checkout created, changed or canceled.
