Scopes
A scope is one kind of data a key can read. The owner picks a key's scopes when they create it, and they can't be changed later. Ask for only the scopes your software needs.
A request for data outside the key's scopes answers 403 insufficient_scope, and the message names the missing scope.
Scopes
| Scope | Back Office label | Endpoints | Returns |
|---|---|---|---|
business:read | Business | GET /v1/locations, GET /v1/business | Location name, address, timezone, and currency. Every key has it. |
reports:read | Reports | GET /v1/reports, GET /v1/reports/today | Daily sales summaries, and sales so far today |
payouts:read | Payouts | GET /v1/payouts | Payouts and their fees. Never bank account details. |
payments:read | Payments | GET /v1/payments | Card payments with their tips, refunds, and disputes across processors. Card brand and last 4 only. |
menu:read | Menu | GET /v1/menu | Menu: categories, items, modifiers, prices, taxes, and discounts |
orders:read | Orders | GET /v1/orders, GET /v1/orders/today | Orders and their items, without customer contact details |
orders.customer:read | Customer contact details | GET /v1/orders, GET /v1/orders/today | Adds customer name, phone, and email to orders |
staff:read | Staff | GET /v1/staff | Staff and roles, without pay |
staff.pay:read | Staff pay | GET /v1/staff, GET /v1/timecards | Adds pay rates to staff, and the hourly rate to timecards |
timecards:read | Time cards | GET /v1/timecards | Timecards: clock-ins, breaks, and declared tips |
cash:read | Cash | GET /v1/cash-drawers | Cash drawers: sessions and counts |
orders.customer:read, staff:read, and staff.pay:read return personal information. The owner confirms each one separately when creating the key.
Changing scopes
Because a key's scopes are fixed, adding a scope means a new key:
- Ask the owner to create a key with every scope you need.
- Switch your software to the new key.
- Ask the owner to revoke the old key.