ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiPlans

Create a subscription plan

POST
/api/v1/plans

Creates a recurring-billing plan on a project. projectId is optional for project-scoped API keys. Checkout URL: /subscribe/:planId.

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Request Body

application/json
  1. body

Response Body

Example Request
curl -X POST 'http://localhost:3001/api/v1/plans' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response201
Empty