Skip to main content

Plans API

Plans define price, currency, interval, trial length, invoice limits, and status. All plan endpoints require X-Api-Key.

Plan object

POST /v1/plan/

Create a plan.

Request body

Response

GET /v1/plan/

List plans.

Query parameters

Response

GET /v1/plan/:planCode

Retrieve one plan.

Response

PUT /v1/plan/:planCode

Update a plan. The engine creates a new plan version after an update.

Request body

Response