Home / Servers / Stripe API / post_charges_charge_refund

Create a refund

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Create a refund When you create a new refund, you must specify either a Charge or a PaymentIntent object. This action refunds a previously created charge that’s not refunded yet. Funds are refunded to the credit or… [POST /v1/charges/{charge}/refund]

Name on the gateway: stripe_api__post_charges_charge_refund · may change things.

Parameters

NameTypeDescription
charge requiredstringThe identifier of the charge to refund.
amountintegerA positive integer in the smallest currency unit representing how much of this…
expandarraySpecifies which fields in the response should be expanded.
instructions_emailstringFor payment methods without native refund support (e.g., Konbini, PromptPay)…
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
payment_intentstringThe identifier of the PaymentIntent to refund.
reasonduplicate | fraudulent | requested_by_customerString indicating the reason for the refund. If set, possible values are…
refund_application_feebooleanBoolean indicating whether the application fee should be refunded when…
reverse_transferbooleanBoolean indicating whether the transfer should be reversed when refunding this…

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_charges_charge_refund",
  "arguments": {
    "charge": "…"
  }
}

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 create a refund tool with charge set to ….

More from Stripe API