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 withGets access from
Team membersThe merchant dashboardThe role you give them on Settings → Team
API keysBasic 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.

AreaPermission moduleWhat it coversReadWriteAPI keys
PaymentspaymentsPayments your customers made.✓✓
RefundsrefundsRefunds of your customers' payments.✓✓✓
PayoutspayoutsPayouts and the payout balance.✓✓✓
DisputesdisputesDisputes, their evidence and requests for information.✓✓✓
BlocklistblocklistCustomers blocked from paying you.✓✓✓
Payment pagespayment_pagesHosted pages your customers pay on.✓✓✓
Payout pagespayout_pagesHosted pages your recipients get paid through.✓✓✓
Payment linkspayment_linksLinks you share to collect a payment.✓✓✓
WebhookswebhooksEndpoints Breeze sends event notifications to.✓✓✓
SettlementssettlementsSettlements and the pay-in balance.✓✓
CustomerscustomersYour customers and their details.✓✓✓
SubscriptionssubscriptionsRecurring payments and what they entitle customers to.✓✓✓
ProductsproductsProducts you sell.✓✓✓
ReportsreportsReports, exports and invoices.✓✓
StatementsstatementsAccount statements.✓✓
Reported fraudfraud_reportsFraud reported on your payments.✓✓
Gateway paymentsgatewayCard payments and saved cards through the gateway API.✓✓✓
RiskriskRisk events you send about your users.✓✓✓
SandboxsandboxTest payments in sandbox mode.✓✓
KYCkycCustomer identity checks and documents.✓✓✓
API keysapi_keysKeys your systems use to call the Breeze API.✓✓
TeamteamTeam members, their roles and invitations.✓✓
SettingssettingsAccount settings.✓✓
SecuritysecuritySecurity settings, such as two-factor authentication.✓
AnalyticsanalyticsPayment analytics.✓
Apple Payapple_payDomains registered for Apple Pay.✓✓
RolesrolesCustom 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.

RoleTeam membersAPI keysWhat it can do
OwnerAccount holder onlyAs Full accessEverything, 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

  1. Go to Settings → Roles and click Create custom role.
  2. Enter a name and, optionally, a description.
  3. Tick Read and Write for each area the role needs.
  4. 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:

ScopeWhat the key can callChanges over time
Full accessEverything 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 roleEvery endpoint in the areas your role grants. Dashboard-only areas are ignored.Includes endpoints Breeze adds later in those areas.
Specific endpointsOnly 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

  1. Click New API Key, choose Role, then Next.
  2. 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.
  3. 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.

  1. Click New API Key, choose Specific endpoints, then Next.
  2. 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.
  3. 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.


Did this page help you?