# LoyX Developers > Connect a till, web shop or back office to LoyX: identify members, show their card and rewards, record sales, and keep products and stores in sync. Every page is also available as Markdown: add `.md` to its path. `llms-full.txt` holds all of it in one file. ## Notes for AI tools - Money is always an integer in minor units (4500 = 45.00 SEK) with an ISO 4217 currency. Never send floats. - Send the till's own receipt id as `external.external_transaction_id` on every sale. A retry with the same body returns the original sale; the same id with a different body is a 409. - Points are calculated asynchronously. The sale response does not contain the points earned; read the member card afterwards. - Scan QR codes as raw strings and send them unchanged as `qr_code`. A `404 qr_code_not_resolvable` means "ask the member to refresh the code". - Pages under "Preview" describe planned features. They are not live; do not generate code that calls them. - Access tokens expire. On a 401, fetch a new token and retry once. ## Start here - [LoyX Partners API](https://developers.loyx.se/index.md): What the Partners API does, how a call looks, and where to start. - [Authentication](https://developers.loyx.se/guides/authentication.md): OAuth 2 client credentials, scopes, the one-hour token, key rotation and revocation. - [Till integration walkthrough](https://developers.loyx.se/guides/till-walkthrough.md): Step-by-step till integration: setup, token, scan, card, sale, retries, offline. ## Guides - [Identify a member](https://developers.loyx.se/guides/identify-member.md): Turn a scanned QR code, phone number, email or member id into a LoyX membership. - [Member card and rewards](https://developers.loyx.se/guides/member-card.md): Show the member's balance, program, cycle and usable rewards at the till. - [Record a sale](https://developers.loyx.se/guides/record-sale.md): Send the finished receipt so the member earns, and LoyX sees the sale. - [Products](https://developers.loyx.se/guides/products.md): Keep the brand's catalog in step with yours, matched by your own product id, one at a time or in bulk. - [Stores](https://developers.loyx.se/guides/stores.md): Address stores by your own store code and keep them in sync. - [Money](https://developers.loyx.se/guides/money.md): Amounts are integers in minor units, always with a currency. - [Idempotency](https://developers.loyx.se/guides/idempotency.md): Retry any call safely. Your own ids are the duplicate keys. - [Errors](https://developers.loyx.se/guides/errors.md): Every error has the same JSON shape, a machine code and a request id. - [Rate limits](https://developers.loyx.se/guides/rate-limits.md): How many calls you can make, the headers that tell you where you stand, and what to do at a limit. ## API reference - [Partners API reference](https://developers.loyx.se/api.md): every live endpoint, its parameters, request fields and responses, as Markdown. - [OpenAPI 3.1 spec](https://developers.loyx.se/openapi/partners-v1.json): the machine-readable contract. ## Preview (planned, not live; shapes may change) - [About preview pages](https://developers.loyx.se/preview.md): What "Preview" means, and how planned features reach the live API. - [Joining at the till](https://developers.loyx.se/preview/join-at-till.md): Preview: sign a customer up at the till by app QR, or by phone with SMS confirmation. - [Reserve and use rewards](https://developers.loyx.se/preview/hold-commit-release.md): Preview: hold a member's reward for one basket, then commit it when paid or release it. - [Basket pricing](https://developers.loyx.se/preview/basket-pricing.md): Preview: member, VIP and staff prices and usable rewards for a basket, returned as discounts. - [Returns](https://developers.loyx.se/preview/returns.md): Preview: record a return linked to the original sale by your receipt id, so points are reversed. - [Tiers and perks](https://developers.loyx.se/preview/tiers-and-perks.md): Preview: member levels with perks, shown on the card and applied in basket pricing. - [Webhooks](https://developers.loyx.se/preview/webhooks.md): Preview: signed, retried events about members, points, rewards and sales. - [Vendor apps and brand approval](https://developers.loyx.se/preview/vendor-apps.md): Preview: one app per till vendor, approved by each brand with the scopes it chooses. ## Other - [Changelog](https://developers.loyx.se/changelog.md): Every change to the Partners API, newest first. - [Using these docs with AI tools](https://developers.loyx.se/for-ai-tools.md): Plain Markdown versions of every page, plus llms.txt, for coding assistants. ## Optional - [Everything in one file](https://developers.loyx.se/llms-full.txt): all guides, preview pages and the API reference.