Create Checkout Session
Create a new checkout session with buyer details, line items, and shipping information
POST
Documentation Index
Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint creates a new Checkout Session for the Agentic Commerce Protocol, enabling AI agents to manage commerce transactions. The session tracks buyer information, cart items, and fulfillment options.
Authentication
This endpoint requires a valid API key withcheckouts:write permissions.
Request Body
Array of items to purchase
Information about the buyer
Address where the order will ship
Response
Unique identifier for the Checkout Session
Information about the buyer
Payment provider configuration and supported payment methods
Current status:
not_ready_for_payment, ready_for_payment, completed, canceled, in_progressThree-letter ISO currency code in lowercase
Array of line items in the checkout with calculated amounts
Address where the order will ship
Available shipping and fulfillment options
ID of the currently selected fulfillment option
Breakdown of charges including subtotal, tax, shipping, and total
Array of messages or notifications related to the checkout
Array of links related to policies and agreements