Home / Servers / Stripe API / post_checkout_sessions_session

Update a Checkout Session

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

Update a Checkout Session Updates a Checkout Session object. Related guide: Dynamically update a Checkout Session [POST /v1/checkout/sessions/{session}]

Name on the gateway: stripe_api__post_checkout_sessions_session · may change things.

Parameters

NameTypeDescription
session requiredstringsession parameter
collected_informationobjectInformation about the customer collected within the Checkout Session. Can only…
expandarraySpecifies which fields in the response should be expanded.
line_itemsarrayA list of items the customer is purchasing. When updating line items, you must…
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful…
shipping_optionsarrayThe shipping rate options to apply to this Session. Up to a maximum of 5.

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

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 checkout session tool with session set to ….

More from Stripe API