Update Token Status
{{url}}/ecom/jws/token/state/update_v1
Status Transition Rules
ACTIVE → SUSPENDED – An active token can be suspended (e.g., for temporary blocking).
SUSPENDED → ACTIVE – A suspended token can be reactivated (e.g., after unblocking).
ACTIVE → DELETED – An active token can be deleted permanently.
SUSPENDED → DELETED – A suspended token can be deleted if the user does not restore activity.
DELETED → any other status – Not possible.
Input parameters of the JWS payload part:
Parameter
Description
Data Format
Required
Example
token
Token ID
string
Yes
SRrSBe5DOb7lrZ_FS46fihty
state
New token status
string
Yes
SUSPENDED
Output parameters of the JWS payload part:
Parameter
Description
Data Format
Example
tokenUpdated
Indicates whether the token status was updated
boolean
true / false
customerId
Customer ID
string(255)
12345
token
Token ID
string
SRrSBe5DOb7lrZ_FS46fihty
Examples
Last updated