Execute a conversion (consume a quote)
Authorizations
Enter Auth0 JWT token
Headers
A repeat returns the original conversion result.
Optional. Names an owned sub-account (UUID) to convert as: the conversion debits and credits that sub-account's own balance, never the master's, and only a quote minted with the same Zuba-Account-Id can be spent (any other quote returns 400 QUOTE_NOT_FOUND). A sub-account that is not active returns 422 ACCOUNT_NOT_ACTIVE. Omit to convert on the master (tenant) balance, spending any quote of the master and its sub-accounts. Naming an account this key does not own returns 403 not_account_owner.
Body
Id of the firm convert quote to execute
"550e8400-e29b-41d4-a716-446655440000"
Response
The executed conversion: completed, or pending while the institution holding both sides of the pair executes it, after which it reads completed, or failed with the source debit returned to the source balance.
Created at (ISO 8601)
Per-conversion fee charged on the source leg, in feeCurrency, as locked on the quote: the greater of the basis-point charge and the fixed floor from your pricing, "0.0000" when your pricing carries none. Part of the source amount, not added to it.
"0.0000"
Fee currency
"USD"
Conversion id
"uuid"
All-in rate applied: source units per 1 target unit
"1.09860000"
Debited from the source balance
"500.0000"
Source currency
"USD"
pending while the conversion is in flight, with the source amount already debited; completed once the target amount is credited; failed when nothing was converted and the source amount is back on the source balance
completed, failed, pending "completed"
Credited to the target balance
"455.1200"
Target currency
"EUR"
Owning sub-account; present when the conversion was made in a sub-account context (Zuba-Account-Id header) and booked on that sub-account's balance. Absent = the conversion booked on your master account.