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
Response
Hi @snoviel, Thank you for reaching out. An agent will get back to you as soon as possible. Until then, if any community member has information that may be helpful, feel free to reply in this thread.
Hey @snoviel,
Based on the provided request and response, it appears that the API you are using does not update the card status as intended. The response shows that the `status` field is empty and the `activationStatus` remains "ACTIVATED".
To update the card status so that the user cannot use the card, you should verify the following:
1. API Endpoint: Ensure that the endpoint URL is correct. The provided URL should match the Visa Developer API documentation for updating card status.
2. HTTP Method: Confirm that you are using the correct HTTP method (e.g., PUT or POST) as specified in the API documentation.
3. Request Payload: Ensure that the request payload is correctly formatted and includes all required fields. The status value should match the expected values defined by the API documentation.
4. Authentication: Verify that you have the correct authentication credentials and that they are included in the request headers.
For more accurate information, please refer to the Visa Developer platform documentation for the "Update Card Status" API. You can find detailed information on required fields, supported status values, and example requests and responses.
Here is the link to the Visa Developer platform: https://developer.visa.com