---
title: "ExchangeRate"
slug: "api/basket/types/exchangerate"
sidebar:
  order: 308
---

<a id="ref-7578ef84d5df"></a>
<a id="ref-1a702957df21"></a>
<a id="ref-9b85f55d39ab"></a>

## Synopsis

```text
struct ExchangeRate {
    string currency;
    decimal rate;
}
```

The attribute `currency` contains the currency code. The attribute `rate` contains the exchange rate. If the attribute `rate` is missing, the exchange rate is unknown or invalid.
