Secure Payments API POST Revoke

General

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

POST revoke

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.

Request:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'secret: your-secret' --header 'authorization: your-token' 'https://pciwallet.simnang.com/api/revoke'

Response:

{ 
"message": "Token revoked."
}

From now on the revoked tokens won’t work, and a new set must be requested by using POST authenticate.


How did we do?


Powered by HelpDocs (opens in a new tab)