# POST /credit/api/changeRsaPin

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

Changes the RSA PIN for a credit card. Validates the customer and card status to ensure there are no payment issues or problematic configurations. Returns the encrypted PIN, success status, and response details from the RSA service.

## Request Body

Change Rsa Pin Request

**Required:** Yes

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

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

## Responses

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

**Success Response Schema:**

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

