Secure Payments API – POST Revoke


Revoking an existing authentication is one of the authentication options available through the Secure Payments (formerly PCI Wallet) API.

How To

Send a POST request to the endpoint:


Revoke an existing, valid, and current authentication token. Revoking a token causes the token / secret combination to be invalid for authenticating subsequent requests.

Use when you don’t want to wait until the token has expired.

Even though it's a POST request, there will be no JSON payload. Here's a cURL request:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'secret: your-secret' --header 'authorization: your-token' ''


"message": "Token revoked."

The revoked tokens will no longer work, and a new set must be requested by using POST authenticate.

How did we do?

Powered by HelpDocs (opens in a new tab)