Skip to Content
KingsPay Docs
API Keys

API Key Permissions

Understand the available API key permissions and how to follow the principle of least privilege.

When creating an API key, you select which permissions it is granted. Restricting a key to only what it needs limits the damage if it is ever compromised.

Available Permissions

Permissions are grouped by resource. Each resource has independent read and manage scopes where applicable.

Payments

PermissionWhat it allows
Payments.ReadList and retrieve payment charges.
Payments.ManageCreate and manage payment charges.

Payouts

PermissionWhat it allows
Payouts.ReadList and retrieve payouts.
Payouts.ManageCreate payouts to external accounts and run bank account inquiries.

Virtual Accounts

PermissionWhat it allows
VirtualAccounts.ReadList and retrieve virtual accounts.
VirtualAccounts.ManageCreate and delete virtual accounts.

Balances

PermissionWhat it allows
Balances.ReadView available and pending account balances, and list balance transactions.

Transfers

Transfers move funds between a platform account and its connected accounts.

PermissionWhat it allows
Transfers.ReadList transfers your account sent or received.
Transfers.ManageTransfer funds to another account.

Choosing the Right Permissions

Follow the principle of least privilege — only grant the permissions a key actually needs:

  • A key used by a checkout integration only needs Payments.Manage.
  • A key used by a payout service only needs Payouts.Manage and Balances.Read.
  • A key used by a reconciliation service only needs Payments.Read, Payouts.Read, and Balances.Read.

Avoid creating keys with all permissions unless the use case genuinely requires it.

Updating Permissions

To update the permissions of an existing API key:

  1. Go to Integrations → API Keys in the Dashboard.
  2. Open the menu on the key you want to update.
  3. Click Update.
  4. Adjust the permissions and save.

For guidance on storing and rotating keys safely, see Securing API Keys.

On this page