Skip to content

Changelog

Within version 1 every change is additive: new fields, new error codes, new events and new operations. Nothing is renamed or removed, so an integration that ignores what it does not know keeps working. A change that cannot be made that way would be a new version, /integrations/v2. Version 1 would then keep working for at least 12 months, its answers carrying Deprecation and Sunset headers.

The first version of the integration API, opening to shops one by one.

  • Cards and branches: read the shop’s live cards, their rules, rewards and join forms, and its branches.
  • Customers: sign a customer up and send them a link to add the card to their wallet, attach your own customer id, and link a card made at the counter to a store account.
  • Cards: find a card by its card ID, serial, phone, email or your customer id; read its balance, rewards and history.
  • Giving and spending: give value for a sale, spend it, refund or void an award in full or in part, and reserve value against an online order with holds that are confirmed or released.
  • Events: sixteen signed webhook events in the Standard Webhooks format, and an event feed to catch up from.
  • Safety: an Idempotency-Key on every write, your own reference on every sale, and Problem Details errors with a stable code and a page for each.