Agents API Overview

The Agents API enables autonomous agents to interact with Walta Checkout.
Agents can search for products, manage their cart, create sessions for authentication, and securely complete purchases.


Endpoints Overview

EndpointDescription
/agents/browseBrowse products across all merchants globally without domain restrictions.
/{domain}/agents/cartAdd, update, and remove products from the agent’s cart.
/{domain}/agents/checkoutComplete purchases using Stripe-based payment flow.
/{domain}/agents/sessionCreate and manage short-lived session keys for agent authentication.

Key Concepts

  • Domain-independent browsing/agent/browse allows searching products from all stores.
  • Session authentication – Agents must create a session key to interact with domain-specific routes.
  • Scoped security – Every action is tied to the agent identity and logged for auditing.
  • Seamless checkout – Payments are processed securely via Stripe with tokenized credentials.

Example Flow

  1. Create a session using /{domain}/agents/session/create with your X-User-Key.
  2. Browse products globally or per domain using /agents/browse.
  3. Add products to your cart with /{domain}/agents/cart/add.
  4. Pay securely using /{domain}/agents/checkout/pay.

Was this page helpful?