---
title: "Update card"
method: POST
path: "/v3/{id}/update/{propertyToUpdate}"
tags: ["Update card"]
---

# Update card

`POST /v3/{id}/update/{propertyToUpdate}`

Basic operation for updating a card. Check parameter updateProperty for possible parameters to update

## Path parameters

- `id` string, biginteger, required
- `propertyToUpdate` 'DELETE_PIN_ADDRESS' | 'DELETE_CARD_ADDRESS' | 'REPLACE_CARD' | 'REISSUE_CARD' | 'REORDER_CARD_PIN' | 'RESET_PIN_ATTEMPT' | 'SET_3DS_STATIC_PWD', required

## Query parameters

- `auditUser` string, required

## Request body

- UpdateResourceBody — Should set the value of the property you are updating, leave rest empty
  - `expiration` Expiration
    - `year` integer — Expiration year in format YYYY
    - `month` integer — Expiration month in format MM
  - `applications` object[] — If provided this data will be used to override the PAN numbers
    - `id` string, required — Id of the card that will be replaced, replacing card will get the given PAN
    - `encryptedData` string, required — JWE encrypted card number, see details above
  - `cardExpiryDate` string — Test field for now that can be ignored, will require more configuration if we choose to use it in the future.
  - `cardTdsStaticPassword` string — Field that can be populated to set or update 3DS static password on the card (Printable ASCII 0x21–0x7E - no spaces)

## Response `200`

Successful update of card

- ResourceResponse
  - `description` string — Short description of the result of the action
  - `id` string — Will contain the ID of the resource that has been created or updated

## Other responses

- `400` — Given property to update is invalid
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal server error

---

[API](https://skmtc.net/enfuce/apis/transfer-api.md) · [All operations](https://skmtc.net/enfuce/apis/transfer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enfuce/transfer-api/versions/dc4a41118f80/schema)
