Skip to main content

DailyRate

Describes currency conversion for payments and payouts. Rapyd uses a snapshot of daily foreign exchange rates fetched at 9 PM UTC. The rate returned includes the FX markup fees.

Properties

NameTypeRequiredDescription
action_typestrThe type of transaction that the currency exchange applies to. One of the following - payment, payout
buy_amountfloatIf fixed_side is buy, the value of amount. If fixed_side is sell, the value of buy_currency following the currency exchange transaction. Relevant when amount and fixed_side are specified.
buy_currencystrThe currency purchased in the currency exchange transaction. Three-letter ISO 4217 code. Uppercase.
date_strThe date when the rate is applicable. Today or earlier. Format is YYYY-MM-DD. Default is today.
fixed_sidestrIndicates which currency the rate is fixed for. One of the following : _ buy - The currency defined by buy_currency. _ sell : The currency defined by sell_currency.
ratefloatThe exchange rate. Includes FX markup fees.
sell_amountfloatIf fixed_side is sell, the value of amount. If fixed_side is buy, the value of sell_currency following the currency exchange transaction. Relevant when amount and fixed_side are specified.
sell_currencystrSelling currency

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →