Skip to main content
GET
Retrieve your organization

Authorizations

Authorization
string
header
required

Your secret API key as a Bearer token: Authorization: Bearer vxn_sk_.... Keys are created and scoped in the dashboard - see Authentication.

Response

Organization.

Read-only self-introspection of YOUR organization: plan, effective caps with live usage, billing details, account state, email preferences. GET only - nothing on this resource is writable via API. The id is an opaque support reference; organization_id never appears on any other resource body (the API key selects the organization).

id
string
required

Opaque id for support reference ONLY - never accepted as input anywhere.

Pattern: ^org_[A-Za-z0-9]+$
Example:

"org_01HXYZORG001"

object
string
required

Always "organization".

Allowed value: "organization"
name
string
required

Display name.

Example:

"Demo Bakery s.r.o."

country
string
required

ISO 3166-1 alpha-2.

Pattern: ^[A-Z]{2}$
Example:

"SK"

default_currency
string
required

ISO 4217. The one currency of the business: all monetary card mechanics, transactions and analytics use it. It is set from the country of the first location and locked after the first transaction, customer balance or gift card purchase. Your VEXiON subscription is always billed in EUR. See Money and currency.

Example:

"EUR"

default_language
enum<string>
required

Fallback language for passes + notifications.

Available options:
sk,
cs,
en,
de
Example:

"sk"

account_state
enum<string>
required

Account lifecycle:

  • pending_activation - created, no subscription yet
  • awaiting_claim - provisioned by sales, owner hasn't claimed
  • active - fully operational
  • paused - merchant-paused (free); cards read-only
  • cancelling - wind-down until period end
  • cancelled - read-only retention window
  • locked - admin/compliance hold
Available options:
pending_activation,
awaiting_claim,
active,
paused,
cancelling,
cancelled,
locked
Example:

"active"

plan
object
required

Subscription snapshot. The tier/interval enum is closed - new intervals ship as documented additive changes.

caps
object
required

Effective plan caps with live usage. Numeric caps are {limit, used} where limit: null means unlimited. used is computed by the SAME count queries the in-app plan-limit guard uses, so the public number always matches the enforced number. Boolean entitlements reflect the merged plan defaults + per-org overrides.

created_at
integer
required

Unix seconds.

Example:

1757664000

billing_details
object

Billing identity used on issued invoices. Slovak/Czech tax identifiers included where registered.

email_preferences
object

Merchant-controlled email topic opt-ins. Transactional email (billing, security) always sends.

Three of these five are enforced today: onboarding, feature_adoption and achievements. Enforcement works by matching the flag name against a campaign's topic, and those are the only three topics any campaign declares, so setting one to false genuinely stops those emails.

reports and gift_card_sales are RESERVED and not yet honoured. No campaign declares either topic, and no gift-card sender consults the flag, so setting them to false is accepted and stored but suppresses nothing. They are kept in the contract because they are already stored on existing organizations; treat them as forward declarations rather than working switches, and do not rely on either to stop mail.

Example:
updated_at
integer

Unix seconds of last change.

Example:

1782561600