Skip to main content

Get Crossborder Rate

GET 

/v1/crossborder/rates

Returns an exchange rate for the requested currency pair, side, and amount. The rate is valid for a limited period. To lock in the rate and proceed with the exchange, submit the returned rate ID to the quote endpoint (POST /crossborder/quotes).

Request

Query Parameters

    base_currency_symbol stringrequired

    Base currency symbol.

    quote_currency_symbol stringrequired

    Quote currency symbol.

    amount_currency stringrequired

    Possible values: [BASE_CURRENCY, QUOTE_CURRENCY]

    Amount currency.

    amount numberrequired

    Amount in cents.

    side stringrequired

    Possible values: [BUY, SELL]

    Side.

    settlement_date_code stringrequired

    Possible values: [D0, D1, D2]

    Settlement date code.

    client_extra_spread number

    Client extra spread in percentage.

    client_id stringrequired

    Client ID.

    client_account_id string

    Client account ID.

    client_wallet_id string

    Client wallet ID.

    counterparty_id stringrequired

    Counterparty ID.

    counterparty_account_id string

    Counterparty account ID.

    counterparty_wallet_id string

    Counterparty wallet ID.

Header Parameters

    x-transaction-uuid stringrequired

    The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.

    x-wallet-uuid string

    Sender Wallet UUID (if empty, your default Wallet UUID will be settled)

    nonce stringrequired

    The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.

    x-lang string

    Possible values: [pt-BR, en-US]

    Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.

    x-product-uuid string

    UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.

    x-product-target-user-uuid string

    UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.

Responses

Rate returned successfully.

Schema
    id stringrequired

    Rate ID.

    base_currency_symbol stringrequired

    Possible values: [USD, BRL, EUR, MXN, ARS, COP, CLP, PEN, ECU, UYU, PYG, USDC, USDT]

    Base currency symbol.

    base_currency_decimals numberrequired

    Base currency decimals.

    quote_currency_symbol stringrequired

    Possible values: [USD, BRL, EUR, MXN, ARS, COP, CLP, PEN, ECU, UYU, PYG, USDC, USDT]

    Quote currency symbol.

    quote_currency_decimals numberrequired

    Quote currency decimals.

    side stringrequired

    Possible values: [BUY, SELL]

    Side.

    price numberrequired

    Price.

    price_decimals numberrequired

    Price decimals.

    fees object[]required

    Fees charged.

  • Array [
  • name stringrequired

    Possible values: [SYSTEM_SPREAD, CLIENT_EXTRA_SPREAD, IOF]

    Fee name.

    fee numberrequired

    Fee.

    fee_format stringrequired

    Possible values: [PERCENTAGE]

    Fee format.

    amount numberrequired

    Fee total amount charged in cents.

    amount_decimals numberrequired

    Amount decimals.

    amount_currency_symbol stringrequired

    Possible values: [USD, BRL, EUR, MXN, ARS, COP, CLP, PEN, ECU, UYU, PYG, USDC, USDT]

    Amount currency symbol.

  • ]
  • vet numberrequired

    VET.

    base_currency_amount numberrequired

    Base currency amount in cents.

    quote_currency_amount numberrequired

    Quote currency amount in cents.

    settlement_date_code stringrequired

    Possible values: [D0, D1, D2]

    Settlement date code.

    settlement_date date-timerequired

    Settlement date in YYYY-MM-DD format.

    expires_at date-timerequired

    Expiration date in YYYY-MM-DDTHH:mm:ss.SSSZ format.

    created_at date-timerequired

    Creation date in YYYY-MM-DDTHH:mm:ss.SSSZ format.

Loading...