Introduction
This page covers the independent lifecycle operations for the cards flow. Pick the section that matches what you need to do — each operation is self-contained.Prerequisites
- An authenticated user with a valid JWT.
- The ID of the resource you want to modify (
paymentMethodIdfor a card,agentIdfor an agent).
Remove a Saved Card
Send aDELETE request with the paymentMethodId. The card can no longer be used to create new agent cards.
Removing a saved card does not cancel agent cards already created against it. Active order intents keep working until their internal expiration is reached. To cut off an in-flight order intent immediately, revoke it or delete the agent.
Delete an Agent
Send aDELETE request with the agentId. The agent loses the ability to create new agent cards, and any active order intents tied to it stop working.
Revoke an Agent Card
To immediately invalidate a single agent card — for example if its credentials may have been compromised — send aDELETE request with the orderIntentId. The order intent transitions to the revoked phase and its credentials can no longer be used for purchases.
Only order intents currently in the active or requires-verification phase can be revoked. Already-expired or already-revoked order intents return an error.
204 No Content. The underlying saved card and agent are untouched — only the targeted order intent is affected. To replace it with a new agent card, see Rotate an agent card.
For the full schema, see the Revoke Agent Card API Reference.
Rotate an Agent Card
To rotate an agent card — for example if its credentials may have been compromised — revoke the old order intent and create a replacement:- Revoke the old order intent so its credentials can no longer be used.
- Create a new order intent against the same saved card with the same (or updated) spending rules. See Create an Agent Card.
- Have the user authorize the new intent via passkey.
- Use the new credentials in your checkout flow.
To cut off an agent’s access to all of its agent cards immediately, delete the agent instead. For the full list of order intent phases — including
revoked and expired — see the Get Order Intent API Reference.Next Steps
Create an Agent Card
Set up a new scoped agent card with updated spending rules.
Register an Agent
Create a new agent after deleting one.

