Mint enrollment code
Mint a single-use enrollment code for the authenticated consumer, scoped to one retailer. Minting invalidates any still-live code already minted for that retailer.
Authorizations
Body
Retailer to scope the minted code to.
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$Response
OK
URL-safe 22-character shortuuid encoding of the row's UUID primary key. Stable across the row's lifetime; suitable for sharing in URLs, log lines, and external SDK clients. Accepted on input as either the shortuuid form or the canonical UUID form (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$URL-safe 22-character shortuuid encoding of the row's UUID primary key. Stable across the row's lifetime; suitable for sharing in URLs, log lines, and external SDK clients. Accepted on input as either the shortuuid form or the canonical UUID form (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$The retailer this code is scoped to, for display.
Current redemption status.
pending, consumed, revoked, expired ISO 8601 expiry timestamp.
ISO 8601 mint timestamp.
The code to give the retailer, formatted for on-screen display/readback (hyphen-grouped). Shown here and via GET while still pending — this is not a one-shot secret like an API key, since the consumer may need to re-display a still-live code.