v2

latestOpenAPI 3.0.0raw.githubusercontent.com2026-02-16143114179.4 KB
Plans

Add a price to a plan

Add a price in a specific currency to a plan. Each plan can have one price per currency.

post/api/plans/{id}/prices

Path parameters

idstring required

Plan ID

Request body

currencystring required

ISO currency code

amountnumber required

Price amount

Example request

{
  "currency": "NGN",
  "amount": 9999.99
}

Response

Price added to plan

idstring required
planIdstring required
currencystring required
amountstring required

Decimal amount as string

isActiveboolean required
createdAtstring required
updatedAtstring required

Example response

{
  "id": "clx1234567890",
  "planId": "clxplan123",
  "currency": "USD",
  "amount": "49.9900",
  "isActive": true
}