Business help

How do I create and manage API keys?

How to create, scope and roll an API key, and keep it secure.

Last reviewed:

Availability and account features depend on your location and account. Check the options shown in your account or contact our team .

An API key gives your own systems programmatic access to your account.

Who can do this: Any team member whose role includes the Developers area, on an account with a profile assigned.

  1. Open Developers

    Go to Settings, Developers, API keys.

  2. Create a key

    Select Create key, give it a name that describes the system that will use it, and choose the scopes it needs: read balances, read transactions, manage recipients, create payments, create conversions, or manage webhooks.

  3. Confirm with your second factor, for a live key

    Creating a live key asks for a second-factor code first. A sandbox key, which touches no real money, does not.

  4. Copy the secret immediately

    The full secret is shown once. If you lose it, roll the key rather than trying to retrieve it.

Using the key

Send the key as a bearer token, and never expose it in a browser or mobile app. Include a dated API version header with every call so your integration is not silently moved onto a newer version without your knowledge.

A key acts with the Developer role, so it can only do what that role and the scopes you chose allow.

Restricting where a key can be used

Turn on the IP allowlist to reject calls from any address not on your list. These calls are rejected before your key is even checked, so a wrong address looks like a dead endpoint rather than a bad key.

← Browse more help

Still need a hand?

If you can’t find what you’re looking for, get in touch with our team.

Contact support