exchangeRateId
.Request a floating rate
"type": "FLOATING"
and the intended
currencies/amount.Review rate
Execute transaction
Lock a rate
"type": "LOCKED"
and a timeLock
(e.g.,
30s
, 1m
, 5m
).Receive ID and expiry
exchangeRateId
and expiresAt
(UTC).Execute before expiry
exchangeRateId
. The transaction
settles at the locked rate.30s
— fast confirmations / automated flows (default)1m
— standard user interactions5m
— multi-step approvalsFeature | Floating rate | Locked rate |
---|---|---|
Rate guarantee | No | Yes (for lock window) |
Lock duration | N/A | 30s , 1m , 5m |
Amount inputs | Source or target amount | Source and/or target amount (per your flow) |
Quote ID (exchangeRateId ) | Not used | Required |
Expiration | No | Yes (expiresAt ) |
Fees | Lumx + optional partner | Lumx + optional partner (lock may include premium) |
Best for | Immediate exec, low friction | Guaranteed pricing, exact user quotes |
id
(your exchangeRateId
) and expiresAt
.rate_expired
— The locked quote expired before execution. Request a new locked rate or switch to a floating rate.invalid_exchangeRateId
— The ID is unknown or already used (locked quotes are single-use).unsupported_pair
— The currency pair combination isn’t valid; adjust inputs.timeLock
that fits your UX to reduce premium and timeout risk.exchangeRateId
is single-use; request a new one per transaction.