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

# Update expiry dates

> Use the /cardactions/updateexpiration endpoint to update the expiry dates of a digital wallet token.

PUT/cardactions/updateexpiration

Use the `/cardactions/updateexpiration` endpoint to update the expiry dates of a digital wallet token.

## Header parameter

| Fields | Description |
| - | - |
| req-sys-id string  Optional | Random pseudo-unique identifier of a request, used for troubleshooting between multiple parties. Usually a globally unique identifier (GUID). **Allowable Values:**  1–36 chars |

## Request body

| Fields | Description |
| - | - |
| encrypted\_card\_data object  Required | Specifies details for updating digital wallet token expiration dates. **Allowable Values:**  `new_card_token`, `new_pan_expiry`, `old_card_token`, `old_pan_expiry`, `primary_account_number` |
| encrypted\_card\_data.**primary\_account\_number** string  Required | Account number of the card being tokenized. **Allowable Values:**  12–19 chars |
| encrypted\_card\_data.**old\_card\_token** string  Required | Unique identifier of the card. **Allowable Values:**  1–36 chars |
| encrypted\_card\_data.**old\_pan\_expiry** object  Required | Specifies the expiry date for the card. **Allowable Values:**  `month`, `year` |
| encrypted\_card\_data.old\_pan\_expiry.**month** string  Required | Specifies the expiry month for the card in MM format. `01`, for example. **Allowable Values:**  Format: MM |
| encrypted\_card\_data.old\_pan\_expiry.**year** string  Required | Specifies the expiry year for the card in yyyy format. `2024`, for example. **Allowable Values:**  Format: yyyy |
| encrypted\_card\_data.**new\_card\_token** string  Required | Unique identifier of the card. **Allowable Values:**  1–36 chars |
| encrypted\_card\_data.**new\_pan\_expiry** object  Required | Specifies the expiry date for the card. **Allowable Values:**  `month`, `year` |
| encrypted\_card\_data.new\_pan\_expiry.**month** string  Required | Specifies the expiry month for the card in MM format. `01`, for example. **Allowable Values:**  Format: MM |
| encrypted\_card\_data.new\_pan\_expiry.**year** string  Required | Specifies the expiry year for the card in yyyy format. `2024`, for example. **Allowable Values:**  Format: yyyy |

## Response body

| Fields | Description |
| - | - |
| success boolean  Conditionally returned | Indicates success if `true`, failure if `false`. **Allowable Values:**  `true`, `false` |


## Related topics

- [Tokenization-as-a-Service Overview](https://www.marqeta.com/docs/core-api/tokenization-as-a-service.md)
- [Card Network Certifications 2025](https://www.marqeta.com/docs/developer-guides/card-network-certifications-2025.md)
- [Delegate decisioning - determine whether to send an SCA](https://www.marqeta.com/docs/core-api/3ds/delegate-decisioning-determine-whether-send-sca.md)
- [Update cardholder cycle date](https://www.marqeta.com/docs/core-api/cardholder-statements/statement-configuration/update-cycle-date.md)
- [Update stop order](https://www.marqeta.com/docs/core-api/subscription-management/update-stop-order.md)
