Home / Servers / Stripe API / get_checkout_sessions_session_line_items
Retrieve a Checkout Session's line items
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Retrieve a Checkout Session's line items When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of… [GET /v1/checkout/sessions/{session}/line_items]
Name on the gateway: stripe_api__get_checkout_sessions_session_line_items · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
session required | string | session parameter |
ending_before | string | A cursor for use in pagination. ending_before is an object ID that defines… |
expand | array | Specifies which fields in the response should be expanded. |
limit | integer | A limit on the number of objects to be returned. Limit can range between 1 and… |
starting_after | string | A cursor for use in pagination. starting_after is an object ID that defines… |
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__get_checkout_sessions_session_line_items",
"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 retrieve a checkout session's line items tool with session set to ….