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.
| Requested reason | PAN | Original card's recorded reason | Original card's tokens |
|---|---|---|---|
| lost, stolen, fraud, voluntary | New PAN | Requested reason | Deactivated |
| damaged | Reused | damaged | Deactivated |
| expired | Reused | renewed | Deactivated |
All 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.
Request
- Base URL: https://api.column.com
- URL: https://api.column.com/issuing/cards/{card_id}/replace
- Auth: HTTP basic
Path parameters
Headers
Idempotency keys can be up to 255 characters long and are case sensitive. Column reserves the right to expire idempotency keys after 30 days. Only ASCII printable characters (code 32 - 126) are allowed for idempotency keys.
Request body
Example request
{
"deactivation_reason": "lost",
"expiration_month": 12,
"expiration_year": 2029,
"status": "active"
}Response
Successful response
Example response
{
"bin": "41234567",
"card_account_id": "cacc_2x8gszy5folpA9s0TOCseE9ABDM",
"card_authorization_policy_id": "caup_2x8gszy5folpA9s0TOCseE9ABDM",
"card_program_id": "cpgm_2x8gszy5folpA9s0TOCseE9ABDM",
"card_template_id": "ctmp_2x8gszy5folpA9s0TOCseE9ABDM",
"expiration_month": 12,
"expiration_year": 2029,
"id": "card_2x8gszy5folpA9s0TOCseE9ABDM",
"last_four_digits": "1234",
"manufacturing_details": {
"shipping_details": {
"name": "Oliver Hockey"
}
},
"sequence_number": 1,
"type": "physical"
}Changes
No recorded changes to this operation across all 1 revision of this API.