Skip to main content

Get an exchange quote

POST 

/api/v1/orders/exchange/quote

Retrieve a market price quote based on the provided request.

Request

Header Parameters

    ApiKey stringrequired
    AccountId stringrequired

Body

required
    from objectrequired
    amount numberrequired

    The specific monetary value that is being converted from in the currency exchange

    currency stringrequired

    Possible values: Value must match regular expression [A-Z]{3}

    The type of currency that the money is being exchanged from

    to objectrequired
    amount numberrequired

    The specific monetary value that is being converted from in the currency exchange

    currency stringrequired

    Possible values: Value must match regular expression [A-Z]{3}

    The type of currency that the money is being exchanged from

    settlementDate daterequired

    Settlement date for the exchange quote

Responses

Created

Schema
    id uuidrequired

    Unique ID of the exchange quote

    rate objectrequired

    Rate of the exchange

    price numberrequired
    currencyPair stringrequired
    type stringrequired

    Possible values: [BID, OFFER]

    from objectrequired
    amount numberrequired

    The specific monetary value that is being converted from in the currency exchange

    currency stringrequired

    Possible values: Value must match regular expression [A-Z]{3}

    The type of currency that the money is being exchanged from

    to objectrequired
    amount numberrequired

    The specific monetary value that is being converted from in the currency exchange

    currency stringrequired

    Possible values: Value must match regular expression [A-Z]{3}

    The type of currency that the money is being exchanged from

    expiresAt daterequired

    Expiration date of the exchange quote

    settlementDate daterequired

    Settlement date of the exchange quote

Loading...