Creates a new virtual Visa card. You are prompted to select a cardholder and enter a card amount. The cardholder must have a payment method attached. A PaymentIntent hold is placed on their payment method for the card’s spend limit.
$ agent-cards-admin cards create? API key: sk_test_a1b2c3d4e5f6...? Select cardholder: Alice Smith (alice@example.com)? Card amount in dollars (e.g. 5.00): 10.00? Create a card with $10.00 spend limit? Yes✓ Card created ID cm3abc123 Last 4 4242 Expiry 03/28 Balance $10.00 Spend Limit $10.00 Status OPEN
If the cardholder has no payment method:
Copy
Ask AI
$ agent-cards-admin cards create? API key: sk_test_a1b2c3d4e5f6...? Select cardholder: Alice Smith (alice@example.com)? Card amount in dollars (e.g. 5.00): 25.00✗ Cardholder has no payment method. Set one up first.