Staging environment
The Fluz staging environment lets you explore the platform’s features. Use it to experiment, build integrations, and train your team.
Production environment
Purpose: The live environment is where you make purchases, earn cashback, and manage your account. Everything here uses real data and has real-world consequences. Data usage: Only use real, verified data in the live environment. Actions here affect your actual account and can’t be undone.What’s separate between them
Staging and live don’t share anything. Each has its own:- users and logins — sign up separately in each;
- accounts — personal and business accounts, balances, cards and transactions;
- applications and API keys — a key from one environment is unknown to the other;
- OAuth grants and webhook configuration.
A live key sent to the staging endpoint (or the reverse) fails with
401 Error verifying API basic token. See API credentials.
Application activation and restricted capabilities, such as registerUser and VERIFY_KYC, are granted per application. That means separately in each environment. See How accounts work.
Funding a staging wallet
A new staging account has a zero balance, so card issuing and gift card purchases fail until you add funds.1
Find the spend account
Call
getUserCashBalances and take the userCashBalanceId of the spend account you want to fund. getWallet.cashBalance may only reflect the default spend account.2
Ask Fluz to seed it
Send your staging account ID, the
userCashBalanceId, and the amount to your Fluz contact. This is the reliable way to fund staging today.3
Or deposit from a test funding source
Deposit from a test bank card or test bank account, passing the
userCashBalanceId from step 1. Moving from staging to live
Before you switch, test every flow thoroughly in staging and resolve any bugs. Then:- sign up (or log in) at
fluz.app; - recreate your application there, from the same template, and ask Fluz to activate it and enable the same capabilities;
- swap in the live API key, OAuth client credentials, and endpoint;
- re-register webhooks and redirect URIs.
Next steps
Prepare your accounts
Sign up in staging and create the right type of application.
Idempotency
Safely retry money-moving mutations without creating duplicates, in either environment.