Create a plan
Create a subscription plan.
Authentication
x-api-keystring
Account API key used to authenticate server-side requests. Use the credentials issued for the same environment as the API base URL.
Headers
Idempotency-Key
Unique key used to safely retry the same state-changing request.
Request
This endpoint expects an object.
name
amount
currency
billing_interval
Allowed values:
description
features
Response
Subscription plan created successfully.
message
data
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error