> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fluz.app/llms.txt
> Use this file to discover all available pages before exploring further.

# DepositFeeComponent

> One part of a deposit fee and the configuration that priced it.

**Object**

One part of a deposit fee and the configuration that priced it.

`feePercent`, `feeFixed` and `feeAmount` are always what this part charges. When the part's configuration replaces a standard rate, `baseFeePercent` / `baseFeeFixed` show that standard rate, so you can show both:

* `FEE_OVERRIDE`: the fee definition's own rate. For example, a standard 1.95% and an agreed 1.5%.
* `BIN_OVERRIDE`, `MCC_TIER`, `AFT_RATE`: the payment method's standard rate. For example, a 3% debit card rate and 1.5% for the card's BIN.

The identifier fields name the configuration behind the part. Only the ones that match its `source` are set; the rest are null.

| `source` | Identifiers set |
| - | - |
| `FEE_DEFINITION` | `feeDefinitionId` |
| `FEE_OVERRIDE` | `feeOverrideId`, and `feeDefinitionId` of the definition it replaced |
| `BIN_OVERRIDE` | `binOverrideId`, and `paymentRateId` of the payment method rate it replaced |
| `MCC_TIER` | `mccOverrideId` and its `binOverrideId`, and `paymentRateId` of the payment method rate it replaced |
| `AFT_RATE`, `PAYMENT_METHOD_RATE` | `paymentRateId` |
| `NONE` | none |

## Fields

**type** `DepositFeeComponentType!`

Who this part of the fee is collected for. See [`DepositFeeComponentType`](https://docs.fluz.app/api-reference/types/deposit-fee-component-type).

**source** `DepositFeeRateSource!`

What set the rate of this part of the fee. See [`DepositFeeRateSource`](https://docs.fluz.app/api-reference/types/deposit-fee-rate-source).

**feePercent** `Float`

The percentage of the deposit amount this part charges. Null when it is a fixed amount only.

**feeFixed** `Float`

The fixed amount this part charges. Null when it is a percentage only.

**baseFeePercent** `Float`

The standard percentage this part's configuration replaced: the fee definition's own rate for a `FEE_OVERRIDE` source, and the payment method's rate for a `BIN_OVERRIDE`, `MCC_TIER` or `AFT_RATE` source. Null for the other sources.

**baseFeeFixed** `Float`

The standard fixed amount this part's configuration replaced, for a `FEE_OVERRIDE` source. Null for the other sources.

**feeAmount** `Float!`

This part of the fee. The amounts of all parts add up to the estimate's `fee`; the breakdown is only returned when they do.

**feeDefinitionId** `UUID`

The fee definition that priced this part, for a `FEE_DEFINITION` source, or the definition the override replaced, for a `FEE_OVERRIDE` source.

**feeOverrideId** `UUID`

The fee definition override that priced this part, for a `FEE_OVERRIDE` source.

**paymentRateId** `UUID`

The payment rate that priced this part, for an `AFT_RATE` or `PAYMENT_METHOD_RATE` source, or the payment method rate that the BIN configuration or merchant category tier replaced, for a `BIN_OVERRIDE` or `MCC_TIER` source.

**binOverrideId** `UUID`

The BIN configuration that priced this part, for a `BIN_OVERRIDE` or `MCC_TIER` source.

**mccOverrideId** `UUID`

The merchant category tier that priced this part, for an `MCC_TIER` source.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.