Account & Tiers
The developer account behind an API plan: its tier, how many businesses it is paying for this month, its trial and payment state, and settling an account that was blocked for an unpaid charge. Every /platform route needs an owner — an owner API key of the developer account, or an owner signed in to the dashboard. A blocked account can still call the GET routes and settle; everything else waits until it has paid.
/public/api-pricingThe API plan tiers and their current prices. Public: no API key needed, so a pricing page can read it directly.
Request
curl -X GET "https://api.glance.co.il/public/api-pricing" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Response
{
"tiers": [
{
"code": "solo",
"label": "Solo",
"description": "עסק אחד — מערכת שאתם בונים לעסק שלכם.",
"monthlyPrice": 19,
"includedBusinesses": 1,
"pricePerExtraBusiness": 18.9,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "startup",
"label": "Startup",
"description": "עד 5 עסקים מחוברים.",
"monthlyPrice": 89,
"includedBusinesses": 5,
"pricePerExtraBusiness": 16.9,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "growth",
"label": "Growth",
"description": "עד 25 עסקים מחוברים.",
"monthlyPrice": 350,
"includedBusinesses": 25,
"pricePerExtraBusiness": 13.9,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "pro",
"label": "Pro",
"description": "עד 50 עסקים מחוברים.",
"monthlyPrice": 645,
"includedBusinesses": 50,
"pricePerExtraBusiness": 12.5,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "scale",
"label": "Scale",
"description": "עד 100 עסקים מחוברים.",
"monthlyPrice": null,
"includedBusinesses": 100,
"pricePerExtraBusiness": null,
"contactSales": true,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "enterprise",
"label": "Enterprise",
"description": "עד 500 עסקים מחוברים.",
"monthlyPrice": null,
"includedBusinesses": 500,
"pricePerExtraBusiness": null,
"contactSales": true,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
}
]
}/platform/tiersThe tiers the account can be on, in display order — the same list as GET /public/api-pricing, for an authenticated owner.
Request
curl -X GET "https://api.glance.co.il/platform/tiers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Response
{
"tiers": [
{
"code": "solo",
"label": "Solo",
"description": "עסק אחד — מערכת שאתם בונים לעסק שלכם.",
"monthlyPrice": 19,
"includedBusinesses": 1,
"pricePerExtraBusiness": 18.9,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "startup",
"label": "Startup",
"description": "עד 5 עסקים מחוברים.",
"monthlyPrice": 89,
"includedBusinesses": 5,
"pricePerExtraBusiness": 16.9,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "growth",
"label": "Growth",
"description": "עד 25 עסקים מחוברים.",
"monthlyPrice": 350,
"includedBusinesses": 25,
"pricePerExtraBusiness": 13.9,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "pro",
"label": "Pro",
"description": "עד 50 עסקים מחוברים.",
"monthlyPrice": 645,
"includedBusinesses": 50,
"pricePerExtraBusiness": 12.5,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "scale",
"label": "Scale",
"description": "עד 100 עסקים מחוברים.",
"monthlyPrice": null,
"includedBusinesses": 100,
"pricePerExtraBusiness": null,
"contactSales": true,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
{
"code": "enterprise",
"label": "Enterprise",
"description": "עד 500 עסקים מחוברים.",
"monthlyPrice": null,
"includedBusinesses": 500,
"pricePerExtraBusiness": null,
"contactSales": true,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
}
]
}/platform/accountThe developer account the calling company belongs to: its tier, its connected businesses and estimated charge for a month, its trial, whether it is blocked, and whether it has a payment method.
Query Parameters
| Name | Type | Description | |
|---|---|---|---|
month | string | The month to count, as `YYYY-MM`. Defaults to the current month; any other format is ignored and the current month is used. |
Request
curl -X GET "https://api.glance.co.il/platform/account" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Response
{
"isPlatform": true,
"tier": {
"code": "startup",
"label": "Startup",
"description": "עד 5 עסקים מחוברים.",
"monthlyPrice": 89,
"includedBusinesses": 5,
"pricePerExtraBusiness": 16.9,
"contactSales": false,
"documents": "unlimited",
"fairUseDocumentsPerBusiness": 10000,
"currency": "ILS",
"vatIncluded": false
},
"usage": {
"month": "2026-11",
"connectedBusinesses": 7,
"includedBusinesses": 5,
"extraBusinesses": 2,
"platformCounted": true,
"fairUseDocumentsPerBusiness": 10000,
"businessesOverFairUse": 0,
"estimatedCharge": 122.8
},
"platform": {
"visibleId": "3f0b6c1d-8e2a-4c5b-9d7e-1a2b3c4d5e6f",
"name": "Acme Software בע״מ",
"trialEndDate": "2026-11-21T00:00:00.000Z",
"inTrial": true,
"isBlocked": false,
"hasPaymentMethod": false
}
}/platform/tierMove the developer account to another tier — an upgrade or a downgrade, effective immediately.
Body Parameters
| Name | Type | Description | |
|---|---|---|---|
tier | string | required | Tier code: "solo", "startup", "growth", "pro", "scale" or "enterprise". See GET /platform/tiers for the current prices. "scale" and "enterprise" are contact-sales tiers that Glance assigns. |
Request
curl -X PUT "https://api.glance.co.il/platform/tier" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tier": "example_tier"
}'Response
{
"success": true,
"changed": true,
"tier": "growth"
}/platform/billing/settleCharge everything that is overdue now and, if the charge succeeds, unblock the developer account and every business under it.
Request
curl -X POST "https://api.glance.co.il/platform/billing/settle" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Response
{
"companyId": 4812,
"success": true,
"totalCharged": 144.9
}