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

NameTypeDescription
expandarraySpecifies which fields in the response should be expanded.
flat_amountintegerA flat amount to reverse across the entire transaction, in the smallest…
line_itemsarrayThe line item amounts to reverse.
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
mode requiredfull | partialIf partial, the provided line item or shipping cost amounts are reversed. If…
original_transaction requiredstringThe ID of the Transaction to partially or fully reverse.
reference requiredstringA custom identifier for this reversal, such as myOrder_123-refund_1, which…
shipping_costobjectThe 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from Stripe API