# POST /debit/api/changeRsaPin

**Resource:** [PIN and card security](../resources/PIN-and-card-security.md)
**Service that changes the card’s PIN using an encrypted PIN block**
**Operation ID:** `changeRsaPin`

Changes the RSA PIN of a debit card using current and new encrypted PIN blocks. Returns encrypted PIN, success status, and response details.

## Request Body

Change Secure Pin Request

**Required:** Yes

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

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

## Responses

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

**Success Response Schema:**

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

