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

# Fees

> Fee breakdown for an operation

## Properties

| Property    | Type                                                                            | Required | Description                                                                                                               |
| ----------- | ------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------- |
| `network`   | [MonetaryAmount](/api-reference/platform/objects-and-types/fees#monetaryamount) | No       | The network fee (e.g., gas fee for blockchain transactions)                                                               |
| `moonpay`   | [MonetaryAmount](/api-reference/platform/objects-and-types/fees#monetaryamount) | No       | The MoonPay processing fee                                                                                                |
| `ecosystem` | [MonetaryAmount](/api-reference/platform/objects-and-types/fees#monetaryamount) | No       | The ecosystem fee, if applicable                                                                                          |
| `partner`   | [MonetaryAmount](/api-reference/platform/objects-and-types/fees#monetaryamount) | No       | **Deprecated.** Use `ecosystem` instead. This field will be removed in a future release. The partner's fee, if applicable |

## MonetaryAmount

Each fee is represented as a monetary amount:

| Property       | Type   | Required | Description                                          |
| -------------- | ------ | -------- | ---------------------------------------------------- |
| `amount`       | string | Yes      | The numeric amount as a string to preserve precision |
| `currencyCode` | string | Yes      | The currency code (e.g., `USD`)                      |

## Example

```json theme={null}
{
  "network": {
    "amount": "2.50",
    "currencyCode": "USD"
  },
  "moonpay": {
    "amount": "3.99",
    "currencyCode": "USD"
  },
  "ecosystem": {
    "amount": "1.00",
    "currencyCode": "USD"
  },
  "partner": {
    "amount": "1.00",
    "currencyCode": "USD"
  }
}
```

<Note>
  All fee amounts are strings to preserve decimal precision. Parse them
  appropriately in your application.
</Note>
