Home / Servers / Stripe API / post_test_helpers_issuing_transactions_transaction_refund
Refund a test-mode transaction
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Refund a test-mode transaction [POST /v1/test_helpers/issuing/transactions/{transaction}/refund]
Name on the gateway: stripe_api__post_test_helpers_issuing_transactions_transaction_refund · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
transaction required | string | transaction parameter |
expand | array | Specifies which fields in the response should be expanded. |
refund_amount | integer | The total amount to attempt to refund. This amount is in the provided… |
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_test_helpers_issuing_transactions_transaction_refund",
"arguments": {
"transaction": "…"
}
}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 refund a test-mode transaction tool with transaction set to ….