get https://api-pro.sim.hashkeydev.com/api/v1/convertCurrency/getQuote
Get the quote for currency conversion. Must get quote before requesting a currency conversion order
Weight: 1 time / second
Request Parameters
PARAMETER | TYPE | Req'd | Example Values | DESCRIPTION |
---|---|---|---|---|
buyCurrency | STRING | Y | HKD | The currency which the client wants to buy from the bank |
sellCurrency | STRING | Y | USD | The currency which the client wants to sell to the bank |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
quoteId | STRING | HSK19AGBD0P9H2JP | A unique reference ID for this quote |
buyCurrency | STRING | HKD | Currency to buy |
sellCurrency | STRING | USD | Currency to sell |
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 |