Organization
object type
An organization — the container: a merchant's operating organization within its org group.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | |
sysId | String String! | The group-scoped human-facing system id — the account-number-style immutable org id. |
type | String String! | |
caption | String String! | |
status | String String! | The state: active | parked | suspended | doomed. |
parentId | ID ID! | The parent org group; for an Organization parentId === rootId. |
rootId | ID ID! | The org-group family root. |
createdAt | String String! | |
updatedAt | String String! | |
revisionNum | Int Int! | |
revision | ID ID! | |
refCaptions | RefCaption [RefCaption!]! | The server-composed captions of this record's declared references: owners → the Account captions (caption only — never email/loginName) · primaryPhysicalFacility → the PF caption · costCentre → the CostCentre caption (by sysId). |
jurisdiction | String String! | ISO-3166 country — the org's ONE locked jurisdiction. |
code | String String! | Mutable human-readable organization code. |
legalName | String String! | The registered legal name; the org IS the legal facility. |
brandName | String | Optional trading brand name; absent = trades under the legal name. |
operatingAsName | String | Optional operating-as / DBA name. |
owners | ID [ID!]! | The owner Account ids; the composite create sets the creating principal's Account. |
costCentre | String | The org's exactly-one CostCentre sysId — kit-minted with the org; the envelope attribution anchor. Null only on a pre- org. |
primaryPhysicalFacility | ID | The designated primary PhysicalFacility id. Null only on a pre-composite (bootstrap-seeded) org. |
defaultCurrency | String | The org's default trading currency — a platform registry code. Derived from the launch jurisdiction at birth when the create omits it (CA → CAD · US → USD · AU → AUD · NZ → NZD); null only on an organization born before that law. An org may not select a Style until it carries one, and every selected style's non-doomed Products must price it (CONFLICT/CURRENCY_FLOOR, the three-site closure). |
allowedCurrencies | String [String!]! | The allowed set — the effective list of currencies this organization accepts on every typed currency field (money entries, the purchasing currency, the FX pair, the drawer, the loyalty/markdown anchors — group-level records accept the union of the group's organizations' sets): the owner's stored list when set (updateOrganization, A2_STRUCTURE), else the default currency alone, else empty. A code outside it refuses VALIDATION/CURRENCY_NOT_ALLOWED naming the set; a platform-registry code outside the registry refuses at parse. Sorted; at most 16. |
stripeAccountRef | String | The org's Stripe Connect account ref — kit-stamped by provisionStripeAccount, immutable once set (never caller-editable). Null = unprovisioned (card payments route the platform account). |
stripeChargesEnabled | Boolean | Whether the connected account can take direct charges. Stamped at provision + refreshStripeAccountStatus. Null = unprovisioned. |
stripeDetailsSubmitted | Boolean | Whether the merchant completed Stripe-hosted onboarding. Stamped at provision + refresh. Null = unprovisioned. |
ownerVerifications | OwnerVerificationStanding [OwnerVerificationStanding!]! | The owner seats' identity-verification standings. Compliance status only, never identity data — Stripe custodies the documents; the platform stores the outcome. |