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

NameTypeDescription
intent requiredstringintent parameter
cancellation_reasonabandoned | duplicate | fraudulent | requested_by_customerReason for canceling this PaymentIntent. Possible values are: duplicate…
expandarraySpecifies 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:

call_tool arguments
{
  "name": "stripe_api__post_payment_intents_intent_cancel",
  "arguments": {
    "intent": "…"
  }
}

Or connect the Stripe API server directly, which lists 606 tools including this one:

Run in your terminal
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 ….

More from Stripe API