CartAI · AsyncAPI Specification

Cartai Ai Webhooks

Version

View Spec View on GitHub Artificial IntelligencePaymentsAutomationE-CommerceCheckoutAsyncAPIEvents

AsyncAPI Specification

Raw ↑
generated: '2026-11-22'
method: searched
generator: extract-docs-artifacts.py (local)
source: https://docs.cartai.ai/reference/webhooks.md
sources:
- https://docs.cartai.ai/reference/webhooks.md
- https://docs.cartai.ai/reference/checkout-task-webhooks.md
- https://docs.cartai.ai/reference/payment-session-webhooks.md
- https://docs.cartai.ai/reference/webhooks
description: CartAI webhook surface
events:
- event: QUEUED
  description: CartAI has accepted the checkout task, and it is waiting in the execution queue. No agent has started yet.
- event: STARTED
  description: An AI agent has claimed the task and begun execution.
- event: IN_PROGRESS
  description: 'The agent is working on the merchant site: adding items to the cart, selecting a shipping option, and entering checkout details.'
- event: PENDING_CONFIRMATION
  description: The agent has reached the final checkout step and is waiting for the customer to confirm the order. Action required.
- event: CONFIRMED
  description: The customer confirmed the order, and the agent will now place it.
- event: PLACED
  description: The order has been submitted to the merchant and is awaiting final confirmation.
- event: COMPLETED
  description: The checkout is complete and the order is confirmed. Terminal success state.
- event: CANCELLED
  description: The task was cancelled, either by the customer during PENDING_CONFIRMATION or by your application via DELETE /checkout/{taskId}.
    Terminal state.
- event: FAILED
  description: The checkout could not be completed. Can happen at any stage after STARTED. Terminal failure state.
- event: created
  description: The payment session has been created and the hosted payment url is ready. The customer has not completed the payment flow yet.
- event: approved
  description: The customer completed the hosted payment flow and authorized the payment.
- event: utilised
  description: The session's payment credentials have been used.
- event: expired
  description: The session passed its authorization.expiry before it was used; the hosted url no longer works and credentials cannot be retrieved.
- event: purged
  description: The session's data has been permanently removed from CartAI. Terminal state.
delivery:
  auth: 'CartAI supports Basic Authentication (Authorization: Basic <base64>), OAuth2 (Authorization: Bearer <token>), custom headers (e.g., X-CartAI-Secret),
    and No Authentication for testing only.'
  retries: CartAI may retry failed deliveries when the response is non‑2xx, a timeout occurs, or a connection error happens.
docs: https://docs.cartai.ai/reference/webhooks.md

Work with this as data

Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/cartai-ai-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.