Create a fiat-swap quote

Creates a short-lived quote between USD and NGN. Supply either quantity or total, but not both.

Execute the quote before the returned expiresAt time. A quote response does not move funds; use Execute a fiat swap with the returned quoteID.

Body Params

Quote request.

Supply the amount of asset to quote. OneLiquidity calculates the corresponding total in spendAsset.

string
enum
required

Buy or sell asset.

Allowed:
string
enum
required

Asset to receive or sell, according to side.

Allowed:
string
enum
required

Other asset in the quote pair.

Allowed:
number
required
> 0

Positive amount of asset to quote.

Responses

503

No eligible quote service is currently available.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json