> ## Documentation Index
> Fetch the complete documentation index at: https://gnosispay-feat-v2-auth-module.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Card Daily Spending Limit

> Returns the daily spending limit configured on a card. `amount` is in the currency's smallest unit — for USD that means cents (e.g. `1000` = $10.00, `1000000` = $10,000.00). The card must belong to the authenticated user.



## OpenAPI

````yaml https://gp-auth-module.prod.gnosispay.com/openapi.json get /cards/{cardId}/limit
openapi: 3.0.0
info:
  version: 1.0.0
  title: SIWE Authentication API
  description: Sign In With Ethereum authentication service
servers:
  - url: https://gp-auth-module.prod.gnosispay.com
    description: API server
security: []
paths:
  /cards/{cardId}/limit:
    get:
      tags:
        - Cards
      summary: Get Card Daily Spending Limit
      description: >-
        Returns the daily spending limit configured on a card. `amount` is in
        the currency's smallest unit — for USD that means cents (e.g. `1000` =
        $10.00, `1000000` = $10,000.00). The card must belong to the
        authenticated user.
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: cardId
          in: path
      responses:
        '200':
          description: Card limit retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardLimit'
        '400':
          description: Bad Request - User has no cardholder
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationOrError'
        '401':
          description: Unauthorized - Invalid JWT
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: User, card, or limit not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Bad Gateway - failed to fetch limit from Core API
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
components:
  schemas:
    CardLimit:
      allOf:
        - $ref: '#/components/schemas/CardLimitSummary'
        - type: object
          properties:
            spentToday:
              type: integer
              description: >-
                Amount spent today against this card's limit, in the currency's
                smallest unit (e.g. cents for USD). Resets at the start of each
                calendar day.
            remaining:
              type: integer
              description: >-
                Remaining headroom today, in the currency's smallest unit.
                Equals `max(0, amount - spentToday)`.
          required:
            - spentToday
            - remaining
    ValidationOrError:
      anyOf:
        - $ref: '#/components/schemas/ValidationError'
        - $ref: '#/components/schemas/Error'
    Error:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
      required:
        - success
        - error
    CardLimitSummary:
      type: object
      nullable: true
      properties:
        amount:
          type: integer
          description: >-
            Daily limit in the currency's smallest unit (e.g. cents for USD).
            Divide by 10^decimals to get the major-unit value. For USD
            (decimals=2): amount=1000 means $10.00, amount=1000000 means
            $10,000.00.
        currency:
          type: string
          description: ISO-4217 currency code, e.g. USD.
        decimals:
          type: integer
          description: Number of decimal places for this currency (e.g. 2 for USD).
        syncStatus:
          type: string
          enum:
            - pending
            - synced
            - failed
          description: >-
            Replication state of the limit. 'pending' immediately after an
            update, 'synced' once the change has been applied downstream,
            'failed' if the change could not be applied after retries.
        updatedAt:
          type: string
          format: date-time
          description: Last time this limit was modified.
      required:
        - amount
        - currency
        - decimals
        - syncStatus
        - updatedAt
      description: >-
        Currently configured daily spending limit. Null if no limit has been set
        for this card. Call `GET /cards/{id}/limit` for today's spend and
        remaining headroom.
    ValidationError:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: object
          properties:
            name:
              type: string
              enum:
                - ValidationError
            message:
              type: string
          required:
            - name
            - message
      required:
        - success
        - error

````