Connector guide — Square (square)
Fixed sections (Phase D1 format). Facts marked [Validated] are measured in code or tests; [Observed] facts carry a date; [Gap] names an open item. No credential, token, account identifier or tenant value appears in this file.
What it is
Square — point of sale and online payments for local businesses. For MIZ OKI it would be a commerce / POS system-of-record rail (orders, payments, catalog → order economics) for merchants who do not sell on Shopify (playbook §4.3, OB-GAP-3). Catalog category commerce, wave 4. Design: docs/design/connectors/square.md.
Status (measured)
[Observed 2026-10-12] available: false, wave 4, in CONNECTOR_CATALOG (services/service-marketing-connectors/connector_credentials.py) — the row is added by the C7 change this guide ships with and enumerates the fields below so the surface can name them; it collects nothing. [Validated] The onboarding UI renders an available: false row as a locked card with a "Wave 4" pill (miz-oki-command-center-ui/components/connectors/marketing-connectors.tsx, the !entry.available branch); posting any payload for the provider returns 409 provider_not_available ("is wave 4 and not yet enabled"). The honest words are "not yet available". The adapter is built only when a tenant declares demand (docs/OPEN_ITEMS.md row); never promise a date.
Who owns the account
The customer. The Square account and the application in their Developer Console stay the customer's (law 3). Note the design caveat: a Square personal access token is unscoped (full access to the customer's own account), so read-only would be enforced by the adapter, not by the credential; the design note recommends waiting for a platform OAuth app with read scopes, which is an owner ruling.
Prerequisites
- Owner access to the Square account and its Developer Console.
- An application created in the Developer Console (production credentials, not sandbox).
- The location id of the location to read (see Fields).
Visibility invite (click path)
squareup.com Dashboard → Staff → Team members → Add team member → the Media Intelligence access seat with a view-only permission set (reports / orders view, no payments or settings). Vendor UIs drift; follow Square's current help if a label differs.
Connecting in the onboarding UI
There is nothing to connect yet. The card is locked: it shows the label, the description and the Wave 4 pill, and has no inputs. Do not collect any of the values below by another channel (law 2, law 10); record the tenant's demand instead, so the build is demand-driven and the row can be flipped only after live verification (CDoD point 14).
Fields
| key | where the tenant finds it | format | secret? | required? |
|---|---|---|---|---|
access_token |
Developer Console → your application → Credentials → Production tab → access token (unscoped; treat as a full-account credential) | opaque; never echoed | yes | yes |
location_id |
Developer Console → Locations, or Dashboard → Account & settings → Business → Locations | opaque id | no | yes |
Test connection
Not applicable until built. Today every post is 409 provider_not_available; that is the surface working as designed, not a fault to work around. The planned verdict table lives in the design note.
What it feeds
When built: commerce ingest → canonical ingest gate → mizoki_unified_data; Net Yield order economics (P3-1). No writeback. No merchant-classification readout (ruling 2026-10-06 defines only the Shopify one).
Consent posture
Orders, payments and catalog without buyer identifiers are de-personalised and flow on the aggregate path. Buyer-linked fields (customer id, receipt email) are person-level and flow only under a consent-registry grant with a per-subject basis; the consent gate is fail-closed and drops them otherwise.
Revoke / offboard
Nothing is stored, so there is nothing to revoke on the platform side. If a customer created a credential in anticipation, ask them to delete or rotate it on the vendor side; never accept it meanwhile. When built: the customer rotates or deletes the token in the Developer Console; the operator removes the vault entry through the governed path.
Known gaps
- Demand-driven; no tenant has declared Square.
- Unscoped personal token vs platform OAuth app — owner ruling before any build.
- OB-GAP-6 — one location per tenant vault entry.
Last verified
Catalog shape, UI locked-card branch and the 409 path measured 2026-10-12 in the C7 worktree (branch feat/onboarding-connectors-self-healing-20261012). Vendor documentation: Square Developer "Access tokens" (developer.squareup.com/docs/build-basics/access-tokens) — fetched 2026-10-12.