Skip to main content
Virtual cards are funded by a payment method on file. Manage them with the agent-cards payment-method command group (singular payment-method).

Save a payment method

agent-cards payment-method setup
Opens a secure Stripe checkout URL — save your card there. Once saved, it’s used automatically when you create cards.

List saved methods

agent-cards payment-method list
Shows each method’s ID, brand, last four, and expiry, and marks which one is the default.

Set the default

agent-cards payment-method default            # prompts you to choose
agent-cards payment-method default <id>       # set a specific method
The default payment method funds newly created cards.

Remove a method

agent-cards payment-method remove                  # prompts you to choose
agent-cards payment-method remove --id <id>        # remove a specific method
The Companies product uses the plural agent-cards-admin payment-methods command on the org. This consumer CLI uses the singular payment-method.