Renew a card
Changed onApplies to card types PHYSICAL and VIRTUAL. For PHYSICAL, creates a new card with the same card token and PAN, but updated expiry and CVC2 code. The original card will keep working for card-present transactions until the new card is activated. For card-not-present transactions, the original card details (expiry, CVC2) will also keep working until the new card is activated. A PHYSICAL card can be reissued or renewed a total of 8 times. For VIRTUAL, the card will retain the same card token and PAN and receive an updated expiry and CVC2 code. product_id, shipping_method, shipping_address, carrier are only relevant for renewing PHYSICAL cards. Returns 409 if the card is still ongoing manufacturing when using Thales as a manufacturer.
Request
- Base URLhttps://sandbox.lithic.com
- URLhttps://sandbox.lithic.com/v1/cards/{card_token}/renew
- AuthAPI key in header Authorization
Path parameters
Request body
Example request
{
"exp_month": "06",
"exp_year": "2027",
"shipping_address": {
"address1": "5 Broad Street",
"address2": "Unit 25A",
"city": "NEW YORK",
"country": "USA",
"email": "johnny@appleseed.com",
"first_name": "Michael",
"last_name": "Bluth",
"line2_text": "The Bluth Company",
"phone_number": "+15555555555",
"postal_code": "10001-1809",
"state": "NY"
}
}Response
OK
Example response
{
"pan": "4111111289144142",
"cvv": "776"
}Changes
- info
added the required property
////to the response with the status
- info
- info
added the non-success response with the status
- info