Create a plan
Creates a new plan for the authenticated company. Fees, credit grant policies, and pricing catalogs are attached with separate calls after creation.
Authentication
AuthorizationBearer
API key obtained from the Grant dashboard
Request
This endpoint expects an object.
name
Display name of the plan
plan_code
Unique, human-readable plan identifier (lowercase letters, numbers, and underscores). Derived from the name when omitted.
type
Billing model: classic usage-based (usage, default) or credit-based (credits)
currency_code
Currency the plan bills in. Defaults to usd.
invoicing_cadence
How often invoices are issued. Defaults to monthly.
initial_credit_quantity
Initial credit quantity granted on subscription start (credit-based plans only)
Response
Plan created
success
plan
request_id
Errors
400
Bad Request Error
401
Unauthorized Error
409
Conflict Error
500
Internal Server Error
