> ## Documentation Index
> Fetch the complete documentation index at: https://docs.equalsmoney.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a card's PIN

> You can use the API to retrieve a card's PIN as needed, for example if a customer has forgotten theirs. Note that you'll need to ask the cardholder to

# Step 1: retrieve a card's PIN

You can use the API to retrieve a card's PIN as needed, for example if a customer has forgotten theirs. Note that you'll need to ask the cardholder to verify their identity with you and log this verification method in your request.

<CodeGroup>
  ```bash Sandbox theme={null}
  curl -i -X GET \
    'https://api-sandbox.equalsmoney.com/v2/cards/{cardId}/pin?accountId={accountId}&personId={personId}&cardholderVerificationMethod={cardholderVerificationMethod}' \
    -H 'Authorization: ApiKey {apiKey}'
  ```

  ```bash Production theme={null}
  curl -i -X GET \
    'https://api.equalsmoney.com/v2/cards/{cardId}/pin?accountId={accountId}&personId={personId}&cardholderVerificationMethod={cardholderVerificationMethod}' \
    -H 'Authorization: ApiKey {apiKey}'
  ```
</CodeGroup>

If your request is successful, you'll receive a `200` response containing only the PIN.

```json theme={null}
{
  "pin": "7152"
}
```
