If you no longer need the token, you can delete it using the Smartpay API. After deleting a token you won't be able to use it to create orders. However you can still retrieve the token object via the API.
This operation is final, Smartpay will not be able to re-activate your token.


Errors

In addition to the Errors applicable to all API endpoints, the following errors are specific to deleting a token:

status code error code description
404 token.not-found No token was found meeting the requirements. Make sure to use the right tokenId and API key. test objects can only be accessed using test keys and live object with live keys.
Language
Credentials
Header
Click Try It! to start a request and see the response here!