The catalogue this org can move to
const url = 'https://api.sloose.com/billing/plans';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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.sloose.com/billing/plans \ --header 'Authorization: Bearer <token>'Every active plan version, cheapest first, with the plan the org is on now.
intervals says which billing periods Checkout can actually sell on this deployment — a plan is purchasable only once its Stripe prices are attached, and Free is never purchasable. A client should offer only what is true here rather than assuming every plan can be bought.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The catalogue, with the current plan called out.
object
object
object
Order, cheapest first.
send_invoice for a plan billed by invoice rather than card.
object
CRM users allowed to use the widget; null = unlimited.
Production connectors the org may have; null = unlimited. CSV uploads do not count.
Import runs that write at least one row, per period; null = unlimited (fair use). Dry runs never count.
The most rows one import set may declare. Checked before anything is written.
Server-side runs only. Browser runs are never refused on it.
USD per 1,000 rows beyond rows_per_month, server-side runs only; null = not offered.
Null = unlimited.
object
Whether Checkout can sell this plan at this interval here.
object
Example
{ "current": { "key": "free" }, "plans": [ { "key": "free" } ]}No bearer, or one that is expired, revoked or no longer resolves to a member.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}The bearer’s role is too low, or it was issued for a different org.
The error envelope every non-2xx answer uses.
object
Human-readable explanation.
Machine-readable reason. Absent on a few legacy 400s.
Examplegenerated
{ "error": "example", "code": "example"}