Skip to main content

1 · Get an API token

In the Alyte console: API keys → Mint, scopes merchant:read + merchant:write. The token is shown once — keep it server-side; never ship it to a browser.

2 · Install the SDK

(Or call the REST API directly — the SDK is a thin typed client over it.)

3 · Onboard

Scheduling a drop is a separate call. Tier restrictions — onSaleStart, onSaleEnd, maxQtyPerPurchase, allowed geos and schemes — are set by updating the tier, not when creating it. Passing them to create is currently ignored without an error, so the tier goes on sale immediately:
Run the self-test afterwards — catalog_sellable tells you whether the tier is buyable now or correctly waiting for its drop.

4 · Send a buyer to authorize their agent

If your users are already signed in with your auth, attest them — no email round-trip:
They land on the shop’s authorize page: pick or bring an agent, set a spending cap. Alyte enforces that cap server-side on every purchase the agent attempts.

5 · Watch the money arrive

Payments settle on your PSP. Alyte gives you the audit trail:
That’s the whole loop. For agent-side integration (discover → quote → hold → confirm), see the API reference — the same flow the AlyteAgent client wraps.