Home / Servers / Stripe API / post_payment_intents
Create a PaymentIntent
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create a PaymentIntent Creates a PaymentIntent object. After the PaymentIntent is created, attach a payment method and confirm to continue the payment. Learn more about the available payment flows with the Payment Intents… [POST /v1/payment_intents]
Name on the gateway: stripe_api__post_payment_intents · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
allowed_payment_method_types | array | The list of payment method types allowed for use with this payment. Stripe… |
amount required | integer | Amount intended to be collected by this PaymentIntent. A positive integer… |
amount_details | object | Provides industry-specific information about the amount. |
application_fee_amount | integer | The amount of the application fee (if any) that will be requested to be… |
automatic_payment_methods | object | When you enable this parameter, this PaymentIntent accepts payment methods… |
capture_method | automatic | automatic_async | manual | Controls when the funds will be captured from the customer's account. |
confirm | boolean | Set to true to attempt to confirm this PaymentIntent immediately. This… |
confirmation_method | automatic | manual | Describes whether we can confirm this PaymentIntent automatically, or if it… |
confirmation_token | string | ID of the ConfirmationToken used to confirm this PaymentIntent. If the… |
currency required | string | Three-letter ISO currency code, in lowercase. Must be a supported currency. |
customer | string | ID of the Customer this PaymentIntent belongs to, if one exists. Payment… |
customer_account | string | ID of the Account representing the customer that this PaymentIntent belongs… |
description | string | An arbitrary string attached to the object. Often useful for displaying to… |
error_on_requires_action | boolean | Set to true to fail the payment attempt if the PaymentIntent transitions into… |
excluded_payment_method_types | array | The list of payment method types to exclude from use with this payment. |
expand | array | Specifies which fields in the response should be expanded. |
hooks | object | Automations to be run during the PaymentIntent lifecycle |
mandate | string | ID of the mandate that's used for this payment. This parameter can only be… |
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… |
off_session | boolean | Set to true to indicate that the customer isn't in your checkout flow during… |
on_behalf_of | string | The Stripe account ID that these funds are intended for. Learn more about the… |
payment_details | object | Provides industry-specific information about the charge. |
payment_method | string | ID of the payment method (a PaymentMethod, Card, or compatible Source object)… |
payment_method_configuration | string | The ID of the payment method configuration to use with this PaymentIntent. |
payment_method_data | object | If provided, this hash will be used to create a PaymentMethod. The new… |
payment_method_options | object | Payment method-specific configuration for this PaymentIntent. |
radar_options | object | Options to configure Radar. Learn more about Radar Sessions. |
receipt_email | string | Email address to send the receipt to. If you specify receipt_email for a… |
return_url | string | The URL to redirect your customer back to after they authenticate or cancel… |
setup_future_usage | off_session | on_session | Indicates that you intend to make future payments with this PaymentIntent's… |
shipping | object | Shipping information for this PaymentIntent. |
statement_descriptor | string | Text that appears on the customer's statement as the statement descriptor for… |
statement_descriptor_suffix | string | Provides information about a card charge. Concatenated to the account's… |
transfer_data | object | The parameters that you can use to automatically create a Transfer. Learn more… |
transfer_group | string | A string that identifies the resulting payment as part of a group. Learn more… |
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_payment_intents",
"arguments": {
"amount": 0,
"currency": "…"
}
}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 paymentintent tool with allowed_payment_method_types set to ….