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

# PIN operations using PKI

> Endpoint for Card PIN operations using public key cryptography.

**Note:** If this endpoint is used, the client must make sure that the RSA key pair is generated and used by the card-holder device, giving no access to the private RSA key to any other system. This way, no other system will have any means to access the PIN code.

## Endpoints

<CardGroup cols={2}>
  <Card title="View PIN" icon="arrow-right" href="/payment/api/pin-operations-using-pki/view-pin" horizontal>
    **POST** /v2/view
    <br />Deprecated
  </Card>

  <Card title="Get TZPK for set PIN" icon="arrow-right" href="/payment/api/pin-operations-using-pki/get-tzpk-for-set-pin" horizontal>
    **POST** /v2/set/tzpk
    <br />Deprecated
  </Card>

  <Card title="Set PIN" icon="arrow-right" href="/payment/api/pin-operations-using-pki/set-pin" horizontal>
    **POST** /v2/set
    <br />Deprecated
  </Card>

  <Card title="View PIN" icon="arrow-right" href="/payment/api/pin-operations-using-pki/view-pin-1" horizontal>
    **POST** /v3/view
  </Card>

  <Card title="Get TZPK for set PIN" icon="arrow-right" href="/payment/api/pin-operations-using-pki/get-tzpk-for-set-pin-1" horizontal>
    **POST** /v3/set/tzpk
  </Card>

  <Card title="Set PIN" icon="arrow-right" href="/payment/api/pin-operations-using-pki/set-pin-1" horizontal>
    **POST** /v3/set
  </Card>
</CardGroup>
