Tagging an existing card to remove from Account Updater provider
---
tags: [update]
---
| Background |
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Before starting this tutorial, make sure you understand the following topics from the [Quick start](doc:quick-start) section:<ul style={{ marginTop: "-5px", marginBottom: "-5px" }}><li>[Sandbox environments](doc:sandbox-environments) (especially about testing).</li><li>[Authentication](doc:authentication) (about authenticating using your API user and when you need a login versus a one-time-use token).</li></ul> |
1. **Update the Card's Registration Tag**
Send a `PUT` request to the [Update card token](ref:updatecardtoken) endpoint. Include the parameter `shouldUpdateCard: false` in the body of your request.
```shell Example Request
curl -X PUT https://api.nexiopaysandbox.com/pay/v3/vault/card/`{cardToken}` \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic [Base64_encoded_login]'
-d '{
"shouldUpdateCard": false
}'
-
Check the Card's Status(Optional)
Send a
GET
request to the View card token details endpoint.For legacy accounts, the response includes a string value called
accountUpdaterStatus
(see the account updater Card status table for more information). For current accounts, the response includes theshouldUpdateCard
parameter. This is the card's enrollment status.Note
It usually takes three to four business days for a card token to become de-registered with account updater.
curl -X GET https://api.nexiopaysandbox.com/pay/v3/vault/card/`{cardToken}` \ -H 'Accept: application/json' \ -H 'Authorization: Basic [Base64_encoded_login]'
{ "accountUpdaterStatus": "isRegistered", "card": {...}, "data": {...}, "dateCreated": "2019-07-31T17:02:39.035Z", "dateLastModified": "2019-07-31T18:33:30.660Z", "merchantId": "100100", "shouldUpdateCard": false, "tokenex": {...} }
Updated about 4 hours ago