Payment methods create
payment_methods_createReturns a one-time Stripe Checkout URL to hand the user so they can add a payment card. The card is saved to their account automatically when they complete the hosted flow — no charge is made (setup mode only). Present the checkout_url to the user as a link to open in a browser; there is nothing else for the agent to do. Buyer principals only. Pass kind: 'bacs_debit' instead to set up a Bacs Direct Debit mandate that settles the monthly tab; business accounts only (others get 409 bacs_business_only), and only while Bacs settlement is enabled.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "payment_methods_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What to set up: a payment card (the default), or a Bacs Direct Debit mandate. Direct Debit is for business accounts only and settles the monthly tab. | card |