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

# Card Embossing

This topic explains how a **plastic/physical** card is embossed, after a request is sent via the [Create Card Endpoint](https://nextgen-docs.enfuce.com/api/cards/post-card/create-card).

## Prerequisites:

1. Send a request to the [Create Card Endpoint](https://nextgen-docs.enfuce.com/api/cards/post-card/create-card).

   1. Specify `GENERATED`/`WAITING` for the `pinStatus` parameter.

      * If you specify `GENERATED`, a random PIN is generated. This is the default PIN status that makes the card ready for instant usage.
      * If you specify `WAITING`, you have to manually set the PIN later. To set the PIN, you can send a request via the [Set PIN Endpoint](https://nextgen-docs.enfuce.com/api/pin/set-pin). Once the PIN is set, the card is included in the next embossing file for printing the plastic form.

      <Note>If you do not enter any value for the `pinStatus` parameter, a random PIN is automatically generated for the card.</Note>

   2. Enter values for the `plastic` data object, such as the `embossing.name`, the `preferred.CardAddress`, and the `preferredCardDeliveryType` parameters.

<Info> You can create a plastic card without any cardholder being associated with it; you can add this association later when you update the card via the [Partially Update Card Endpoint](https://nextgen-docs.enfuce.com/api/cards/patch-card/partial-update-card).</Info>

## Post Card Creation Request Via Endpoint

The card is added to the next scheduled embossing file for personalisation. The embossing file includes all cards that are ready for manufacturing, and the cards are prepared in the next scheduled cycle.

<Info>The card status is set to `ACTIVE`, and the card version status is set to `INITIAL`.</Info>

## Card Production | Action for Card Manufacturers

When a plastic card is **created**/**replaced**/**reissued**/**renewed**, or if **PIN is reordered** — the events are included in the embossing file. The events inform card manufacturers about the specific actions required for card personalisation and delivery.

| Event          | Description                                                                                                                                | Action for Card Manufacturer                                                                                                |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------- |
| `NEW_CARD`     | A new card is being created and the PIN is being calculated                                                                                | A new plastic card must be printed; if the cardholder has requested for a mail delivery of PIN, the letter must be printed. |
| `REPLACE_CARD` | The existing card is closed as it is lost, stolen, or damaged. Hence, it is replaced with a new card.                                      | A new plastic card must be printed; if the cardholder has requested for a mail delivery of PIN, the letter must be printed. |
| `REISSUE_CARD` | The existing physical card has either worn out or broken. Hence, a new version of the existing card is being reissued.                     | A new plastic card must be printed.                                                                                         |
| `RENEW_CARD`   | The existing card has expired. Hence, the card is being renewed.                                                                           | A new plastic card must be printed.                                                                                         |
| `REORDER_PIN`  | The PIN is reordered for an existing card — this happens when the cardholder has either not received the original PIN or has forgotten it. | Only the letter containing the new PIN must be printed and delivered. No new plastic card is created.                       |
