put https://api.smartpay.co/v1/tokens//enable
You can activate a disabled token using the Smartpay API. After enabling the token, you can resume using it to charge the consumer.
Errors
In addition to the Errors applicable to all API endpoints, the following errors are specific to enabling 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. |