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

# Update fee

> Use this endpoint to update a fee.

PUT/fees/\{token}

Use this endpoint to update a fee. Include the `token` as a path parameter to indicate the fee to update.

## URL path parameters

| Fields | Description |
| - | - |
| token string  Required | Unique identifier of the fee resource. **Allowable Values:**  Existing fee token |

## Request body

| Fields | Description |
| - | - |
| active boolean  Optional | Indicates whether the fee is active. **Allowable Values:**  `true`, `false` **Default value:** `true` |
| amount decimal  Optional | Amount of the fee. **Allowable Values:**  decimal **Format:** 0.00 |
| category string  Optional | **Allowable Values:**  `STANDALONE`, `REALTIME` |
| currency\_code string  Optional | Three-digit ISO 4217 currency code. **Allowable Values:**  Valid three-digit [ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html). |
| fee\_attributes object  Optional | Describes the attributes of a fee. **Allowable Values:**  `reason`, `region`, `status`, `transaction_type` |
| fee\_attributes.**reason** string  Optional | Describes the reason for the fee. **Allowable Values:**  255 char max |
| fee\_attributes.**region** string  Optional | Describes the region in which the fee is assessed. **Allowable Values:**  255 char max |
| fee\_attributes.**status** string  Optional | Describes the status of the fee. **Allowable Values:**  255 char max |
| fee\_attributes.**transaction\_type** string  Optional | Specifies the transaction type in which the fee was assessed. **Allowable Values:**  - `authorization`  - `authorization.atm.withdrawal`  - `balanceinquiry`  - `fee.charge`  - `pindebit.atm.withdrawal`  - `pindebit.authorization`  - `pindebit.balanceinquiry` |
| name string  Optional | Name of the fee request. **Allowable Values:**  1–50 chars |
| tags string  Optional | Descriptive metadata about the fee. **Allowable Values:**  1–255 chars |
| memo string  Optional | Additional text describing the fee. **Allowable Values:**  1–255 chars |
| type string  Optional | Specifies if this is a flat fee or a percentage of the transaction amount. **Allowable Values:**  `FLAT`, `PERCENTAGE` |

## Sample request body

```json JSON lines wrap theme={null}
{
  "active": false
}
```

## Response body

| Fields | Description |
| - | - |
| active boolean  Returned | Specifies whether the fee is active. **Allowable Values:**  `true`, `false` **Default value:** `true` |
| amount decimal  Returned | Amount of the fee. **Allowable Values:**  decimal **Format:** 0.00 |
| category string  Conditionally returned | Specifies if the fee is a standalone fee or a real-time fee. **Allowable Values:**  `REALTIME`, `STANDALONE` |
| created\_time datetime  Returned | Date and time when the `fees` object was created, in UTC. **Allowable Values:**  datetime **Format:** yyyy-MM-ddThh:mm:ssZ |
| currency\_code string  Returned | Three-digit ISO 4217 currency code. **Allowable Values:**  Valid three-digit [ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html) |
| fee\_attributes object  Conditionally returned | Describes the attributes of a fee. **Allowable Values:**  `reason`, `region`, `status`, `transaction_type` |
| fee\_attributes.**reason** string  Conditionally returned | Describes the reason for the fee. **Allowable Values:**  255 char max |
| fee\_attributes.**region** string  Conditionally returned | Describes the region in which the fee is assessed. **Allowable Values:**  255 char max |
| fee\_attributes.**status** string  Conditionally returned | Describes the status of the fee. **Allowable Values:**  255 char max |
| fee\_attributes.**transaction\_type** string  Conditionally returned | Specifies the transaction type in which the fee was assessed. **Allowable Values:**  - `authorization`  - `authorization.atm.withdrawal`  - `balanceinquiry`  - `fee.charge`  - `pindebit.atm.withdrawal`  - `pindebit.authorization`  - `pindebit.balanceinquiry` |
| last\_modified\_time datetime  Returned | Date and time when the `fees` object was last modified, in UTC. **Allowable Values:**  datetime **Format:** yyyy-MM-ddThh:mm:ssZ |
| name string  Returned | Name of the fee. **Allowable Values:**  50 char max |
| tags string  Conditionally returned | Descriptive metadata about the fee. **Allowable Values:**  255 char max |
| memo string  Conditionally returned | Additional text describing the fee. **Allowable Values:**  1–255 chars |
| token string  Returned | Unique identifier of the `fees` object. **Allowable Values:**  36 char max |
| type string  Conditionally returned | Specifies if the fee is a flat fee or a percentage of the transaction amount. **Allowable Values:**  `FLAT`, `PERCENTAGE` |

## Sample response body

```json JSON lines wrap theme={null}
{
  "token": "my_fee_01",
  "active": false,
  "name": "My Fee 01",
  "amount": 1,
  "tags": "My Tags",
  "created_time": "2024-05-11T17:57:21Z",
  "last_modified_time": "2024-05-11T17:57:21Z",
  "currency_code": "USD"
}
```


## Related topics

- [Update fee policy](https://www.marqeta.com/docs/core-api/credit-policies/fee-policies/update-fee-policy.md)
- [Fees Overview](https://www.marqeta.com/docs/core-api/fees.md)
- [Fee Policies Overview](https://www.marqeta.com/docs/core-api/credit-policies/fee-policies.md)
- [Policies Overview](https://www.marqeta.com/docs/core-api/credit-policies.md)
- [2026 Card Network Certifications](https://www.marqeta.com/docs/developer-guides/card-network-certifications.md)
