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
| Name | Type | Description |
|---|---|---|
amount | integer | Amount intended to be collected by this payment. A positive integer… |
application_fee | integer | |
application_fee_amount | integer | A fee in cents (or local equivalent) that will be applied to the charge and… |
capture | boolean | Whether to immediately capture the charge. Defaults to true. When false, the… |
card | object | A token, like the ones returned by Stripe.js. |
currency | string | Three-letter ISO currency code, in lowercase. Must be a supported currency. |
customer | string | The ID of an existing customer that will be charged in this request. |
description | string | An arbitrary string which you can attach to a Charge object. It is displayed… |
destination | object | destination_specs |
expand | array | Specifies which fields in the response should be expanded. |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
on_behalf_of | string | The Stripe account ID for which these funds are intended. You can specify the… |
radar_options | object | Options to configure Radar. See Radar Session for more information. |
receipt_email | string | The email address to which this charge's receipt will be sent. The receipt… |
shipping | object | Shipping information for the charge. Helps prevent fraud on charges for… |
source | string | A payment source to be charged. This can be the ID of a card (i.e., credit or… |
statement_descriptor | string | For a non-card charge, text that appears on the customer's statement as the… |
statement_descriptor_suffix | string | Provides information about a card charge. Concatenated to the account's… |
transfer_data | object | An optional dictionary including the account to automatically transfer to as… |
transfer_group | string | A 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:
{
"name": "stripe_api__post_charges",
"arguments": {}
}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 charge tool with amount set to ….