Skip to main content

Create a FX transaction

POST 

/api/fx_transaction_details

Creates a new FX transaction using the specified currency pair, value date, and either amountFrom or amountTo. Only one of the two amounts may be provided per request.

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 integer
    currencyFrom string
    currencyTo string
    amountFrom string
    amountTo string
    direction string

    Possible values: [sell, buy]

    dealDate string
    valueDate string
    type string

    Possible values: [spot, forward]

    spotRate string
    forwardPoints stringnull
    platformRate string
    status string

    Possible values: [created, pending, transferred, canceled]

    fromAutomation boolean
Loading...