Update token status
Relevant webhooks
For this endpoint be sure you have registered for these webhooks:
- Cards.Token.ProvisioningReceived
- Cards.Token.ActivationReceived
- Cards.Token.CompletionReceived
API reference
Update token status (suspend, resume, delete).
Endpoint: /cardmanagement/v1/cards/{cardId}/tokens/{tokenId}
PUT
https://sandbox.crbcos.com/cardmanagement/v1/cards/{cardId}/tokens/{tokenId}
curl --location --request PUT 'https://sandbox.crbcos.com/cardmanagement/v1/cards/89a3ca77-10dc-4b88-b0a7-b4480095d104/tokens/c25cabee-2533-4a46-a52b-c74991559bd7' \
--data '{
"tokenAction": "Activate",
"reason": "It'\''s time"
}'