# Simulate expiry of card

Expire a managed card by Card ID. Provide card id and the card will be expired.

Endpoint: POST /cards/{card_id}/expire
Version: v2
Security: API_Secret_Key

## Path parameters:

  - `card_id` (integer, required)

## Header parameters:

  - `call-ref` (string)
    A call reference generated by the caller and unique to the caller to provide correlation between the caller and system with a maximum length of 255

## Response 400 fields (application/json):

  - `message` (string)
    When present helps to identify and fix the problem.

  - `validation` (object)
    Description of fields which were invalid.

  - `validation.invalid` (boolean)

  - `validation.fields` (array)

  - `validation.fields.name` (string)

  - `validation.fields.errors` (array)

  - `validation.fields.errors.type` (string)
    Enum: "REQUIRED", "HAS_TEXT", "REQUIRES", "SIZE", "RANGE", "IN", "NOT_IN", "REGEX", "EXACTLY", "AT_LEAST", "AT_MOST", "ALL_OR_NONE"

  - `validation.fields.errors.params` (array)

## Response 409 fields (application/json):

  - `errorCode` (string)
    Enum: "INSTRUMENT_DESTROYED", "INSTRUMENT_NOT_EXPIRABLE", "TRANSACTION_BATCH_EXCEPTION"

## Response default fields (application/json):

  - `message` (string)
    When present helps to identify and fix the problem.

