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

# Set spending limit

> Sets or replaces the card's spending limit. The limit is in the card's account currency and cannot exceed
the caps described on the request body. Requires permission `manage_cards`.




## OpenAPI

````yaml /specs/company.openapi.yaml put /developer/cards/{id}/spending-limit
openapi: 3.1.0
info:
  title: Incard Developer API
  version: 0.1.0
  description: OpenAPI definition for the Incard Developer API.
servers:
  - url: https://api.incard.com
    description: Developer Gateway
security:
  - BearerAuth: []
tags:
  - name: ACCOUNTS
    description: Currency accounts and their available balances.
  - name: TRANSACTIONS
    description: Transaction history with filters, pagination, and running balances.
  - name: CARDS
    description: Issue, list, freeze, replace, and set spending limits on cards.
  - name: INVOICES
  - name: webhooks
paths:
  /developer/cards/{id}/spending-limit:
    put:
      tags:
        - CARDS
      summary: Set spending limit
      description: >
        Sets or replaces the card's spending limit. The limit is in the card's
        account currency and cannot exceed

        the caps described on the request body. Requires permission
        `manage_cards`.
      operationId: set_card_spending_limit
      parameters:
        - $ref: '#/components/parameters/CardId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpendingLimitInput'
            example:
              period: monthly
              amount: '5000.00'
      responses:
        '200':
          description: The card's new spending limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpendingLimit'
              example:
                period: monthly
                amount: '5000.00'
                currency: GBP
                created_at: '2026-07-01T08:30:00Z'
                updated_at: '2026-09-02T11:15:27Z'
        '400':
          $ref: '#/components/responses/CardBadRequest'
        '401':
          description: Unauthorized
        '403':
          $ref: '#/components/responses/CardForbidden'
        '404':
          $ref: '#/components/responses/CardNotFound'
        '409':
          $ref: '#/components/responses/CardConflict'
components:
  parameters:
    CardId:
      name: id
      in: path
      required: true
      description: Card UUID.
      schema:
        type: string
        format: uuid
  schemas:
    SpendingLimitInput:
      type: object
      title: SpendingLimitInput
      description: >
        Periods follow the UK calendar; weeks start on Monday. `amount` must be
        more than 0 and have at most two decimal places.

        A `daily` limit can be at most `card_limits.daily.amount`, and a
        `weekly` or `monthly` limit at most

        `card_limits.rolling_32_days.amount`, compared as-is without converting
        from EUR. `lifetime` limits have no cap.
      properties:
        period:
          type: string
          enum:
            - daily
            - weekly
            - monthly
            - lifetime
        amount:
          type: string
          description: >-
            Decimal amount in the card's account currency. A JSON number is also
            accepted.
      required:
        - period
        - amount
    SpendingLimit:
      type: object
      title: SpendingLimit
      properties:
        period:
          type: string
          enum:
            - daily
            - weekly
            - monthly
            - lifetime
        amount:
          type: string
        currency:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - period
        - amount
        - currency
        - created_at
        - updated_at
    CardError:
      type: object
      title: CardError
      properties:
        error:
          type: string
      required:
        - error
  responses:
    CardBadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CardError'
          example:
            error: 'invalid spending limit: amount has more than 2 decimal places'
    CardForbidden:
      description: The member lacks the required permission.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
              error:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
          example:
            success: false
            error:
              code: forbidden
              message: access denied
    CardNotFound:
      description: Card not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CardError'
          example:
            error: card not found
    CardConflict:
      description: >-
        The card can't make this change in its current state, or another change
        to it is in progress.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CardError'
          example:
            error: card is being changed; try again
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: access_token
      description: Short-lived access token. Obtain with your api_key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.