Skip to main content
By default, the amount on a payout is what you send from your wallet. The customer receives that amount converted into the payout currency. If you’d rather fix what the customer receives, for example exactly 5,000 MXN, set amount_type to receive. We calculate how much to send and the fees, then debit your wallet for both. amount_type is optional. Leave it out, or set it to send, and nothing changes. In both modes, fees are added on top and charged to your wallet. In receive mode the customer always gets the full requested amount. Receive mode is supported on:
  • POST /api/v1/exchange-rate (payout quotes)
  • POST /api/v1/wallet/payout
A quote fixes the rate and fees for 5 minutes, so you can show the exact debit before you commit.

1. Get a quote

Response (the numbers here are only examples):

2. Create the payout with the quote

Submit the payout to /api/v1/payout/simple (or /api/v1/wallet/payout):
  • Sandbox: https://smtp.yativo.com/api/v1/payout/simple
  • Production: https://api.yativo.com/api/v1/payout/simple
The quote supplies the amount, so you don’t need to send amount or amount_type. Any amount_type you send with a quote_id is ignored. The payout method on the quote must match the beneficiary’s payout method.

Option B: Pay out directly

The send amount is calculated at the current rate when the request is processed. Use Option A if you need to know the debit in advance.

Payout response

Every POST /api/v1/wallet/payout response includes these fields, in either mode:

Same-currency payouts

When the debit wallet and the payout currency are the same (for example, USD to USD), the send amount equals the receive amount. Fees are still added on top.

Limits and errors

  • The payout method’s minimum and maximum limits are checked against the calculated send amount, so a receive amount can be rejected for being above or below a limit. The error message shows the limit in your wallet currency.
  • If your wallet balance can’t cover the send amount plus fees, the request fails with Insufficient wallet balance. Nothing is debited.
  • An amount_type value other than send or receive returns 422.
  • amount_type: receive on a payin quote returns 422.