Subscriptions/createPrice
Create a price
PlannedPlanned. This contract is published ahead of the build. It is not callable yet — treat it as the shape to design against, not a live endpoint.
Define a recurring or one-off price for subscriptions and invoices.
POST
/v1/pricesA recurring price — an amount on a billing interval — that subscriptions attach to.
Request body
application/json
productNamestringRequiredExample "Pro plan"
amountMinorintegerRequiredExample 1999
currencyCodestringRequiredExample "USD"
intervalenumRequireddayweekmonthyearExample "month"
intervalCountintegerExample 1
Response
application/json
idstringExample "price_pro_monthly"
productNamestringExample "Pro plan"
amountMinorintegerExample 1999
currencyCodestringExample "USD"
intervalstringExample "month"
intervalCountintegerExample 1
createPrice