# POST /prepaid/api/setCardPin

**Resource:** [PIN and card security](../resources/PIN-and-card-security.md)
**Service that generates a card PIN**
**Operation ID:** `setCardPin`

Sets the PIN for a prepaid card.

## Request Body

Set Card Pin Request

**Required:** Yes

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

**Schema:** [SetCardPinRequest](../schemas/Set/SetCardPinRequest.md)

## Responses

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

**Success Response Schema:**

[SetCardPinResponse](../schemas/Set/SetCardPinResponse.md)

