refund_stripe_charge
refund stripe charge destructive
Description
Refund a Stripe charge (ch_… or a pi_… payment intent): the full refundable amount, or a partial `amount` in major units; optional reason duplicate / fraudulent / requested_by_customer. ALWAYS needs confirm:true, test keys included. Read back. Needs Stripe connected (Connectors > Stripe, or connect_connector).
Parameters
| Parameter | Type | Description |
|---|---|---|
chargeIdrequired | string | charge id, ch_..., or payment intent id, pi_... |
amount | number | partial refund in major units; omit to refund the full refundable amount |
reason | string | duplicate, fraudulent or requested_by_customer |
confirm | boolean | true after the user approves this refund |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/refund_stripe_charge.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"refund_stripe_charge","arguments":{"chargeId":"<string>"}}}
CLI
hermoso call refund_stripe_charge --json '{"chargeId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
connect_connectorConnect a paste-a-key accountcancel_stripe_subscriptioncancel stripe subscriptioncreate_stripe_subscriptioncreate stripe subscriptioncreate_stripe_customercreate stripe customercreate_stripe_couponcreate stripe couponcreate_stripe_payment_linkcreate stripe payment linkcreate_stripe_pricecreate stripe pricecreate_stripe_productcreate stripe productlist_stripe_couponslist stripe couponslist_stripe_refundslist stripe refunds