# PAR Lookup and Generation
source: https://developer.mastercard.com/payment-account-management/documentation/use-cases/generate-par/index.md

**Scenario** : An issuer wants to proactively generate PAR for their non-tokenized accounts.  

**Description** : In this use case, the `/getPaymentAccountRequest` API can be called with the `assignPar` parameter as true. Mastercard will return the PAR if there is one already assigned or generate a PAR against the FPAN that is passed in the request. Mastercard will send the assigned PAR in the response of the `/getPaymentAccountRequest` API.

* Issuers
* Issuer Processors

### Consuming Systems {#consuming-systems}

* PAR Vault

### APIs used {#apis-used}


API Reference: `GET /getPaymentAccountReference`

### Sequence {#sequence}

Diagram get-par

1. Issuer sends a `/getPaymentAccountReference` request to PAM API.
2. PAM API will comminicate with PAR Vault to create a new PAR value.
3. PAM API will return the generated PAR in the response.

Refer to the [integration tutorial](https://developer.mastercard.com/payment-account-management/documentation/use-cases/generate-par/(/documentation/onboarding/integration/)/index.md) for details on how to generate or inquire PAR.

See also: [Error Codes](https://developer.mastercard.com/payment-account-management/documentation/code-and-formats/error-codes/index.md)
