Skip to content

Tessera Developers

Tessera is a headless loyalty API. A merchant configures their points program — how points are earned, what tiers exist, what can be redeemed — in the Tessera console; your integration drives the member-facing side of that program over a small, versioned HTTP API (/v1) or the TypeScript SDK that wraps it.

Everything you build against is snake_case JSON over HTTPS, keyed by a bearer API key. There’s no session cookie, no OAuth dance for a standard server integration — just a key, a request body, and a stable response shape.

  • Tenant — the merchant. Every API key belongs to exactly one tenant, and every request is scoped to it.
  • Member — identified by a (channel, external_id) pair, never a bare ID. channel is where the member came from (shopify, pos, your own api integration); external_id is your system’s ID for them. See Members & channels.
  • Ledger — every member has two independent point balances: spendable (what they can redeem) and qualifying (what counts toward tier progress). See Ledger & currencies.
  • Catalogue — the rewards a member can redeem, configured by the merchant and read through the API.
  • Redemption — a two-step burn: place a hold against a catalogue option, then finalize it once the order that consumed it completes (or release it if the checkout is abandoned).

A typical integration touches the API in this order:

  1. Browse the reward catalogue — GET /v1/rewards.
  2. Identify the member — resolve or create them by (channel, external_id).
  3. Earn — send a signed event (a purchase, a refund, a referral) and Tessera’s earn engine turns it into points.
  4. Read — the member’s balance, tier status, and point history.
  5. Redeem — place a hold against a catalogue option, then finalize it against the order that consumed it (or release it if the cart is abandoned).

The Getting started quickstart walks this exact journey end to end with a sandbox key.

Quickstart with the SDK

Install @tesseraloyalty/sdk and make your first call in a few lines — typed requests, auto-signing, typed errors. Start with Getting started.

Raw HTTP

Prefer to call /v1 directly? The API reference documents every endpoint, request body, and response shape, generated straight from the live API.

A worked example

Not a shop? Kestrel Air is a concept airline whose programme — points per flown sector — runs entirely through the SDK, tiers and all.

AI / MCP

Give an AI assistant read-only access to rewards, balances, and member history through Tessera’s hosted MCP server. See AI / MCP.