# Card Lifecycle Management source: https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/index.md The following test cases are provided in this section: | Test case | Test case scenario | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------| | [Order a Virtual Card -- create client, account contract, and cord contract](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/order-virtual-card/index.md) | Success -- Step 1 Create a Client | | | Success -- Step 2 Create an Account Contract | | | Success -- Step 3 Create a Card Contract | | | Fail -- Step 1 Create a Client with a duplicated clientNumber | | | Fail -- Step 1 Create a Client with a duplicated socialNumber | | | Fail -- Step 1 Create a Client with a duplicated taxpayer identifier | | | Fail -- Step 2 Create an Account Contract with a duplicated accountContractNumber | | | Fail -- Step 2 Create an Account Contract with a duplicated cbsNumber | | | Fail -- Step 3 Create a Card with an invalid BIN range | | | Fail -- Step 3 Create a Card with a duplicated cbsNumber | | | Fail -- Step 3 Create a Card with an invalid productionCode | | | Fail -- Step 3 Create a Card with an invalid branch code | | | Fail -- Step 3 Create a Card with an invalid PAN (Luhn check failed) | | [Order a Physical Card to a Virtual Card](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/order-phy-card-to-virtual-card/index.md) | Success | | | Fail -- PIN is not set | | | Fail -- Reissue type not supported | | | Fail -- Wrong Card status | | [Replace a Card](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/replace-card/index.md) | Success -- Replace a Card with a Virtual Card | | | Success -- Replace a Card with a Virtual Card that inherits the PIN from the old Card | | | Success -- Replace a Card with a Physical Card | | | Fail -- Reissue type not supported | | [Renew a Card](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/renew-card/index.md) | Success -- Renew a Card with a Virtual Card | | | Success -- Renew a Card with a Physical Card | | | Fail -- Reissue type not supported | | [Activate a Card](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/activate-card/index.md) | Success | | | Fail -- Activate before personalization process | | [Display card details to the cardholder](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/display-card-details-to-cardholder/index.md) | Success | | | Fail -- Provide incorrect cardContractId | | [Set or update authentication method](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/set-update-auth-method/index.md) | Success | | | Fail -- Invalid authentication type code | | | Fail -- Invalid authentication parameter name | | [Verify Card details (PAN, expiry date, and CVC2)](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/set-update-auth-method/index.md) | Success | | | Success -- PAN is not in the active state | | | Success -- Incorrect CVC2 | | | Success -- Incorrect expiry date | | | Success -- CVC2 and expiry date not provided | | | Fail -- Not existing Card Contract | | [Verify CVC2](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/verify-cvc2/index.md) | Success - Correct CVC2 | | | Success -- Incorrect CVC2 | | | Fail -- Invalid card expiry date | | [Change a Card status](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/change-card-status/index.md) | Success | | | Fail -- Change a status to the one with the lower priority | | | Fail -- Invalid statusCode | | [Close an Account](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/close-account/index.md) | Success | | | Fail -- Invalid statusCode | | [Open an Event](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/open-event/index.md) | Success | | | Fail -- Invalid eventCode | | | Fail -- Amount, currency, and parameterString are filled | | [Set Service Limit Tariff](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/card-lifecycle-management/set-service-limit-tariff/index.md) | Success |