> For the complete documentation index, see [llms.txt](https://docs.request.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.request.finance/testing.md).

# 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](https://app.request.finance/account/api-keys) in “Settings”.

Invoices you create with your “Test” API key are available in our sandbox at <https://baguette-app.request.finance/>. Log in with your existing credentials to access your sandbox account.

{% hint style="warning" %}
API keys are not recommended for a live application and will be deprecated. Follow the steps in [Going Live](https://docs.request.finance/going-live.md) instead.
{% endhint %}

## Payments

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

Make sure to create invoices and payroll payments with ETH on Sepolia 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 Sepolia, we use `FAU` as a `DAI`-pegged testnet token. You can mint some `FAU` tokens by calling use the `mint` function of the `FAU` smart contract:

* Open the `FAU` contract on Etherscan page: <https://sepolia.etherscan.io/address/0x370de27fdb7d1ff1e1baa7d11c5820a324cf623c#writeContract>
* Click on `Connect to Web3` and pick Metamask
* Metamask will ask you to connect and confirm
* Open the `4. Mint` section

<figure><img src="https://1268149544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fpv0Xl2HidcJ17iZKe35l%2Fuploads%2FvdlnKAi6JNqUw6AKHpUg%2Fimage.png?alt=media&amp;token=127aea16-f320-4507-aee8-591814b62471" alt=""><figcaption><p><code>mint</code> function of the <code>FAU</code> smart-contract</p></figcaption></figure>

* Fill up the `to (address)` field with the address of your wallet (you can find it on top of your Metamask window)
* Insert `10000000000000000000000` for the `value (uint256)`. This is equivalent to `10000 FAU` (with 18 decimals after that).
* Click `Write`, confirm the transaction in Metamask

💡 If you don’t see your `FAU` on Metamask:

* Click on “Don’t see your token? Import tokens”
* Click on “Add custom token” and paste `FAU` contract address: `0x370de27fdb7d1ff1e1baa7d11c5820a324cf623c`

## Postman Collection

You can find a Postman collection of the Request Finance API [here](https://www.postman.com/request-finance/workspace/request-finance-api-public/documentation/24913360-b5105a65-a6bd-4247-b3b1-ed60e5c8f5cb). Feel free to use it to test the API.

<br>
