Authorization: Bearer <session token> from the sign-in
flow. Routes are under /organizations/:orgId/… and checked against the
member’s role.
Server-to-server (your backend) — Authorization: Bearer gtt_…_sk_… or
X-API-Key: gtt_…_sk_…. The key acts for one organisation and only within its
scopes. Never put a key in browser or mobile code; browsers cannot send
X-API-Key to this API.
Sign-in (/auth)
Passwords: 10+ characters with at least one lowercase letter, one uppercase
letter, one number and one special character. Codes expire after 10 minutes and die after 5 wrong attempts.
Sandbox: emails ending
@puzo.com always get code 123456.
API key scopes
A key can carry any of:wallets:read, wallets:fund, billing:read, hotels:read,
hotels:book, giftcards:read, giftcards:purchase. Each route lists the scope it needs.
Keys are created, rotated and revoked under Organisations.