hermosodocs

refund_stripe_charge

refund stripe charge destructive

Area: Stripe, the full surface · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
chargeIdrequiredstringcharge id, ch_..., or payment intent id, pi_...
amountnumberpartial refund in major units; omit to refund the full refundable amount
reasonstringduplicate, fraudulent or requested_by_customer
confirmbooleantrue 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.

All 143 Workspace & account tools · tools.json