Skip to main content

Request an FX rate

POST 

/api/deal_request

This endpoint allows users to request an FX (foreign exchange) rate based on provided parameters such as currency pair and amounts.

Request

Header Parameters

    Unique-Request-Id string

    Possible values: <= 50 characters

    An optional unique identifier for the request, limited to 50 characters. Used to track requests and prevent duplication.

Body

required
    currencyFrom stringrequired
    currencyTo stringrequired
    amountTo stringnull

    Possible values: Value must match regular expression ^(\d+.\d\d)$

    amountFrom stringnull

    Possible values: Value must match regular expression ^(\d+.\d\d)$

    valueDate date-timerequired

Responses

Created - The request was processed successfully.

Schema
    id string
    currencyFrom stringnullrequired
    currencyTo stringnullrequired
    amountFrom stringnull

    Possible values: Value must match regular expression ^(\d+.\d\d)$

    amountTo stringnull

    Possible values: Value must match regular expression ^(\d+.\d\d)$

    valueDate stringrequired
    spotRate stringnull
    platformRate stringnull
    forwardPoints stringnull
Loading...