Home / Servers / Stripe API / post_sources
Create a source
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Create a source Creates a new source object. [POST /v1/sources]
Name on the gateway: stripe_api__post_sources · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
amount | integer | Amount associated with the source. This is the amount for which the source… |
currency | string | Three-letter ISO code for the currency associated with the source. This is the… |
customer | string | The Customer to whom the original source is attached to. Must be set when the… |
expand | array | Specifies which fields in the response should be expanded. |
flow | code_verification | none | receiver | redirect | The authentication flow of the source to create. flow is one of redirect… |
mandate | object | Information about a mandate possibility attached to a source object (generally… |
metadata | object | |
original_source | string | The source to share. |
owner | object | Information about the owner of the payment instrument that may be used or… |
receiver | object | Optional parameters for the receiver flow. Can be set only if the source is a… |
redirect | object | Parameters required for the redirect flow. Required if the source is… |
source_order | object | Information about the items and shipping associated with the source. Required… |
statement_descriptor | string | An arbitrary string to be displayed on your customer's statement. As an… |
token | string | An optional token used to create the source. When passed, token properties… |
type | string | The type of the source to create. Required unless customer and original_source… |
usage | reusable | single_use |
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_sources",
"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 source tool with amount set to ….