Generate a rate
Generate a rate for an intended payout
This endpoint will help you to generate a rate, wallet address and rate id. Every transaction must have a rate id and be funded to create a payout on Toga.
Generate a rate for a payout
POST
https://sandbox.moneymie.com/api/v1/payout/rates
Here's an example of a call 👇
{{baseURL}}/v1/transactions/rate?country=NG¤cy=USD&token=USDC&local=num
To call this API, you must specify the token and then country and currency in ISO format (ISO 3166-2 and ISO 4217 respectively). For now, we only accept USDC as token. Any other cryptocurrency will not be accepted.
Once the rate is generated, you'll need to send the crypto total to the wallet address generated. Please note that we will not honour payouts initiated without first sending funds to the wallet address. The rate id will need to be added when making a request to create a payout.
Query Parameters
country*
String
The destination country (e.g. NG, GH)
local*
Number
The amount in the local currency (e.g. 400)
currency*
String
The destination currency (e.g. NGN, GHS)
token*
String
The token you will convert to fiat (e.g. USDC)
Last updated