Skip to main content

API Keys

All API requests require a Bearer token in the Authorization header:
Authorization: Bearer sk_test_YOUR_API_KEY

Key Types

PrefixEnvironmentReal Charges
sk_test_SandboxNo
sk_live_ProductionYes
Both key types use the same API endpoint (https://api.plexospay.com). The key determines the environment.

Creating an API Key

1

Sign in to the Dashboard

2

Navigate to API Keys

Click SettingsAPI Keys in the sidebar
3

Create a key

Click Create API Key, give it a name, and copy the secret key.
The secret key is only shown once. Store it securely — you cannot retrieve it later.

Security Best Practices

API keys should only be used server-side. Never include them in JavaScript bundles, mobile apps, or public repositories.
Store your API key in an environment variable like PLEXOS_PAY_SECRET_KEY rather than hardcoding it.
If you suspect a key has been compromised, revoke it immediately and create a new one from the dashboard.
Always use sk_test_ keys during development. Switch to sk_live_ only in production.