Home / Servers / Stripe API / post_payment_intents_intent_cancel
Cancel a PaymentIntent
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Cancel a PaymentIntent You can cancel a PaymentIntent object when it’s in one of these statuses: requires_payment_method , requires_capture , requires_confirmation , requires_action or, in rare cases , processing . After… [POST /v1/payment_intents/{intent}/cancel]
Name on the gateway: stripe_api__post_payment_intents_intent_cancel · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
intent required | string | intent parameter |
cancellation_reason | abandoned | duplicate | fraudulent | requested_by_customer | Reason for canceling this PaymentIntent. Possible values are: duplicate… |
expand | array | Specifies which fields in the response should be expanded. |
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_intent_cancel",
"arguments": {
"intent": "…"
}
}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 cancel a paymentintent tool with intent set to ….