Orders
Create quote
Reserves a quote. Order type is inferred from the from/to legs:
| Type | from | to |
|---|---|---|
| onramp | { currency, amount? } | { currency, network, amount? } |
| offramp | { currency, network, amount? } | { currency, amount? } |
| swap | { currency, network, amount? } | { currency, network, amount? } (same network) |
Both legs use currency. Crypto legs require network; fiat legs must omit it. Set amount on exactly one leg.
Quotes expire — create the order before ttl_in_seconds elapses.
Auth: Secret key + HMAC. Account must be KYB-approved in the partner portal.
Related: Create order
POST
Authorizations
Bearer sk_* plus required headers:
- liquidramp-client-id
- liquidramp-timestamp (unix ms)
- liquidramp-signature (sha256=...)
Body
application/json