Looking into possible ways to turn a card "off" and then back "on". For simplicity sake let's say all transactions will be disabled.
One option is of course the Transaction Controls and setting...
globalControls.shouldDeclineAll = true
{
"globalControls": [
{
"shouldTargetSpecificCard": false,
"userIdentifier": "0123456789"
"shouldAlertOnDecline": true,
"shouldDeclineAll": true,
"isControlEnabled": true
}
]
}
The other thought I had was possibly using the Digital Card and Account Services Card Services POST API...
https://sandbox.api.visa.com/dcas/cardservices/v1/cards/{cardId}/cardstatus
{
"cardStatus": "Blocked"
}
Not sure what the various statuses are at this point so making that one up.
Thoughts on the different approaches?