Home / Servers / Stripe API / post_charges_charge

Update a charge

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Update a charge Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged. [POST /v1/charges/{charge}]

Name on the gateway: stripe_api__post_charges_charge · may change things.

Parameters

NameTypeDescription
charge requiredstringcharge parameter
customerstringThe ID of an existing customer that will be associated with this request. This…
descriptionstringAn arbitrary string which you can attach to a charge object. It is displayed…
expandarraySpecifies which fields in the response should be expanded.
fraud_detailsobjectA set of key-value pairs you can attach to a charge giving information about…
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
receipt_emailstringThis is the email address that the receipt for this charge will be sent to. If…
shippingobjectShipping information for the charge. Helps prevent fraud on charges for…
transfer_groupstringA string that identifies this transaction as part of a group. transfer_group…

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_charges_charge",
  "arguments": {
    "charge": "…"
  }
}

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 update a charge tool with charge set to ….

More from Stripe API