Install
openclaw skills install @elvismusli/x402card-agentIssue and manage wallet-owned virtual cards through x402
openclaw skills install @elvismusli/x402card-agentInstall the public CLI with curl -sSL https://x402card.org/install | sh, or use the local runtime in packages/agent from a source checkout. Use the public MCP only for discovery because it has no wallet authority.
https://api.x402card.org/api/card/discovery, https://api.x402card.org/api/agent, and runtime config before a money action.https://api.x402card.org/api/card/purchase without PAYMENT-SIGNATURE; this returns a 402 challenge and does not charge the wallet.exact, Base eip155:8453, native Base USDC, amount 25000000, the expected payee, and resource /api/card/purchase.PAYMENT-SIGNATURE. The x402 payer becomes the card owner. Preserve orderId and treat issuance as pending until the provider reports the card active.replayed: true; never create or sign a replacement payment.https://api.x402card.org/api/card/topup/discovery plus live runtime config.{ "amountUsdCents": 5000, "idempotencyKey": "..." } to https://api.x402card.org/api/card/topup without PAYMENT-SIGNATURE./api/card/topup, and atomic amount amountUsdCents * 10000.PAYMENT-SIGNATURE. The payer must own the active card. Funding is asynchronous; settlement is not proof that the card was credited.The installed CLI remains a supported authenticated fallback: configure X402CARD_SIGNER_COMMAND, run x402card-agent status, then x402card-agent issue once or x402card-agent topup <usd> for an active card. Stable operation keys recover the same issue or funding order. To top up the same amount again after the prior operation is confirmed funded, use x402card-agent topup <usd> --new; it refuses to rotate an unresolved operation. Use operation, cards, and balance to read progress, and reveal only to the controlling TTY or explicit clipboard.
The local MCP command is x402card-mcp. It may use the signer for bounded owner and issue operations, but it intentionally exposes no generic signing tool and no credential-reveal tool.
Treat unknown settlement state as pending/operator review. Never generate a second payment or change an idempotency key to bypass a pending operation.