You can temporarily disable a token using the Smartpay API. This operation will update the status of the token to disabled and you won't be able to use it to create orders. This can be reversed by enabling a token.


Errors

In addition to the Errors applicable to all API endpoints, the following errors are specific to disabling 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!