Testing

To test the Request Finance API with your application, you can use your “Test” API key when making requests. You can find your “Test” API key in the "Developer" tab in “Settings”.

Invoices that you create using your “Test” API key will be persisted on the Goerli Testnet (a testing network for Ethereum). You can see and interact with them in our sandbox: https://baguette-app.request.finance/. Use your existing credentials to access your sandbox account.

API keys are not recommended for a live application and will be deprecated. Follow the steps in Going Live instead.

Payments

To test paying an invoice or a payroll payment without spending real tokens, you can use ETH on Goerli Testnet. You can get some using a faucet online and your wallet address.

Make sure to create invoices and payroll payments with ETH on Goerli as a payment method.

Since the account that issued the invoice cannot be the account that pays the invoice, you will need to create another Request Finance account for the buyer role.

Test ERC20 tokens

To test stablecoin payments on Goerli, we use FAU as a DAI-pegged testnet token. You can mint some FAU tokens at https://erc20faucet.com/.

Postman Collection

You can find a Postman collection of the Request Finance API here. Feel free to use it to test the API.

Last updated