# Stolen, Damaged, or Lost Card Replacement
source: https://developer.mastercard.com/mastercard-processing-core/documentation/guides/stolen-replacement/index.md

A card reported as damaged, compromised, or lost must immediately be deactivated.

## Replace a Card {#replace-a-card}

You can use the Mastercard Processing API to send the request to the Card Management System (CMS) for a new card contract with a new `cardContractId` number and new card `Plastic`. The `Plastic` object will have a new record with a new `plasticId` number. The new `Plastic` is set to `Locked` status and is not related to the old `Plastic` linked to a different (old) card contract.

A card replacement usually occurs after an old card is deactivated or blocked. However, activating a new card `Plastic` will not change the status of an old card `Plastic`. The new and old plastics are unrelated objects and are treated separately by the CMS. The old `Plastic` must be deactivated by sending the `PUT` request to the `/cards/{card_contract_id}/status` endpoint invoked on the old card contract, which will also change the card contract status to `Deactivated`.

To replace a card, you must initiate an API request with the `REPLACE` or `REPLACE_D` values in the `reissueType` field of the operationId `reissueCard`. When you issue a new card, the CMS allows you to provide a primary account number (PAN) value for a new card contract. If a PAN is not provided, the CMS generates a new PAN based on the BIN range defined in the onboarding configuration.

![](https://static.developer.mastercard.com/content/mastercard-processing-core/uploads/processing_28.png)

## Replace a Physical Card with a Physical Card {#replace-a-physical-card-with-a-physical-card}

During the replacement process, the old card contract and the `Plastic` linked to it are closed. A new card contract and a new `Plastic` object, with a new `sequenceNumber` are created to replace them. The new card is linked to a new card contract and receives the `sequenceNumber` '1', regardless of the sequence number of the old card.

![](https://static.developer.mastercard.com/content/mastercard-processing-core/uploads/processing_29.png)
Note: When a lost or damaged card is replaced, the old card is closed, and a new card is ordered. The old and new cards are attached to separate card contracts. Hence, their statuses can be treated separately. In this situation, a new card contract is created for the same client. Your business processes must not allow old, compromised, or lost cards to remain active.

## Replace a Virtual Card with a Virtual Card {#replace-a-virtual-card-with-a-virtual-card}

During the replacement process, the old card contract, and the card `Plastic` object linked to it are closed. A new card contract and a new card `Plastic` object are created to replace them. The new card is linked to a new card contract and receives the `sequenceNumber` '1', regardless of the sequence number of the old card.

![](https://static.developer.mastercard.com/content/mastercard-processing-core/uploads/processing_30.png)
