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

NameTypeDescription
amountintegerAmount associated with the source. This is the amount for which the source…
currencystringThree-letter ISO code for the currency associated with the source. This is the…
customerstringThe Customer to whom the original source is attached to. Must be set when the…
expandarraySpecifies which fields in the response should be expanded.
flowcode_verification | none | receiver | redirectThe authentication flow of the source to create. flow is one of redirect…
mandateobjectInformation about a mandate possibility attached to a source object (generally…
metadataobject
original_sourcestringThe source to share.
ownerobjectInformation about the owner of the payment instrument that may be used or…
receiverobjectOptional parameters for the receiver flow. Can be set only if the source is a…
redirectobjectParameters required for the redirect flow. Required if the source is…
source_orderobjectInformation about the items and shipping associated with the source. Required…
statement_descriptorstringAn arbitrary string to be displayed on your customer's statement. As an…
tokenstringAn optional token used to create the source. When passed, token properties…
typestringThe type of the source to create. Required unless customer and original_source…
usagereusable | 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:

call_tool arguments
{
  "name": "stripe_api__post_sources",
  "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 source tool with amount set to ….

More from Stripe API