commerce

ACP: create a checkout session

Agentic Commerce Protocol (OpenAI + Stripe) checkout, snapshot 2026-04-17; the 2025-09-29 items[].id body is accepted too. Prices real catalog items and returns totals, links and a continue_url. Completion escalates to the account owner (see /checkout_sessions/{id}/complete). Guide: /developers/guides/agentic-commerce

post/checkout_sessions

Request

  • Base URL: https://mitosislabs.ai
  • URL: https://mitosislabs.ai/checkout_sessions
  • Auth: none required

Headers

API-Versionstring
Example:2026-04-17
Idempotency-Keystring
Request-Idstring

Request body

Example request

{
  "line_items": [
    {
      "item": {
        "id": "plan_team_monthly"
      }
    }
  ]
}

Response

Checkout session

idstring required
status'not_ready_for_payment' | 'ready_for_payment' | 'requires_escalation' | 'completed' | 'canceled' | 'expired' required
currencystring required
buyerobject
line_itemsobject[] required
fulfillment_optionsobject[]
fulfillment_option_idstring
messagesobject[] required
continue_urlstring uri

Where the account owner completes payment

expires_atstring date-time
capabilitiesobject

Example response

{
  "id": "cs_3Ykq9pQ7Lm2Zt8Ab",
  "protocol": {
    "version": "2026-04-17"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.