Home / Servers / Stripe API / post_charges

Create a charge

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

Create a charge This method is deprecated and will be removed soon. If your integration uses it, you need to update it to use a different payment flow, such as the Payment Intents API . [POST /v1/charges]

Name on the gateway: stripe_api__post_charges · may change things.

Parameters

NameTypeDescription
amountintegerAmount intended to be collected by this payment. A positive integer…
application_feeinteger
application_fee_amountintegerA fee in cents (or local equivalent) that will be applied to the charge and…
capturebooleanWhether to immediately capture the charge. Defaults to true. When false, the…
cardobjectA token, like the ones returned by Stripe.js.
currencystringThree-letter ISO currency code, in lowercase. Must be a supported currency.
customerstringThe ID of an existing customer that will be charged in this request.
descriptionstringAn arbitrary string which you can attach to a Charge object. It is displayed…
destinationobjectdestination_specs
expandarraySpecifies which fields in the response should be expanded.
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
on_behalf_ofstringThe Stripe account ID for which these funds are intended. You can specify the…
radar_optionsobjectOptions to configure Radar. See Radar Session for more information.
receipt_emailstringThe email address to which this charge's receipt will be sent. The receipt…
shippingobjectShipping information for the charge. Helps prevent fraud on charges for…
sourcestringA payment source to be charged. This can be the ID of a card (i.e., credit or…
statement_descriptorstringFor a non-card charge, text that appears on the customer's statement as the…
statement_descriptor_suffixstringProvides information about a card charge. Concatenated to the account's…
transfer_dataobjectAn optional dictionary including the account to automatically transfer to as…
transfer_groupstringA string that identifies this transaction as part of a group. For details, see…

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

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

More from Stripe API