# POST /credit/api/changeCardPin

**Resource:** [PIN and card security](../resources/PIN-and-card-security.md)
**Service that enables changing the card PIN**
**Operation ID:** `changeCardPin`

Changes the PIN of a credit card. Validates the card status to ensure it is neither under configuration nor with payment issues. Uses current PIN and new PIN, calls the Card PIN service, and returns the encrypted PIN, change status, success flag, and verification result.

**Part of:**

- <a href="https://apiportal.dgpays.com/journeys/manage#s-lifecycle" target="_parent">Journey 02 · Managing a card product</a> — step 3, PIN and verification

## Request Body

Change Card Pin Request

**Required:** Yes

**Content Types:** `application/json`

**Schema:** [ChangeCardPinRequest](../schemas/Change/ChangeCardPinRequest.md)

## Responses

| Status | Description |
|--------|-------------|
| 200 | Success |
| 400 | (reference) |
| 404 | (reference) |
| 500 | (reference) |

**Success Response Schema:**

[ChangeCardPinResponse](../schemas/Change/ChangeCardPinResponse.md)

