Skip to main content

Create a FX transaction

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 Body required
  • currencyFrom string required
  • currencyTo string required
  • 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-time required
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: [not hedged, hedged, error, to-hedge, hedging]

  • fromAutomation boolean
Loading...