# Fees

A `Fee` is a charge levied against a `Merchant`. It represents how a platform charges its sellers for all various types of Fees.


## List Fees

 - [GET /fees](https://docs.finix.com/api/fees/listfees.md): Retrieve a list of Fee resources. 

#### Filter Fees by Linked Entity

You can filter fees by the entity that generated them using the linked_to query parameter (e.g., ?linked_to=TRrB2VG7H84LmRgSTkfR2Cb6).

#### Filter Fees by Merchant

Another useful filter is to filter on the merchant charged fees by passing the merchant_id as a query parameter. To show fees created on or after a specific date, pass the created_at.gte query parameter. Together, these will show all fees charged to a specific merchant within a given date range:

Example: ?merchant_id=MUeDVrf2ahuKc9Eg5TeZugvs&created_at.gte=2025-01-01

## Create a Custom Fee

 - [POST /fees](https://docs.finix.com/api/fees/createfee.md): Create a custom (i.e. one-time) Fee.

## Fetch a Fee

 - [GET /fees/{fee_id}](https://docs.finix.com/api/fees/getfee.md): Retrieve the details of an existing Fee.

## Update Fee

 - [PUT /fees/{fee_id}](https://docs.finix.com/api/fees/updatefee.md): Update the details of a Fee.

## List Fees

 - [GET /fees](https://docs.finix.com/api/split-transfers/listfees.md): Retrieve a list of Fee resources. 

#### Filter Fees by Linked Entity

You can filter fees by the entity that generated them using the linked_to query parameter (e.g., ?linked_to=TRrB2VG7H84LmRgSTkfR2Cb6).

#### Filter Fees by Merchant

Another useful filter is to filter on the merchant charged fees by passing the merchant_id as a query parameter. To show fees created on or after a specific date, pass the created_at.gte query parameter. Together, these will show all fees charged to a specific merchant within a given date range:

Example: ?merchant_id=MUeDVrf2ahuKc9Eg5TeZugvs&created_at.gte=2025-01-01

