Skip to main content
POST
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 with checkouts:write permissions.

Request Body

array
required
Array of items to purchase
object
Information about the buyer
object
Address where the order will ship

Response

string
Unique identifier for the Checkout Session
object
Information about the buyer
object
Payment provider configuration and supported payment methods
string
Current status: not_ready_for_payment, ready_for_payment, completed, canceled, in_progress
string
Three-letter ISO currency code in lowercase
array
Array of line items in the checkout with calculated amounts
object
Address where the order will ship
array
Available shipping and fulfillment options
string
ID of the currently selected fulfillment option
array
Breakdown of charges including subtotal, tax, shipping, and total
array
Array of messages or notifications related to the checkout
Array of links related to policies and agreements