API Keys
Authenticate all API requests with your secret API key in theAuthorization
header as a Bearer token:
rsk_test_… or rsk_live_…. The demo dataset ships with the fixed test key
sk_test_12345 for local exploration.
Test vs. live keys
Every key is either a test key (rsk_test_…) or a live key
(rsk_live_…). A new account starts with a test key.
A key’s mode must match the server’s payment configuration, reported at
GET /version as gateway_mode:
Generate a key
- Go to Settings → API Keys in your dashboard
- Click Create API Key and choose Test or Live
- Copy and store it securely — the full key is shown only once
test:
Usage
Pass your API key in theAuthorization header as a Bearer token:
Idempotency-Key header so retries never
duplicate work — see Idempotency.
Key Scope
API keys are tenant-wide: every key grants the same access to everything in
its tenant and mode (
rsk_live_ / rsk_test_). There are no per-resource
or read-only scopes, so contain blast radius by issuing one key per
integration and revoking it on its own.Security Best Practices
Environment Variables
Rotate Regularly
Use Test Keys in Dev
One Key per Integration
Revoke a Key
If a key is compromised:- Go to Settings → API Keys
- Click Revoke on the compromised key
- Generate a new key
- Update your applications
Revoking a key is immediate and permanent.