# `CCXT.FundingHistory`
[🔗](https://github.com/ZenHive/ccxt_client/blob/main/lib/ccxt/funding_history.ex#L1)

Unified funding payment history data.

Represents a single funding payment received or paid on a perpetual swap position.

## Fields

  * `id` - Payment ID
  * `symbol` - Unified symbol
  * `code` - Currency code
  * `timestamp` - Payment time in milliseconds
  * `datetime` - ISO 8601 datetime string
  * `amount` - Funding amount (positive = received, negative = paid)
  * `info` - Raw exchange response

# `t`

```elixir
@type t() :: %CCXT.FundingHistory{
  amount: number() | nil,
  code: String.t() | nil,
  datetime: String.t() | nil,
  id: String.t() | nil,
  info: map() | nil,
  symbol: String.t() | nil,
  timestamp: integer() | nil
}
```

# `schema`

```elixir
@spec schema() :: map()
```

JSON Schema for the FundingHistory unified type.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
