---
title: "Create spending limit for a card"
method: POST
path: "/cards/{cardId}/spending-limits"
tags: ["Spending limits"]
---

# Create spending limit for a card

`POST /cards/{cardId}/spending-limits`

Creates a spending limit for a given card.
 A spending limit defines the maximum amount that can be spent during a chosen time period. For example, £10 a day.

## Path parameters

- `cardId` string, uuid, required — The ID of the card to work with.

## Query parameters

- `accountId` string, required — The ID of the account to work with.
- `budgetId` string, uuid, required — The ID of the budget to work with.
- `personId` string, uuid — The ID of the person to work with.

## Request body

- object
  - `amount` number, required — amount of limit to be set
  - `currencyCode` string
  - `active` boolean — Indicates whether the limit is active on Marqeta.
  - `usageLimit` integer — Number of transactions allowed in a given time window. `-1` means the limit is disabled. `0` means no transactions can be made.
  - `limitTurnedOff` boolean — Defines if the limit was turned off by the user
  - `limitWindow` 'DAY' | 'WEEK' | 'MONTH' | 'LIFETIME', required — Defines the time period to which the limit apply

## Response `200`

OK

- object
  - `id` string, uuid — The ID of the limit to work with.
  - `amount` number, required — amount of limit to be set
  - `currencyCode` string
  - `active` boolean — Indicates whether the limit is active on Marqeta.
  - `usageLimit` integer — Number of transactions allowed in a given time window. `-1` means the limit is disabled. `0` means no transactions can be made.
  - `limitTurnedOff` boolean — Defines if the limit was turned off by the user
  - `limitWindow` 'DAY' | 'WEEK' | 'MONTH' | 'LIFETIME', required — Defines the time period to which the limit apply
  - `available` object
    - `uses` number — number of uses
    - `amount` number — amount of limit to be set
    - `daysRemaining` number — number of days remaining in the limit window.

---

[API](https://skmtc.net/equalsmoney/apis/cis-api.md) · [All operations](https://skmtc.net/equalsmoney/apis/cis-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/equalsmoney/cis-api/versions/a162c72b8bf6/schema)
