Card
Replace card
Replace a card and automatically deactivate the original. The response contains the new replacement card;
retrieve the original card to see its deactivation_reason and replacement_card_id.
lost, stolen, fraud, voluntarydamageddamagedexpiredrenewedAll non-terminal tokens on the original card are deactivated for every replacement reason, including when the PAN
is reused. Reusing the PAN increments sequence_number. An expired replacement records renewed as the reason,
but does not preserve tokens. The separate renew endpoint migrates tokens when the renewal card is activated.
renewed and account_closed are not valid replacement request reasons and return HTTP 400. A card can't be
replaced as damaged or expired if any card with the same PAN was deactivated as lost, stolen, or fraud.
Path Parameters
card_id
stringRequiredUnique identifier for the card.
Body Parameters
deactivation_reason
enumRequiredReason for deactivating the original card during replacement. lost, stolen, fraud, and voluntary requests create a replacement with a new PAN. damaged requests reuse the PAN. expired requests are processed as renewal-style replacements with the same PAN and a new expiration, and the original card's reason is recorded as renewed. All non-terminal card tokens on the original card are deactivated for every reason. renewed and account_closed are not accepted by this endpoint.
Possible values: lost, stolen, fraud, expired, voluntary, damaged
encrypted_pin
stringOptionalOptional base64-encoded encrypted PIN
expiration_month
integerOptionalOptional expiration month (1-12)
expiration_year
integerOptionalOptional expiration year (4-digit year, e.g. 2025)
status
stringOptionalOptional status for the replacement card