Payezydevelopers
Sandbox

Concepts

Roles and permissions

A member holds one role per organization. A role is a bundle of permissions, and an API key carries a frozen subset of its creator's permissions as scopes.

Business roles

RoleCan do
ownerOwnerFull control, including ownership transfer and closing the organization.
adminAdminEverything except ownership transfer and closure.
finance_managerFinance ManagerCreate and approve payments, manage recipients.
payments_initiatorPayments InitiatorCreate payments that then need approval.
approverApproverApprove or reject payments.
developerDeveloperAPI keys and webhooks. No money movement.
bookkeeperBookkeeperRead-only, plus statement exports.
viewerViewerRead-only.

Nobody can invite, resend or revoke an invitation for a role ranked above their own, only owners deal in the owner role, and an organization always keeps one active owner (last_owner). Transfer ownership makes another member owner and steps the caller down to admin in one step.

Platform roles

Platform organizations have their own roles, shown in the app as Owner, Admin, Operator and Viewer.

CapabilityOwnerAdminOperatorViewer
See customers, balances, transactions and the teamplatform:view, members:viewYesYesYesYes
Add customers: invite, or create with their detailsplatform:customers_addYesYesYesNo
Restrict or reinstate a customer, set its referenceplatform:customers_manageYesYesNoNo
Mint, roll and revoke customer API keysplatform:customer_keysYesYesNoNo
View as a customer memberplatform:view_asYesYesNoNo
Invite teammatesmembers:inviteYesYesNoNo
Change a teammate's role, disable or remove themmembers:manage, roles:assignYesNoNoNo
Edit the platform profilesettings:manageYesYesNoNo
Transfer ownershiporg:transfer_ownershipYesNoNoNo

Scopes on API keys

A key's scopes are chosen when it is created and never change. They can only be permissions the creator holds.

ScopeAllows
accounts:viewRead accounts, balances, statements and funding instructions.
accounts:manageOpen additional bank accounts and request wallets.
counterparties:viewRead recipients and your own external accounts.
counterparties:manageAdd, edit and archive recipients and their accounts.
payments:viewRead payments, limits and the approval policy.
payments:createQuote, send and cancel payments.
payments:approveApprove or reject payments. Opt-in on platform-minted keys.
withdrawals:createAdd own accounts and withdraw to them.
members:viewRead members, roles and invitations.
activity:viewRead the activity log.
onboarding:manageRead and submit the organization's verification.
webhooks:manageRead webhook endpoints and deliveries.
billing:viewRead rates, usage and invoices.
platform:viewRead your platform's customers and transactions.
platform:customers_addCreate and invite customers, file their verification.
platform:customers_manageRestrict, reinstate and label customers.
platform:customer_keysMint, roll and revoke keys for linked customers.

api_keys:manage and platform:view_as never go on a key. Platform-minted customer keys also cannot carry platform:*.

Second factor

In the app, payments, withdrawals, recipients and bank accounts, team changes and restricting a customer need a recent second factor (a passkey or an authenticator app). A key with the right scope replaces that step for its scopes, which is why keys belong only on servers.