Create a key
Sign in using the Merchant Portal invitation or access link supplied to you. Select the correct merchant and confirm that your user can manage API keys. Start the Quickstart once Sandbox access and your key are ready. Portal sign-in and API Bearer authentication are separate.- In the Merchant Portal, select your merchant and open Developers → API keys.
- Select Sandbox for testing or Production for live requests. Production key creation is available once your merchant is enabled for live processing.
- Choose Generate secret key. Your Portal user needs permission to manage API keys.
- Store the new value in your server-side secrets manager. It is shown only once.
api_test_sk_; Production secret keys start with
api_live_sk_. A key selects the mode for API requests. Keep keys separate in
your application configuration, and never send a Production key from a test integration.
Configure the key
Store the key in a server-side secrets manager or environment variable:Send an authenticated request
401 Unauthorized with
error.code: "invalid_api_key".
Keep the key safe
- Keep separate credentials for each environment in your own system.
- Restrict access to the service that calls Flowlix.
- Redact the
Authorizationheader from application and proxy logs. - If a key may have been disclosed, revoke it in the Portal and contact Flowlix support.
Replace or revoke a key
For a planned replacement, generate a new key in the same mode and use the new key only for new operations. Idempotency is scoped to the API key as well as the operation: the sameIdempotency-Key under a different API key does not
protect against creating a second Payment, Refund, or Payout.
Keep retries of existing operations on their original API key, following
Idempotency. Resolve or reconcile outstanding operations
and verify the new key before retiring the old one. In Developers → API keys,
choose Revoke key for the old key and confirm with your current password.
Revocation can take up to a minute to take effect.
If the key is compromised, revoke it promptly. Reconcile any uncertain create
results; never automatically retry those creates under the new key. Contact
Flowlix support when you cannot establish whether an operation was created.
Authentication and resource access
A valid key for another mode does not grant access to the original mode’s
objects. A Payment or Payout lookup outside the key’s merchant and mode returns
404 object_not_found, just like an unknown object ID.
For the full response shape and retry rules, see API errors.