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

# Unfreeze a card

> Unfreezes a frozen card. Arrives as `card.updated`.



## OpenAPI

````yaml api-reference/endl-cards-api.json POST /api/v0/cards/{customerId}/{cardId}/unfreeze
openapi: 3.1.0
info:
  title: Endl Cards API
  version: '0'
  description: >-
    Issue virtual cards to your customers: enrol the customer, fund the card
    balance, issue cards, show card details securely, and follow every
    transaction by webhook.


    Paths are under `/api/v0`. The key must carry the **`cards`** permission.
    **This API is not final yet** — see [what may still
    change](/api-reference/cards/introduction#not-final-yet).
servers:
  - url: https://api-sandbox.endl.io
    description: Sandbox
security:
  - apiKey: []
tags:
  - name: Enrolment
  - name: Cardholders
  - name: Cards
  - name: Card details
  - name: Transactions and balance
  - name: Deposits
  - name: Withdrawals
paths:
  /api/v0/cards/{customerId}/{cardId}/unfreeze:
    post:
      tags:
        - Cards
      summary: Unfreeze a card
      description: Unfreezes a frozen card. Arrives as `card.updated`.
      parameters:
        - $ref: '#/components/parameters/ApiVersion'
        - $ref: '#/components/parameters/CustomerId'
        - $ref: '#/components/parameters/CardId'
      responses:
        '200':
          description: The card.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Card'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The API key lacks the `cards` permission.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Customer or card not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: The card isn't frozen, or is canceled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    ApiVersion:
      name: Api-Version
      in: header
      required: true
      description: >-
        The API version this request targets. `2026-09.1`. See
        [Versioning](/api-reference/versioning).
      schema:
        type: string
        pattern: ^\d{4}-\d{2}\.\d+$
        default: 2026-09.1
      example: 2026-09.1
    CustomerId:
      name: customerId
      in: path
      required: true
      description: An individual, a business or an employee (`cus_`).
      schema:
        type: string
        example: cus_1Xb7...
    CardId:
      name: cardId
      in: path
      required: true
      description: The card (`crd_`).
      schema:
        type: string
        example: crd_4fT9...
  schemas:
    Card:
      type: object
      properties:
        cardId:
          type: string
          example: crd_4fT9...
        cardholderId:
          type: string
          example: cus_8Qw2...
        businessId:
          type:
            - string
            - 'null'
          description: The employee's business; `null` for an individual's card.
        type:
          type: string
          description: '`virtual`.'
        kind:
          type: string
          enum:
            - standard
            - single_use
        status:
          type: string
          enum:
            - active
            - frozen
            - canceled
        closedReason:
          type:
            - string
            - 'null'
          enum:
            - canceled
            - spent
            - expired
            - null
          description: >-
            Set when `canceled`: `canceled` (by you), `spent` (a used single-use
            card), `expired`.
        displayName:
          type: string
        last4:
          type: string
        expiryMonth:
          type: string
        expiryYear:
          type: string
        controls:
          $ref: '#/components/schemas/Controls'
        usage:
          type: object
          description: '`spent` is what the card has spent in the current limit period.'
          properties:
            spent:
              $ref: '#/components/schemas/Money'
            period:
              type: string
        singleUse:
          type:
            - object
            - 'null'
          description: Only for single-use cards; `null` otherwise.
          properties:
            amount:
              $ref: '#/components/schemas/Money'
            bufferPercentage:
              type: number
            lifetimeLimit: {}
            expiresAt:
              type: string
              format: date-time
            allowedMccs:
              type: array
              items:
                type: string
            allowedMerchants:
              type: array
              items:
                type: string
            purpose:
              type: string
            spentAt: {}
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    Error:
      type: object
      description: >-
        The standard Endl error body. `errors[].code` is an `ERRCRD_` code —
        **the code numbers are not final yet** — and `field` names the request
        field when one is at fault.
      properties:
        code:
          type: integer
        message:
          type: string
        status:
          type: string
          enum:
            - ERROR
        data:
          type: 'null'
        errors:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              message:
                type: string
              field:
                type:
                  - string
                  - 'null'
    Controls:
      type: object
      required:
        - spendLimit
      properties:
        spendLimit:
          $ref: '#/components/schemas/SpendLimit'
    Money:
      type: object
      required:
        - amount
        - currency
      description: A decimal string and a currency code.
      properties:
        amount:
          type: string
          description: Decimal string, e.g. `"42.99"`.
          example: '42.99'
        currency:
          type: string
          description: Currency code, e.g. `USD`.
          example: USD
    SpendLimit:
      type: object
      required:
        - amount
        - period
      properties:
        amount:
          allOf:
            - $ref: '#/components/schemas/Money'
          description: The limit.
        period:
          type: string
          enum:
            - transaction
            - day
            - week
            - month
            - year
            - lifetime
          description: >-
            Limit periods may be rolling or calendar windows, so don't rely on a
            fixed reset time.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Api-Key
      description: Partner API key. Must carry the `cards` permission.

````

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