---
title: "Update Card Validity Period"
method: PUT
path: "/cards/{cardId}/validity-period"
tags: ["Cards"]
---

# Update Card Validity Period

`PUT /cards/{cardId}/validity-period`

Update the validity period of a card. This validity period is set during card [issuing](/reference/issue-card-instant).

## Path parameters

- `cardId` string, uuid, required

## Request body

- object
  - `validFrom` string, date, required — Field to describe a fixed date range in which the card is usable for purchases. Outside of this date range, the card cannot be used for any purchases, only for zero-amount card-checks, and is shown with `status` `PENDING`. Date needs to be provided as `yyyy-mm-dd` and is treated inclusive, meaning the provided date is already a valid day to use the card. The earliest possible date is the current date. The `validFrom` date needs to be before the `validTo` date. The fields `validFrom`, `validTo` and `validTimezone` need to be used together.
  - `validTo` string, date, required — Field to describe a fixed date range in which the card is usable for purchases, replaces the `validityPeriod` if used. After the specified date, the card is automatically terminated. Date needs to be provided as `yyyy-mm-dd` and is treated inclusive, meaning the card will be terminated one day after this date. If used, the parallel usage of card controls regarding `dates` and/or `times` is not allowed and the `validityPeriod` will be set to 36 months automatically. The earliest possible date is the current date. The latest possible date is the end date of the `validityPeriod`. The fields `validFrom`, `validTo` and `validTimezone` need to be used together.
  - `validTimezone` string, required — Field to describe the timezone for the `validFrom` and `validTo` fields. A list of valid timezones can be found in our [guide section](/docs/card-controls-1).

## Response `204`

Ok. Card validity period was updated successfully.

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.dev/getpliant/apis/pliant-customer-api.md) · [All operations](https://skmtc.dev/getpliant/apis/pliant-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getpliant/pliant-customer-api/revisions/f3f589cfa718/schema)
