Plans
Add a price to a plan
Changed onAdd a price in a specific currency to a plan. Each plan can have one price per currency.
post/api/plans/{id}/prices
Request
- Base URLhttps://api.novabilling.one
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Plan ID
Request body
Example request
{
"currency": "NGN",
"amount": 9999.99
}Response
Price added to plan
Example response
{
"id": "clx1234567890",
"planId": "clxplan123",
"currency": "USD",
"amount": "49.9900",
"isActive": true
}Changes
- info
added the media type
application/jsonfor the response with the status
- info