Get Quote

Get the quote for currency conversion. Must get quote before requesting a currency conversion order

Weight: 1 time / second


Request Parameters


PARAMETERTYPEReq'dExample ValuesDESCRIPTION
buyCurrencySTRINGYHKDThe currency which the client wants to buy from the bank
sellCurrencySTRINGYUSDThe currency which the client wants to sell to the bank
sellAmountSTRINGYThe amount in sellCurrency, only sellAmount allowed.

Response Content


PARAMETER

TYPE

Example values

DESCRIPTION

quoteId

STRING

HSK19AGBD0P9H2JP

A unique reference ID for this quote

channel

STRING

SC_SCALE FX_DB SC_SELF

buyCurrency

STRING

HKD

Currency to buy

sellCurrency

STRING

USD

Currency to sell

sellAmount

STRING

The amount in sellCurrency, only one of buyAmount or sellAmount allowed.

rate

DECIMAL

0.1288084

Indicative rate

quoteCreatedTime

LONG

1726727143011

Rates are effective as of this timestamp

quoteExpiryTime

LONG

1726727203011

Rates are valid until this timestamp

Language
Credentials
Header
Click Try It! to start a request and see the response here!