Update Card status

snoviel
New Contributor

Update Card status

Hello Visa DPS team,

 

I am using API to update the status of card here is the request ,however the card status still remains the same ,does this API updates the status of the card? the use case here is to update the status so that user can't use the card 

https://sandbox.api.visa.com/dcas/cardservices/v2/cards/4079410000032212/cardstatus 

Request

{
  "status": "76-DO_NOT_HONOUR"
}

 

Response 

{
    "receivedTimestamp": "2024-12-03T23:55:41.586Z",
    "processingTimeinMs": 1,
    "resource": {
        "activationStatus": "ACTIVATED",
        "status": ""
    }
}