ExecuteQuote API

Test this service via Swagger: https://app.swaggerhub.com/apis-docs/Synnetra4/FXWebAPISOA/1.7

During implementation we provide dedicated Swagger documentation pointing to the Sandbox environment of the customer

For architecture overview check:

REST API for SOAClient facing REST API

/Quote/QuoteExecute

POST https://demo.fxcib.com/api/Quote/QuoteExecute

This service is executing the trade with quote that has been previously requested. FXWebAPI is "freezing" the rate on the back-end and is validating if execution request has come in a defined time (ex. 20 seconds after inicial Quote). Time can be defined by customer/API service.

Request Body

Name
Type
Description

exchangeRate

string

A rate that you got via Quote service. Please use "." as decimal separator.

settlementDate

string

Format: ddMMyyyy. When null, request is SPOT request.

quoteReqID

string

Unique RequestID. Max 25 signs (for GUID - encode GUID as a base64 string)

customerSegment

string

Agreed name of the customer segment. Names of customer segments are depending on implementation. In our Swagger Demo please use: SYNNETRA.HTML.TEST

fromCurrency

string

Currency Code ISO 4217 standard

toCurrency

string

Currency Code ISO 4217 standard.

transactionCurrency

string

Currency Code ISO 4217 standard

transactionAmount

number

Please use "." as decimal separator

key

string

Key provided by FXWebAPI

[
  {
    "ExchangeRate": 1.130358,
    "Reference": "rest_1e482053-8562-4a46-837a-4c014fac36243",
    "ValidityTime": "/Date(1557141987904)/",
    "ConvertedAmount": 168.68428,
    "OppositeAmount": 432.24
  }
]

Example:

{
  "quoteReqID": "1e482053-8562-4a46-837a-4c014fac36243",
  "customerSegement": "SYNNETRA.HTML.TEST",
  "fromCurrency": "USD",
  "toCurrency": "EUR",
  "transactionCurrency": "EUR",
  "transactionAmount": 1520,
  "exchangeRate": 1520.32,
  "request": {
    "key": "X445Acg7tkxsy7HfZKHgDUKxKW9g4RWazM9NtjWTwdU6nxtQGKgKTMNmSdDcPECHGpvz3PnNVDH4H2Mq"
  }
}

Last updated