List public plans and prices
const url = 'https://api.pitch2sale.com/api/v1/public/plans';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.pitch2sale.com/api/v1/public/plansUnauthenticated; the pricing page reads it. currency (query) is USD (default) or INR; anything else is a 400. Amounts are minor units (cents or paise) and exclude tax; a price that is not set is null, never 0. currencies are the ones checkout accepts today; checkout.self_serve says whether a plan can be bought without sales, and checkout.gst_percent is the tax added to INR prices. Per plan: unit says what a price buys (seat = per user, workspace = one flat price), min_seats and max_seats bound the seat count (max_seats null = no upper limit), max_seats_online is the most seats checkout takes online per interval (in USD also capped by the 15,000 card limit), allowances_per_seat is multiplied by the paid seats and pooled across the company, allowances_per_company is fixed per company (null = unlimited), and intervals are the billing intervals checkout accepts for that plan in this currency (a yearly amount is null where yearly is not sold in this currency). These are the plan’s own values: an arrangement made for one customer never appears. 60 requests per minute per IP.
Responses
Section titled “Responses”The public plans in display order
object
object
object
object
object
object
object
Example
{ "currency": "USD", "currencies": [ "USD" ], "plans": [ { "unit": "seat", "intervals": [ "monthly" ] } ]}Unsupported currency
object
object
Examplegenerated
{ "error": "example", "code": "example", "message": "example", "details": [ { "field": "example", "message": "example", "code": "example" } ]}Rate limit exceeded
object
object
Examplegenerated
{ "error": "example", "code": "example", "message": "example", "details": [ { "field": "example", "message": "example", "code": "example" } ]}