kepa
Subscriptions/createPrice

Create a price

Planned
Planned. 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/prices
A recurring price — an amount on a billing interval — that subscriptions attach to.

Request body

application/json

productNamestringRequired
Example "Pro plan"
amountMinorintegerRequired
Example 1999
currencyCodestringRequired
Example "USD"
intervalenumRequired
dayweekmonthyear
Example "month"
intervalCountinteger
Example 1

Response

application/json

idstring
Example "price_pro_monthly"
productNamestring
Example "Pro plan"
amountMinorinteger
Example 1999
currencyCodestring
Example "USD"
intervalstring
Example "month"
intervalCountinteger
Example 1

createPrice