# Update profile limits

Update profile daily and monthly spend limits for PURCHASE or ATM_WITHDRAWAL. Both daily and monthly must be set.

Endpoint: PATCH /v4/spend/profiles/{profileId}/spend-limits
Security: UserToken

## Path parameters:

  - `profileId` (integer, required)
    The profile ID.

## Request fields (application/json):

  - `type` (string)
    The type of transaction.
    Enum: "PURCHASE", "ATM_WITHDRAWAL"

  - `aggregateWindow` (object)

  - `aggregateWindow.daily` (object)

  - `aggregateWindow.daily.value` (object)
    The amount allowed to be spent daily.

  - `aggregateWindow.daily.value.amount` (number)

  - `aggregateWindow.daily.value.currency` (string)

  - `aggregateWindow.monthly` (object)

  - `aggregateWindow.monthly.value` (object)
    The amount allowed to be spent monthly.

  - `aggregateWindow.monthly.value.amount` (number)

  - `aggregateWindow.monthly.value.currency` (string)


## Response 200 fields
