トークンを無効にする

Smartpay API を使ってトークンを一時的に無効にすることができます。この操作を行うと、トークンのステータスが無効になり、そのトークンを使った注文の作成ができなくなります。この操作は、トークンを有効にすると元に戻せます。


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.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the Token object.

Responses
200

OK

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json