Home / Servers / Stripe API / post_sources_source

Update a source

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

Update a source Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged. This request accepts the metadata and owner as arguments. It is also… [POST /v1/sources/{source}]

Name on the gateway: stripe_api__post_sources_source · may change things.

Parameters

NameTypeDescription
source requiredstringsource parameter
amountintegerAmount associated with the source.
expandarraySpecifies which fields in the response should be expanded.
mandateobjectInformation about a mandate possibility attached to a source object (generally…
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
ownerobjectInformation about the owner of the payment instrument that may be used or…
source_orderobjectInformation about the items and shipping associated with the source. Required…

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

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 update a source tool with source set to ….

More from Stripe API