Replace card by ID
Relevant webhooks
For this endpoint be sure you have registered for this webhook:
API reference
Order a replacement for damaged, lost or stolen cards using this endpoint. Damaged cards remain active until the cardholder activates the replacement card. Lost or stolen cards are immediately closed and a replacement card is issued.
Endpoint: /cardmanagement/v1/cards/{id}/replace
POST
https://sandbox.crbcos.com/cardmanagement/v1/cards/{id}/replace
curl --location --globoff 'https://sandbox.crbcos.com/cardmanagement/v1/cards/{id}/replace?id=8c6a53e0-83ad-4b76-b446-b300006a3e6a' \
--header 'id: 8c6a53e0-83ad-4b76-b446-b300006a3e6a' \
--data '{
"replaceReason": "Damaged",
"nameOnCard": "Daly Khol",
"shippingType": "Normal",
"clientIdentifier": "b06ab5cc-553a-4fe4-ad78-751b5ff81f00"
}'