Skip to content

API keys

Developers → API keys is where your integration’s credentials come from.

Needs apikey.read to see, apikey.write to create, rotate, revoke or change. Owner, admin and developer hold the write. Finance deliberately does not — an API key with payout permission is a way to move money that leaves no trace in the withdrawal queue, so the role defined by money movement is precisely the one that cannot mint one.

Column What it holds
Key Its name, with a Rotated pill if it replaced another.
Identifier The key id — safe to quote in a ticket.
Type Secret or publishable.
Status Active, revoked, expired, or superseded with its remaining grace window.
May do How many operations its scopes cover.
Requests Lifetime request count.
Last used Relative. The column that tells you whether a key is still needed.
Created —

One toggle sits below the table: Active keys only — off by default, because “revoked keys stay listed so the record of them survives”. A revoked key with its reason and its last-used date is the only record that a credential once worked, and you cannot audit from a list that hides it.

Row actions: Open, Rotate (“mints a replacement and leaves this one working for 24 hours”) and Revoke (“stops working immediately”).

New secret key opens the form.

Choice Means
On your server A secret key. Can hold any scope your account is allowed.
In a browser or an app A publishable key. Can only hold client-safe scopes.

That restriction is enforced in the database, not just on the form: a publishable key created with a sensitive scope is refused outright. The form asks the platform for the narrowed list rather than filtering a full one itself, because your account’s verification level also caps what it may grant — and only the platform knows both.

Field Notes
Name Required. “What uses it. This is what the list shows and what you will revoke by.” e.g. Production server.
Description Optional. e.g. “The checkout backend.”

Name keys after what uses them, not after people or dates. The name is what you will read in six months when deciding whether revoking it breaks something.

A list of scopes, each with its code and description, and two warning pills:

Pill Meaning
Moves money A sensitive scope. Treat a key holding one like a bank password.
Server only Not client-safe; unavailable on a publishable key.

Select all ticks every scope on offer except the Moves money ones, which you tick by hand. Clear all appears once anything is ticked.

At least one scope is required, and the submit button stays disabled with the reason stated until you pick one. A key with no scopes authenticates successfully and is then refused by every endpoint — which looks like a broken platform rather than a misconfigured key.

Grant the minimum. A key that only needs to read transactions should not be able to create payouts, and the gap between those two is the difference between a leak and an incident.

A key that can send money needs a role that can. Creating or rotating a key holding payout.create or refund.create needs a role that can send payouts as well as manage keys, which in practice means owner or admin (finance can’t manage keys at all). Developers are refused: “Your role cannot send payouts, so it cannot create a key that can … Ask an owner or an admin.”

Every key change asks for your authenticator code: creating, rotating and revoking a key, removing a scope, changing limits and IP rules. The form has no code field of its own. The prompt appears when you submit. One code covers a live key that can send money too, so you aren’t asked twice. Through the API, send it in the PaySigna-MFA-Code header. For 24 hours after your two-factor was reset, creating or rotating a live key that can send money is refused (mfa_reset_hold).

Four optional fields, and they are offered prominently rather than hidden behind “advanced”:

Field Notes
Largest single payment (in your currency) A hard ceiling per request.
Daily total A hard ceiling per day (UTC), per currency. Everything the key moved today that hasn’t failed, been cancelled or expired counts, including payments still in flight. Beyond it, the API refuses with 422 limit_exceeded.
Requests a minute Empty for your plan’s default.
Expires after (days) Empty for a key that does not expire.

A toggle. “Add the addresses before turning this on, or the key cannot be used at all. You can add them from the key’s own page straight after creating it.”

Turning it on with no addresses allowed makes the key unusable, not safer — every call is refused. Create the key, add the addresses, then enforce.

The form is replaced by the secret, with the key id, the type, the scope count and the allowlist state beside it. Copy the secret now. The dialog will not close itself, by design — every other create dialog in the portal does, and this one cannot, because the secret exists nowhere else.

Clicking a key opens it. Four sections.

Field Notes
Key id Copyable.
Secret ends The last few characters, for matching a key in your config against this row.
Type, Description —
Requests Lifetime count.
Last used Relative.
Created / Expires —
Replaced What this key superseded, when it was a rotation.

The scopes, each removable. “Scopes against the payments API. Not portal permissions.”

Removing a scope takes effect immediately and asks for confirmation.

The key’s own IP allowlist, plus the enforcement flag.

Control Notes
Address or range CIDR — 102.176.88.17/32 for a single address.
Label e.g. Production NAT.
Only accept calls from allowed addresses The enforcement toggle.

This is the key’s own allowlist. There is a second, account-wide one in Settings → Your account → Where this account may be used from, which narrows everything including the browser you are reading the portal in. See Settings.

The same four limits as on creation, editable: Largest payment, Daily total, Requests a minute, and the allowlist enforcement toggle. “Empty for no limit.”

A rotation mints a new key and leaves the old one working for 24 hours. That overlap is the point — a deploy is not instant — and it is also the thing most easily misread as “the rotation failed because the old key still works”.

  1. Rotate on the key. You’re asked for your authenticator code, as for every key change. A key that can send money follows the same role rule as creating one. Copy the new secret.
  2. Deploy the new secret to your servers.
  3. Confirm traffic on the new key: its Requests count rises and the old key’s stops.
  4. Revoke the old key, or let its grace window run out.

The superseded row shows its remaining window as a countdown rather than a date, so there is no arithmetic to get wrong.

Revoke stops it working immediately — no grace, no overlap. Every charge, payout and refund re-checks the key as it is written, so a revoked key can’t move money even in the seconds its cached copy might still pass. One field:

Field Notes
Why “Recorded against the key. It is what the list shows next to it afterwards.” e.g. “Replaced by the warehouse export.”

Write a real reason. The key stays in the list forever with that text beside it, and it is the only explanation anybody will ever have.

  1. Revoke it first. Not rotate — revoke. Rotation leaves the leaked key working for 24 hours.
  2. Create a replacement, with limits and an allowlist this time.
  3. Deploy it.
  4. Then check Transactions over the exposure window for movements you did not make, and tell us.

Breaking your integration for ten minutes is cheaper than leaving a live credential in a public repository for one more hour.

Two namespaces that look alike and are not:

What it governs
Scopes on a key What a server may do against the payments API.
Permissions on a session What a person may do in this portal.

A key cannot sign in to the portal, and your portal role does not travel with a key. They are deliberately spelled similarly — resource.action — which is exactly why the screen labels the key’s list as “what this key may do” rather than as “scopes”.