Home / Servers / Stripe API / post_tax_transactions_create_reversal
Create a reversal Transaction
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create a reversal Transaction Partially or fully reverses a previously created Transaction . [POST /v1/tax/transactions/create_reversal]
Name on the gateway: stripe_api__post_tax_transactions_create_reversal · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
expand | array | Specifies which fields in the response should be expanded. |
flat_amount | integer | A flat amount to reverse across the entire transaction, in the smallest… |
line_items | array | The line item amounts to reverse. |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
mode required | full | partial | If partial, the provided line item or shipping cost amounts are reversed. If… |
original_transaction required | string | The ID of the Transaction to partially or fully reverse. |
reference required | string | A custom identifier for this reversal, such as myOrder_123-refund_1, which… |
shipping_cost | object | The shipping cost to reverse. |
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_tax_transactions_create_reversal",
"arguments": {
"mode": "…",
"original_transaction": "…",
"reference": "…"
}
}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 reversal transaction tool with expand set to ….