Create an FX quote
Quotes are opaque and indicative (floating: the rate re-derives at execution), and carry the OZAV all-in client-facing rate. When enabled, they also carry the additional client-selected spread in basis points. A quote is executed by creating a transfer that references it.
Setting your own spread (revenue share). Pass the optional spread_bps to add basis points on top of the OZAV all-in rate for this quote. This value is your additional client-selected spread; it rides the quote through to settlement and is echoed back as exchange_conditions.spread_bps. OZAV cost, floor, margin, and split analytics are internal and are never exposed in the public response. Availability of client-selected spread is gated on enablement for your organization.
Sandbox. With a test key (ozav_sk_test_), quotes are simulated. Sandbox quotes use the current production reference for the currency pair plus a 1 bp sandbox margin and your configured spread, the way production prices them. When no current reference exists for a pair, a fixed table stands in. Sandbox quotes are not executable.
Request
- Base URLhttps://developers.ozav.io/v2
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body
Example request
{
"source": {
"amount": "1250.00"
},
"target": {
"amount": "1250.00"
},
"destination_country": "CN"
}Response
The quote.
Example response
{
"source": {
"amount": "1250.00"
},
"target": {
"amount": "1250.00"
},
"legs": [
{
"source": {
"amount": "1250.00"
},
"target": {
"amount": "1250.00"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.