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

# Payment Account Reference

Payment account reference (PAR) is a unique value assigned to each Primary Account Number (PAN), commonly known as the card number mentioned on the card. RBI regulations prohibit all entities, except card networks and issuing banks, from storing card details. However, several use cases, such as offering targeted promotions and performing risk assessments, require uniquely identifying a card without storing its actual details. PAR provides a unique identifier with a one-to-one mapping to the actual card number, ensuring a consistent identifier is available while staying compliant.

## Use cases for PAR

You can use PAR for the following purposes:

* **Offers and loyalty:** Merchants can use PAR to verify offer availability, such as ensuring that an offer can be availed only once per card.
  * Example: HDFC Bank Visa Credit Card offers a 10% discount on flight bookings, valid once a week.
* **Risk management:** Merchants can use PAR to gather data on transaction patterns, analyse potential risks, and build custom risk checks, such as limiting transaction amount or number of transaction attempts per day.
  * Example: A specific card can only be used to purchase gift cards up to a maximum amount of INR 20,000 per month.

## Telr’s PAR as a service

Telr provides APIs to help you use PAR effectively:

* **Get PAR before a transaction:** Retrieve PAR against a plain card or saved card before initiating a transaction
* **Get PAR for completed transactions:** Retrieve the PAR of the card used for a successful transaction

### PAR APIs

#### Fetch PAR details

Use [Create PAR](https://www.cashfree.com/docs/api-reference/payments/latest/utilities/create-par) API to get the corresponding PAR by passing plain card details to Cashfree. This works for all major card schemes such as Visa, Mastercard, RuPay, American Express, and Diners.

**Sample request:**

```bash theme={null}
curl --location 'https://api.cashfree.com/pg/utilities/pars' \
--header 'Content-Type: application/json' \
--header 'X-client-id: <x-client-id>' \
--header 'X-client-secret: <x-client-secret>' \
--header 'x-api-version: 2025-01-01' \
--header 'x-request-id: sIP3A1Vi9swEi8KF02cU' \
--data '{
    "card_number": "4594xxxx9647xxxx",
    "card_cvv": "xxx",
    "card_expiry_mm": "xx",
    "card_expiry_yy": "xx",
    "card_type": "PLAIN_CARD"
}'
```

**Sample response:**

```json theme={null}
{
  "par": "V0010014623022637739353641436"
}
```

#### Fetch saved cards

When you fetch saved cards from Cashfree to display on your checkout, the [Get All Saved Card Instrument API](https://www.cashfree.com/docs/api-reference/payments/latest/token-vault/get-all) includes PAR in the response. Once a card is tokenised, the [Card Token Webhook](https://www.cashfree.com/docs/api-reference/payments/previous/v2023-08-01/token-vault/webhooks#card-token-webhook) also sends the PAR.

#### Fetch PAR for a transaction

To get the PAR of the card used for a transaction, pass a transaction identifier (such as order ID or transaction ID) as input in the [Get Payments for Order](https://www.cashfree.com/docs/api-reference/payments/latest/payments/get-payments-for-order) or [Get Payment by Transaction ID API](https://www.cashfree.com/docs/api-reference/payments/latest/payments/get). This can be used for reconciliation purposes.

<Note>
  **Note:** PAR is currently not included in the Payment Status Webhook.
</Note>

## Frequently asked questions

<Accordion title="How can this feature be enabled?">
  This is a request-based feature, available only to PCI-DSS-compliant merchants. To enable it, reach out to your account manager or write to [care@cashfree.com](mailto:care@cashfree.com).

  <iframe src="https://www.cashfree.com/devstudio/preview/pg/embed/faqFeedback?section=Payment-Gateway-General-40" style={{ width: "100%", height: "65px", border: "none" }} title="FAQs feedback component" />
</Accordion>

<Accordion title="How can checkout merchants build this functionality?">
  Cashfree-hosted Checkout merchants use Cashfree’s [offer engine](https://www.cashfree.com/docs/payments/checkout/coupons) to run offers. To set up risk checks, merchants leverage Cashfree’s [RiskShield](https://www.cashfree.com/docs/payments/risk-shield/overview) solution. Both offerings allow merchants to set up offer targeting strategies and risk rules through a self-serve flow on the Cashfree [Merchant Dashboard](https://telr.cashfree.com/merchants), making implementation easy and effective.

  <iframe src="https://www.cashfree.com/devstudio/preview/pg/embed/faqFeedback?section=Payment-Gateway-General-41" style={{ width: "100%", height: "65px", border: "none" }} title="FAQs feedback component" />
</Accordion>
