Admin - Plans
Admin - Plans

Create Plan Option

Create a billing option for a plan

post/api/v1/admin/plans/{plan_id}/options

Request

  • Base URL: https://api.gemstoneaiapp.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gemstoneaiapp.com/api/v1/admin/plans/{plan_id}/options
  • Auth: none declared

Path parameters

plan_idinteger required

Headers

x-admin-keystring nullable

Request body

billing_periodstring required
billing_interval_countinteger
currencystring
display_namestring nullable
savings_textstring nullable
trial_period_daysinteger
gateway_dataobject nullable

Response

Successful Response

idinteger required
plan_idinteger required
billing_periodstring required
billing_interval_countinteger required
pricestring required
currencystring required
display_namestring nullable required
savings_textstring nullable required
trial_period_daysinteger required
gateway_dataobject nullable required
is_activeboolean required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.