POST /exchange-rate endpoint is the single source for pricing any transaction on Yativo. It returns a quote_id valid for 5 minutes — use this ID in the execution step to guarantee the rate and fee shown to your customer.
There are two modes:
Type Definitions
Type Definitions
Generate a Quote
string
required
Source currency (ISO 4217), e.g.
"USD", "EUR".string
required
Target currency (ISO 4217), e.g.
"USD", "CLP", "BRL", "MXN".number
required
Amount in the source currency.
integer
Payment method ID from
GET /payment-methods/payout or GET /payment-methods/payin. Scopes the quote to the exact fees for that rail — required for checkout flows where you will execute at the quoted price.string
"payout" for sends/withdrawals or "payin" for deposits. Required when method_id is provided.Execute the Quote
Use thequote_id in the appropriate execution endpoint:
For payouts
For deposits (payin)
Get a Locked Quote for Send Money
For sending money specifically (rather than wallet payouts), use the dedicated send money quote endpoint which also returns aquote_id:
Complete Quote Workflow
Fee Breakdown
Thecalculator.fee_breakdown object contains two fee components:
Always display
payout_data.customer_total_amount_due to the customer — this is the exact amount that will be debited from their wallet.

