> For the complete documentation index, see [llms.txt](https://moneymie.gitbook.io/toga-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://moneymie.gitbook.io/toga-api/how-to-use-the-toga-api.md).

# How to use the Toga API

Get started with Toga API and send your first payout in just a few minutes!

The Toga payouts API allows you to send payouts to over fifteen (15) local currencies and USD to over eighty (80) countries. Follow the steps below to learn how to send funds to over eighty (80) countries using the Toga API.

### Get your API key so you can make API calls successfully.

Most Toga APIs are authenticated. You would need correct authentication credentials for every call you make. Fill out [this form](https://airtable.com/shrpkEkRAejJGcJmH) if you are interested and we will provide you with your authentication details.

### [Generate a rate](/toga-api/api-reference/rate/generate-a-rate.md)

Next, you'll need to generate a rate. Generating a rate allows you to get:&#x20;

* A rate which provides:
  * The USDC amount you'll send to us.
  * The fiat amount we will send to your beneficiary.
* A wallet address that you will fund.
* A rate id: When you generate a rate, you'll get a rate id, a rate id is required to create a payout on Toga. Typically, every transaction **must** have a rate id.

### [Initiate payout](/toga-api/api-reference/payouts/create-a-payout.md)

Initiate the create a payout endpoint. To initiate a payout, you must:

* Provide the beneficiary and sender details: Call the get banks API to get the bank code that applies to each bank or see this list containing the list of [mobile money networks](/toga-api/coverage.md) we support in each country. The details you'll provide would vary based on the country, currency and bank/mobile network.
* [Validate beneficiary details](/toga-api/api-reference/payouts/validate-a-recipient.md).
* Pass the rate id generated in the previous step.
* Initiate payout.

P.S-Before initiating a payout, you can use the [check funding API](/toga-api/api-reference/rate/confirm-funding.md) to confirm that we have gotten the funds. This is important because if we haven't received the funds, the payment is likely to fail.

### [Check for the status of your payout](/toga-api/api-reference/payouts/get-a-payout.md)

Once you have initiated the payout successfully, you can call the get a payout endpoint to check the status of the transaction.

We are currently in the process of building webhook notifications. Once we are done building this, you should be able to enable webhook notifications so you can get notifications.
