Home / Servers / Stripe API / post_setup_intents
Create a SetupIntent
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create a SetupIntent Creates a SetupIntent object. After you create the SetupIntent, attach a payment method and confirm it to collect any required permissions to charge the payment method later. [POST /v1/setup_intents]
Name on the gateway: stripe_api__post_setup_intents · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
allowed_payment_method_types | array | The list of payment method types to allow for this SetupIntent. Stripe will… |
attach_to_self | boolean | If present, the SetupIntent's payment method will be attached to the… |
automatic_payment_methods | object | When you enable this parameter, this SetupIntent accepts payment methods that… |
confirm | boolean | Set to true to attempt to confirm this SetupIntent immediately. This parameter… |
confirmation_token | string | ID of the ConfirmationToken used to confirm this SetupIntent. If the provided… |
customer | string | ID of the Customer this SetupIntent belongs to, if one exists. If present, the… |
customer_account | string | ID of the Account this SetupIntent belongs to, if one exists. If present, the… |
description | string | An arbitrary string attached to the object. Often useful for displaying to… |
excluded_payment_method_types | array | The list of payment method types to exclude from use with this SetupIntent. |
expand | array | Specifies which fields in the response should be expanded. |
flow_directions | array | Indicates the directions of money movement for which this payment method is… |
mandate_data | object | This hash contains details about the mandate to create. This parameter can… |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
on_behalf_of | string | The Stripe account ID created for this SetupIntent. |
payment_method | string | ID of the payment method (a PaymentMethod, Card, or saved Source object) to… |
payment_method_configuration | string | The ID of the payment method configuration to use with this SetupIntent. |
payment_method_data | object | When included, this hash creates a PaymentMethod that is set as the… |
payment_method_options | object | Payment method-specific configuration for this SetupIntent. |
return_url | string | The URL to redirect your customer back to after they authenticate or cancel… |
single_use | object | If you populate this hash, this SetupIntent generates a single_use mandate… |
usage | off_session | on_session | Indicates how the payment method is intended to be used in the future. If not… |
use_stripe_sdk | boolean | Set to true when confirming server-side and using Stripe.js, iOS, or Android… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "stripe_api__post_setup_intents",
"arguments": {}
}Or connect the Stripe API server directly, which lists 606 tools including this one:
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a setupintent tool with allowed_payment_method_types set to ….