This guide covers API keys for programmatic integrations. Dashboard login uses email OTP and JWT — see your dashboard app for that flow.
Creating an API key
API keys are created in the Remitflex Dashboard after you log in. Keys cannot be created via the public API using another API key.1
Log in to the dashboard
Complete email + OTP login to receive a short-lived access JWT.
2
Open API Keys
Navigate to Settings → API Keys and click Create new key.
3
Choose environment and access
Select test or live, then read, write (full access), or both. See Key scopes below.
4
Copy the key immediately
The full key is shown once at creation. Store it in a secrets manager or environment variable.
rmf_live_••••••••<last4>.
Using your API key
Send the key as a Bearer token on every business API request:Key types: test vs live
Key scopes
Secret API keys use a simple read / write model. Scopes are enforced on API-key requests. Dashboard JWT sessions have full access to business routes.
New keys should use only these scopes. Existing keys with older product scopes (
transfers:*, collections:*, offramps:*, etc.) still work — RemitFlex treats any legacy write as full write, and any legacy read as full read.
Publishable keys (rmf_pk_*) are embed-safe and receive only collections:read (pay-page / embed reads). They cannot create or mutate resources — use a secret key or dashboard JWT for writes.
Default for backend integrations: full access (api:read + api:write).
Idempotency
Mutating requests authenticated with an API key (POST, PUT, PATCH, DELETE) require an Idempotency-Key header. See Idempotency for details.
JWT requests from the dashboard do not require idempotency keys.
JWT-only routes
These routes require a dashboard access token, not an API key:/v1/auth/*— register, login, OTP, refresh, logout/v1/api-keys/*— create, list, revoke keys/v1/admin/ops/*— RemitFlex internal ops only (not a merchant API)
/v1/webhooks) accepts JWT or API keys with api:read / api:write. See Webhooks.
Error responses
Security best practices
- Use separate keys per environment and per service.
- Rotate keys periodically; revoke old keys after migration.
- Use test keys (
rmf_test_) for all local and CI workflows.