GetQuote API

/Quote/Quote

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

This service allows to get the newest FX rate for particular pair. This service should be used mainly for SOA integrations, where it is not possible to use our real-time streaming websocket endpoint REST API can be customized for each customer/GUI that is using this API. In this example we use "fromCurrency toCurrency" model, where FXWebAPI is defining currency pair. To check other market standard model, please check "Order Placing API" service.

Request Body

Name
Type
Description

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
  }
]

SANDBOX - DEMO

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

{
  "quoteReqID": "5018d55d-fff7",
  "customerSegment": "SYNNETRA.HTML.TEST",
  "fromCurrency": "USD",
  "toCurrency": "EUR",
  "transactionCurrency": "EUR",
  "transactionAmount": 1520,
  "request": {
    "key": "X445Acg7tkxsy7HfZKHgDUKxKW9g4RWazM9NtjWTwdU6nxtQGKgKTMNmSdDcPECHGpvz3PnNVDH4H2Mq"
  }
}

Architecture

It is possible to customize request parameters during the project without additional costs. Below you can find our standard ready available service for getting the newest quote.

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

For architecture overview check:

Last updated