post https://trade-hk.oslsandbox.com/api/3/retail/quote
Get a single quote for a currency-pair.
To call this endpoint, the API Key need to have the
Place and Manage Orders
permission enabled (via OSL website).
responseCode
Code Table
responseCode
Code TableCode | Description |
---|---|
FULL_QUOTE | Success |
CANNOT_PRICE | Error related to pricing availability |
EXCHANGE_RATES_CONVERSION_ERROR | Error related to exchange rate conversion |
PER_TXN_LIMIT_EXCEEDED | Error related to breaching transaction limit |
USER_DAILY_LIMIT_EXCEEDED | Error related to breaching user daily limit |
DEALER_DAILY_LIMIT_EXCEEDED | Error related to breaching platform daily limit |
Please note that the following items in the response are for internal use only:
retailRateInSettlementCurrency
valueAddSettlementAmount
valueAddTradedAmount
wholesaleRateInSettlementCurrency