billing

GET /v1/trials/eligibility

Can this organization start a trial on this plan, and on what terms?

All billing endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The endpoint checks billing.view; a key without it is refused with 403, not 404.

Where your organisation id goes

This endpoint takes org_id as a query parameter. Leave it out and the call covers your whole tenancy subtree; send it to narrow the call to one organisation.

Your organisation id is on the API keys screen in your dashboard, beside the key itself. It is the same id in every call you make.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/trials/eligibility?plan_code=<plan_code> \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Lets a CTA be honest before it is clicked. Without it the only way to learn that a plan has no trial, or that this organization has already had one, is to press the button and read a 422 — which is how a "Start free trial" button that cannot start a free trial stays on a pricing page for months. reason distinguishes the cases deliberately: "this plan has no trial" and "you have already had yours" lead a customer to do completely different things, and a bare eligible: false would collapse them into one shrug.

Parameters

NameTypeRequiredWhat it is
device_id (query)stringNodocs/1000 §1 — the dashboard's per-browser id for the free-trial abuse guard.
plan_code (query)stringYes—
campaign (query)stringNoThe campaign-only trial to ask about (zeabur); ignored when it names none on the plan.
org_id (query)stringNo—

Response

NameTypeRequiredWhat it is
plan_codestringYes—
eligiblebooleanYes—
duration_daysintegerNo—
max_sitesintegerNo—
requires_cardbooleanNo—
card_on_filebooleanNo⚖️ 2026-10-21 (ZEAB2): a verified card (platform Stripe SetupIntent, never charged) is already on file for this org, so a requires_card trial can start without the card step.
template_codestringNoThe TrialTemplate.code this plan (and campaign, when given) resolves to; empty when none.
reasonstring<, no_trial_on_plan, no_billing_org, already_used, already_subscribed, used_by_you_or_company>YesEmpty when eligible. used_by_you_or_company (docs/1000 §1): the free-trial abuse guard would refuse — the same person or company already had a trial or paid on another account.…
upgradeTrialUpgradeOfferNoThe plan the customer asked about, priced in their currency, so a refusal ends in a decision rather than a dead end. ⚖️ Owner instruction 2026-08-19:…

Errors this endpoint can return

401 · 403