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
| Name | Type | Description |
|---|---|---|
session required | string | session parameter |
collected_information | object | Information about the customer collected within the Checkout Session. Can only… |
expand | array | Specifies which fields in the response should be expanded. |
line_items | array | A list of items the customer is purchasing. When updating line items, you must… |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
shipping_options | array | The 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:
{
"name": "stripe_api__post_checkout_sessions_session",
"arguments": {
"session": "…"
}
}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 update a checkout session tool with session set to ….