Home / Servers / Stripe API / post_refunds

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 a Charge or a PaymentIntent object on which to create it. Creating a new refund will refund a charge that has previously been created but not yet… [POST /v1/refunds]

Name on the gateway: stripe_api__post_refunds · may change things.

Parameters

NameTypeDescription
amountinteger
chargestringThe identifier of the charge to refund.
currencystringThree-letter ISO currency code, in lowercase. Must be a supported currency.
customerstringCustomer whose customer balance to refund from.
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…
origincustomer_balanceOrigin of the refund
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_refunds",
  "arguments": {}
}

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 amount set to ….

More from Stripe API