Test your integration
Use test credits to ensure your integration is working as intended.
Before your integration goes live, you may want to make some test payments to ensure that everything is properly configured. For this purpose, Flexa offers test mode, a production-level testing environment that can help you evaluate your integration without generating any real-world financial transactions or other downstream effects.
By default, all new Flexa Payments integrations start off in test mode. After your business has been approved to go live, you can enable test mode again at any time by flipping the test mode switch in your Dashboard or the Point of Sale app. If you want to force the Flexa API to respond in test mode, simply use your test mode API keys.
About test credits
Test mode is designed to help you test your integration using the same apps your customers use, and as a result, it doesn’t require the use of test networks or special app configurations. However, because test mode doesn’t process any real value, the only currency that Flexa supports in test mode is a valueless asset called “credit.”
Credit (CR) is an ERC-20 token issued on the Ethereum main network. If you provide an Ethereum wallet address when you sign up with Flexa, we’ll send you enough credit to make several hundred test payments. And because credit is a standard ERC-20 token, you can easily send a portion of your credit balance to another address if you need to test from a different wallet or app.
Only use credit with self-custody wallet apps
We don’t recommend requesting or sending credit to an exchange or managed-custody wallet (for example, your Coinbase or Kraken account), because it’s unlikely that a third-party custody provider will be able to help you retrieve or send credit for testing purposes. Instead, use credit with a self-custody wallet app like MetaMask, Coinbase Wallet, or Rainbow.
Request more test credits
If you run out of credit and need more for testing, reach out to our Partnerships team or email [email protected] from the email address associated with your Flexa developer account. Make sure to include your wallet address in your email message.