Skip to main content
Creates a setup session so the user can save a payment method for future card creation. Once saved, that payment method is used automatically when new cards are created with create_card.

Parameters

This tool takes no parameters.

Returns

A secure Stripe checkout URL and its session ID. The user must open the URL to save their card details; once completed, the saved card funds future transactions automatically. To see what is already saved, use list_payment_methods.

Example

{ "name": "setup_payment_method", "arguments": {} }