I created aproject and selected just Visa Checkout so I have my ApiKey from theCredentialstab that haveStatus Activeandtype Shared Secret. But inSummarytab I got 5 different APIs that all of them saysActivation in progress.
I already have my html / js code like the docs and replaced my apiKey but it always get the error401: Invalid Api Key.
To resolve the activation issue, please try the following steps:
1. Refresh browser page a couple of times 2. Refresh status 3. Delete the APIs and then add the APIs again * Log into your project dashboard and then on the right side click on the "Add API" button and select any other API to add. After another API is added to the project, you will now have an option to "Delete" the API that is currently not activated. Click on "Delete" and then have all un-activated APIs deleted. After that, click on the "Add API" button and re-add the APIs that you want in the project by selecting its checkbox and scrolling down to click on "Confirm Changes". Deleting and re-adding the APIs that were previously not activated, will most likely resolve the activation issue you are experiencing. You can now delete the other APIs that you do not need in this project and keep only the APIs that you need. 4. Create new project
To resolve the 401 Invalid Api Key issue, we need to identify if this is a credential issue. Follow the steps in the API Key – Shared Secret (x-pay-token) for Visa Checkout guide using this link - https://developer.visa.com/pages/apikey_visacheckout, and test whether your credentials are good.
If the issue persists, please provide the following information:
1. End Point 2. Request Header 3. Request Body 4. Response Header (include the x-correlation-id) 5. Response Body
Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.
Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.