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
| Name | Type | Description |
|---|---|---|
charge required | string | charge parameter |
customer | string | The ID of an existing customer that will be associated with this request. This… |
description | string | An arbitrary string which you can attach to a charge object. It is displayed… |
expand | array | Specifies which fields in the response should be expanded. |
fraud_details | object | A set of key-value pairs you can attach to a charge giving information about… |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
receipt_email | string | This is the email address that the receipt for this charge will be sent to. If… |
shipping | object | Shipping information for the charge. Helps prevent fraud on charges for… |
transfer_group | string | A 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:
{
"name": "stripe_api__post_charges_charge",
"arguments": {
"charge": "…"
}
}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 update a charge tool with charge set to ….