Endpoints
Inferring flow type
Quote requests do not include atype field. The API derives it from the legs:
Cross-network swaps are rejected.
Amount rules
Exactly one offrom.amount or to.amount must be provided. The other side is calculated.
Quote result
A successful reserved quote returns:fee is omitted when the fee is already included in pricing.exchange_rate. When no provider can fulfil the corridor, the API may return a suggestion with an alternate amount instead of a quote.
Reservation
POST /v1/orders/quote always reserves. Pass the returned quote_id to POST /v1/orders to lock pricing. Create the order before ttl_in_seconds elapses; re-quote if the user delays.