Access Control
Breeze controls access the same way for your team and your integrations: every request is checked against a set of permissions. This page covers how API keys work, how roles grant permissions, how to define your own custom roles, and the rules that keep access predictable.
Who can access your account
| Signs in with | Gets access from | |
|---|---|---|
| Team members | The merchant dashboard | The role you give them on Settings → Team |
| API keys | Basic Auth on every API request (see Authentication) | The scope chosen when the key was created |
The account holder is the Owner and always has full access.
Permissions
Access is split into areas, such as Payments, Refunds or Payouts. For each area there are up to two permissions:
- Read: see the area, for example list and open payments.
- Write: change it, for example create a refund or cancel a payout.
Read and Write are separate, so a role can hold either one or both. In the API, each permission is a module.action pair, such as payments.read or refunds.write. An authorization error names the missing one.
| Area | Permission module | What it covers | Read | Write | API keys |
|---|---|---|---|---|---|
| Payments | payments | Payments your customers made. | ✓ | ✓ | |
| Refunds | refunds | Refunds of your customers' payments. | ✓ | ✓ | ✓ |
| Payouts | payouts | Payouts and the payout balance. | ✓ | ✓ | ✓ |
| Disputes | disputes | Disputes, their evidence and requests for information. | ✓ | ✓ | ✓ |
| Blocklist | blocklist | Customers blocked from paying you. | ✓ | ✓ | ✓ |
| Payment pages | payment_pages | Hosted pages your customers pay on. | ✓ | ✓ | ✓ |
| Payout pages | payout_pages | Hosted pages your recipients get paid through. | ✓ | ✓ | ✓ |
| Payment links | payment_links | Links you share to collect a payment. | ✓ | ✓ | ✓ |
| Webhooks | webhooks | Endpoints Breeze sends event notifications to. | ✓ | ✓ | ✓ |
| Settlements | settlements | Settlements and the pay-in balance. | ✓ | ✓ | |
| Customers | customers | Your customers and their details. | ✓ | ✓ | ✓ |
| Subscriptions | subscriptions | Recurring payments and what they entitle customers to. | ✓ | ✓ | ✓ |
| Products | products | Products you sell. | ✓ | ✓ | ✓ |
| Reports | reports | Reports, exports and invoices. | ✓ | ✓ | |
| Statements | statements | Account statements. | ✓ | ✓ | |
| Reported fraud | fraud_reports | Fraud reported on your payments. | ✓ | ✓ | |
| Gateway payments | gateway | Card payments and saved cards through the gateway API. | ✓ | ✓ | ✓ |
| Risk | risk | Risk events you send about your users. | ✓ | ✓ | ✓ |
| Sandbox | sandbox | Test payments in sandbox mode. | ✓ | ✓ | |
| KYC | kyc | Customer identity checks and documents. | ✓ | ✓ | ✓ |
| API keys | api_keys | Keys your systems use to call the Breeze API. | ✓ | ✓ | |
| Team | team | Team members, their roles and invitations. | ✓ | ✓ | |
| Settings | settings | Account settings. | ✓ | ✓ | |
| Security | security | Security settings, such as two-factor authentication. | ✓ | ||
| Analytics | analytics | Payment analytics. | ✓ | ||
| Apple Pay | apple_pay | Domains registered for Apple Pay. | ✓ | ✓ | |
| Roles | roles | Custom roles and what they can do. | ✓ | ✓ |
Areas without a tick under API keys are managed from the dashboard only. A role can include them, but they only ever apply to team members, never to API keys.
Built-in roles
Every account has these roles. They can't be changed or deleted.
| Role | Team members | API keys | What it can do |
|---|---|---|---|
| Owner | Account holder only | As Full access | Everything, including areas Breeze adds later. The Owner role can't be given to anyone else. |
| Operator | ✓ | ✓ | Read every area. Write refunds, disputes, payment pages, payout pages, the blocklist, team, products, customers and payment links. Can't send payouts, change account settings or manage risk. |
| Developer | ✓ | ✓ | Read every area. Write API keys, webhooks and Apple Pay. For the people who build and maintain your integration. |
| Viewer | ✓ | ✓ | Read every area. Can't change anything. |
Custom roles
When no built-in role fits, define your own: pick exactly which areas a role can read and write. A custom role can be given to team members and to API keys.
Note: If you don't see Roles under Settings, custom roles aren't enabled for your account yet. Contact Breeze to turn them on.
Who can manage roles. Anyone with roles.read can open Settings → Roles and see every role and its permissions. Creating, editing, duplicating and deleting roles needs roles.write, which the Owner has.
Limits. Up to 25 custom roles per account. Each needs a unique name, and it can't reuse a built-in role's name.
Create a role
- Go to Settings → Roles and click Create custom role.
- Enter a name and, optionally, a description.
- Tick Read and Write for each area the role needs.
- Click Create custom role.
Duplicate a role
Click the duplicate icon on any role to open the create form pre-filled with its description and permissions. Nothing is saved until you click Create custom role. The Owner role can't be duplicated.
Edit a role
Who uses a role decides whether it can change:
- Unused, or used only by team members: you can change its name, description and permissions. If team members use it, you see who the change affects and confirm it. Their access changes as soon as you save.
- Used by any API key: the role can't be edited. API keys are immutable (see API keys can't change below), so a role a key uses never changes either. Duplicate it to make a role with different permissions, or delete those API keys first.
Delete a role
A role can only be deleted when nothing uses it. If team members or API keys still use it, you see which ones: change those members' roles or delete those keys first. Nothing is reassigned automatically.
You can only grant what you have
You can't create a role, edit a role, or give a role to a team member or API key if it grants a permission you don't hold yourself. Nobody can hand out more access than they have.
Team members
On Settings → Team:
- Invite a member: pick a built-in or custom role in Set role as. Expand the role's permissions under the picker to see what it allows.
- Change a member's role: click the edit icon next to the member and pick the new role.
- See what a role allows: click the member's role.
Inviting members and changing their roles needs team.write. A member's access follows their role: when a custom role's permissions change, everyone with that role gets the new access right away.
API keys
Every API request authenticates with an API key, sent as the Basic Auth username with an empty password. Sandbox keys start with sk_test_ and production keys with sk_live_. See Authentication for request examples.
Key scopes
When you create a key on Developers → API keys (New API Key), you choose what it can do:
| Scope | What the key can call | Changes over time |
|---|---|---|
| Full access | Everything your account supports. A key with no role. | Includes endpoints Breeze adds later. |
| Built-in role (Operator, Developer, Viewer) | Every endpoint in the role's areas. | Includes endpoints Breeze adds later in those areas. |
| Custom role | Every endpoint in the areas your role grants. Dashboard-only areas are ignored. | Includes endpoints Breeze adds later in those areas. |
| Specific endpoints | Only the endpoints you pick, matched by HTTP method and path. | Never gains new endpoints. |
API keys can only be created and scoped from the dashboard, not through the API. Managing keys needs api_keys.write.
Keys with a role
- Click New API Key, choose Role, then Next.
- Pick Full access, a built-in role, or one of your custom roles. The key's permissions show under the picker; for a custom role, only the areas that apply to API keys are listed.
- Click Generate Key, then copy the secret. It's shown only once.
Keys with specific endpoints
Use an endpoint-scoped key when an integration makes a known set of calls and you want the smallest possible access if the key leaks.
- Click New API Key, choose Specific endpoints, then Next.
- Find each endpoint by its summary, URL or operation ID (or filter by API), and click + to add it. Each endpoint links to its page in the API reference.
- Click Generate Key.
The key can call only the endpoints on its list, matched by HTTP method and path, for example POST /v1/payment_pages or GET /v1/payment_pages/{pageId}. Other endpoints are rejected even when they belong to the same resource: a key allowed POST /v1/payment_pages can't refund or expire a payment page.
Note: Some operations share a method and path, such as submitting headless KYC with image URLs or with uploaded files (
POST /v1/headless_kyc). Adding that endpoint allows both.
API keys can't change
An API key's access is fixed when it's created:
- A key's scope, role or endpoint list can't be edited. To change what a key can do, create a new key and delete the old one.
- A custom role that any key uses can't be edited or deleted, so the key's access can't change through its role either.
Seeing what a key can do
On Developers → API keys, the Scope column shows each key's role or endpoint count. Click it, or the view icon, to see the key's permissions or endpoints.
When access is denied
A request without the permission it needs is rejected with AUTHORIZATION_FAILED, and the message names what's missing:
{
"status": "FAILED",
"errorCode": "AUTHORIZATION_FAILED",
"errorMessage": "Missing permission(s): payouts.write"
}An endpoint-scoped key calling an endpoint that isn't on its list gets the same error code, naming the endpoint:
{
"status": "FAILED",
"errorCode": "AUTHORIZATION_FAILED",
"errorMessage": "This API key is not allowed to call POST /v1/payment_pages/{pageId}/refund"
}To make the call, use a key whose role includes the permission or whose list includes the endpoint. Keys can't be changed, so create a new key and delete the old one.
Updated 1 day ago