GuidesAPI ReferenceChangelog
API Reference

Create Quote

Price a conversion between two assets for a customer and return a short-lived quote

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns 201 Created with a quote_id that is valid for expire_time seconds (currently 30), until valid_until_timestamp.

Set the amount on exactly one side: from_asset.amount to convert a fixed amount of the pay asset, or to_asset.amount to receive a fixed amount of the obtain asset. Supplying both, or neither, returns 400.

Assets are identified by name only — the request takes no network field. Pass the quote_id to Execute Quote before it expires.

Path Params
string
required

Customer ID

Body Params
from_asset
object
required

From asset information

to_asset
object
required

To asset information

Responses

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