Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Creating your API keys

Once your business account is set up and active, you can create your API keys to authenticate against the Txn API.

To do so, open Developer Tools in the left-hand menu of your account, stay on the API Keys tab and click Add API Key. Creating a key takes four steps:

  1. Key Details. Enter a name for the key and choose its permission.

  2. IP Allowlist. Allow access from any IP address, or only from the public IPv4 addresses and CIDR ranges you list.

  3. 2FA Verification. Enter the 6-digit code from your authenticator app.

  4. Save API Key. Copy the key and store it securely.

API Key Permission
Description

Read only

Can only read data, e.g. transaction details.

Full access

Can read and write data, e.g. create quotes and payouts.

Each newly generated API key is shown only once — copy and store it securely, as it cannot be retrieved from your account later.

The API Keys tab lists every API key of your account with its prefix, permission, IP allowlist and creation date. To delete a key, click Delete in its row and confirm with your authenticator app code.

When a key has an IP allowlist, requests from any other IP address are rejected with 401. You can set the allowlist when you create the key and change it later on an existing key with Edit, without re-issuing the key or changing its permission.

API Keys tab
Developer Tools → API Keys
Create API Key — Key Details
Step 1: Enter a name and choose the key permission
Create API Key — IP Allowlist
Step 2: Allow any IP address, or only the addresses you list
Create API Key — 2FA Verification
Step 3: Confirm with your authenticator app code
Create API Key — Save API Key
Step 4: Copy and save the key — it is shown only once

Last updated