Enable Stripe Issuing on your Stripe account and complete the required compliance review; understand that Stripe Issuing virtual cards issued for agent use fall under the Agentic Commerce Suite launched December 2025
Use the Stripe Agent Toolkit (available on npm and PyPI) to wrap the Issuing API for LLM function-calling: the toolkit exposes card creation, spend limit configuration, and card cancellation as callable tools
When an agent needs to make a purchase, call the card creation endpoint with a spending limit object specifying amount, currency, interval (one-time), and optionally an allowed_merchant_categories or specific merchant ID restriction
Pass the generated virtual card number (returned only at creation and not stored by Stripe in retrievable form after that point) to the checkout flow; the card will decline automatically once the spend limit is exhausted or the merchant restriction is violated
Subscribe to Issuing authorization webhooks to receive real-time approval or decline events; implement a handler that can auto-approve within policy or escalate to a human reviewer for out-of-policy requests
After purchase confirmation, cancel or archive the card to ensure it cannot be reused; log the Issuing card ID, authorization ID, and associated agent session ID for your audit trail
Known gotchas
Virtual card numbers are only returned in plaintext at creation time via the Stripe API; if your agent framework logs LLM tool outputs, ensure card number fields are redacted before the log is persisted
Issuing authorization webhooks must respond within Stripe's timeout window (check current docs for the exact value) — if your handler is slow, Stripe will auto-decline the authorization, not wait
Stripe Issuing is only available in supported countries; verify current geographic availability before designing an agent that assumes global card issuance capability
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp