Skip to content

Revoke card

This method revokes a specified card. A revoked card is immediately stopped from authorizing any transaction and cannot be activated again. A revoked card can only be replaced if it is not already scheduled for replacement. After end of card validity, card is automatically revoked by internal job.

URL test:

https://dev.lightcms.io/cms/v1/cards/{id}/revoke

URL live:

https://fat.lightcms.io/cms/v1/cards/{id}/revoke

Method:

POST

Path items:

/cards (Card Service)

/{id} (ID code of revoked card)

/revoke (Method name)

Parameters:

Parameter Location Type Example Description Required
ID Path string "108564234" Internal ID of Card Yes

Example:

curl -X 'POST' \
  'https://dev.lightcms.io/cms/v1/cards/30/revoke' \
  -H 'accept: */*' \
  -d ''

Responses:

200 - OK

Status Code: 200 OK

500 - Internal error

Status Code: 500 Internal error

404 - Not found

Status Code: 404 Not found

{
"errorMessage": "Entity with id 132132123 not found in DB."
}

Parameter Location Type Example Description
errorMessage body string "Entity with id 132132123 not found in DB." Error message