Read the bank's current customer exchange rates and spreads per currency pair, as a quote asked for now would be priced
/fx-rate-sheetA customer identity, or a service holding accounts:fx:quote, reads the bank's current customer rates: for every currency pair the bank quotes, the mid rate it prices from, the rate the customer buys the base currency at, the rate they sell it at, the spreads either side of mid in basis points and the largest conversion the pair prices. Rates are quote-currency major units per one base major unit, at ten decimals, for display. Every pair is quoted against USD, which is how the sheet is approved; a conversion between two foreign currencies is priced through USD on the same sheet. The rates come from the treasury's independently approved sheet, so what is published here and what a quote is struck at are one record; the sheet's maker, approver, policy reference and review evidence stay inside that record. accounts.fx_rate_unavailable-equivalent 409 (ledger.fx_rate_unavailable) when no approved sheet is valid now.
Returns
200 OK
business_datestring · dateRequiredA business date, YYYY-MM-DD
daily_limit_usd_minorintegerRequiredidstringRequiredratesarray of objectsRequired9 child attributes
base_currencystringRequiredbuy_spread_bpsintegerRequiredcustomer_buy_ratestringRequiredcustomer_sell_ratestringRequiredmax_amount_usd_minorintegerRequiredmid_ratestringRequiredpairstringRequiredBASE/QUOTE, for example EUR/USD
quote_currencystringRequiredsell_spread_bpsintegerRequiredvalid_fromstring · date-timeRequiredvalid_untilstring · date-timeRequiredErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503