Home / Servers / Stripe API / post_charges_charge_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/charges/{charge}/refunds]
Name on the gateway: stripe_api__post_charges_charge_refunds · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
charge required | string | The identifier of the charge to refund. |
amount | integer | |
currency | string | Three-letter ISO currency code, in lowercase. Must be a supported currency. |
customer | string | Customer whose customer balance to refund from. |
expand | array | Specifies which fields in the response should be expanded. |
instructions_email | string | For payment methods without native refund support (e.g., Konbini, PromptPay)… |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
origin | customer_balance | Origin of the refund |
payment_intent | string | The identifier of the PaymentIntent to refund. |
reason | duplicate | fraudulent | requested_by_customer | String indicating the reason for the refund. If set, possible values are… |
refund_application_fee | boolean | Boolean indicating whether the application fee should be refunded when… |
reverse_transfer | boolean | Boolean 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:
{
"name": "stripe_api__post_charges_charge_refunds",
"arguments": {
"charge": "…"
}
}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 refund tool with charge set to ….