Skip to main content
POST
Create an FX quote

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
from
object
required

Currency and, optionally, amount to sell. Exactly one of from and to must be USDC. Set at most one of from.amount and to.amount; tradable quotes require exactly one. Amounts must be at least 2.00 with at most 2 decimal places.

to
object
required

Currency and, optionally, amount to buy.

type
enum<string>
default:reference

The quote type. Use tradable to get a quote you can execute with Create an FX trade. Defaults to reference.

Available options:
reference,
tradable
Example:

"tradable"

source
object

Required for tradable quotes. The end user's account that is debited for the from amount. Ignored for reference quotes.

destination
object

The end user's account that is credited with the to amount. Must belong to the same client entity as source. Defaults to source. Ignored for reference quotes.

Response

Successfully created a quote.

data
object