Skip to Content
πŸš€Agentic Commerce Protocol is now live! Instant Checkout is available in ChatGPT. Learn more β†’
DocumentationHow It Works

How It Works

Let’s walk through what actually happens when a customer buys something from your store using AI.

The entire shopping journey in one conversation. Discovery, selection, cart, and checkout β€” all in a single chat. No page loads, no form filling, no abandonment points.

The Three Players

WhoRole
CustomerDescribes what they want, approves the purchase
AI (ChatGPT)Finds products, manages the conversation, creates the order
Your StoreProvides product data, processes payment, ships the item

The AI is a middleman that never touches the money. Think of it as a digital personal shopper.


A Real Purchase, Step by Step

Step 1: Customer asks for something

πŸ‘€ You: I need a birthday gift for my sister. She's into yoga and I want to spend about $50.

The customer describes what they want in plain English. No keywords, no filters, just a conversation.

Step 2: AI searches your catalog

Behind the scenes, ChatGPT looks through your product feed β€” titles, descriptions, prices, availability β€” and finds matches.

Step 3: AI shows options

πŸ€– ChatGPT: Here are three options from YogaLife Shop: 1. Eco Cork Yoga Mat β€” $45 2. Meditation Cushion Set β€” $52 3. Yoga Block & Strap Kit β€” $38 Want me to tell you more about any of these? πŸ‘€ You: The cork mat sounds perfect. Let's do that one.

Step 4: AI creates the order

ChatGPT contacts your store and starts a checkout session. Your store responds with the real price, shipping options, and required info.

Step 5: Customer provides shipping info

πŸ€– ChatGPT: Great choice! Where should I send it? πŸ‘€ You: 123 Oak Street, Portland, OR 97201

Step 6: Customer confirms and pays

πŸ€– ChatGPT: Here's your order: Eco Cork Yoga Mat $45.00 Shipping $5.99 Tax $4.59 ───────────────────────────── Total $55.58 Ship to: 123 Oak Street, Portland, OR 97201 Should I complete this purchase? πŸ‘€ You: Yes, buy it.

This is the key moment. The AI doesn’t have the customer’s credit card. It asks Stripe for a one-time payment token that only works for your store, only for this exact amount.

Step 7: Payment goes through

The AI sends that token to your store β†’ Your store sends it to Stripe β†’ Stripe charges the card β†’ Money goes to you.

At no point did the AI see the card number. At no point could it charge a different amount.

Step 8: Order confirmed

πŸ€– ChatGPT: All done! βœ“ Order #12345 confirmed Estimated delivery: December 20th You'll get an email with tracking info.

The order appears in your dashboard like any other. You fulfill it normally.


Another Example: Repeat Purchases

πŸ‘€ You: Reorder my usual coffee πŸ€– ChatGPT: Your usual is Blue Bottle Bella Donovan 12oz, correct? $18 with free shipping, arrives Thursday. πŸ‘€ You: Actually, get two bags this time πŸ€– ChatGPT: Updated to 2 bags β€” $36 total. Confirm? πŸ‘€ You: Yes πŸ€– ChatGPT: Done! Order placed. βœ“

AI remembers preferences and makes repeat purchases effortless.


What Your Store Provides

ComponentPurpose
Product FeedSo AI knows what you sell
Checkout APISo AI can create and complete orders
Stripe AccountSo payment tokens work

If you’re on Shopify or Etsy, this is handled for you. Custom stores need to build these endpoints.


The Payment Networks Are Ready

Major payment networks are building infrastructure specifically for AI agent transactions:

NetworkInitiativeWhat It Does
MastercardAgent PayAgentic Tokens for verified AI agents with spending controls
VisaIntelligent CommerceAI-ready cards with limits, FIDO security, and passkeys

These aren’t future concepts β€” they’re being built now with partners like OpenAI, Microsoft, and Stripe.

Learn more: Checkout.com explainsΒ  how Mastercard and Visa are preparing for agentic commerce.


The Security Model

People worry about AI having access to their money. Here’s how it’s protected:

The AI never sees payment details. Your card is stored with Stripe, not ChatGPT.

Payment tokens are locked. Each token works for one specific store, one specific amount, one time only.

You approve every purchase. The AI always asks before charging anything.

Tokens expire fast. ~30 minutes, then they’re useless.

It’s like a signed check made out to a specific person for a specific amount. They can only deposit it exactly as written.


For Developers

Want the technical details? The Developer section has API specs, code examples, and integration guides.

Quick summary:

  • Product Feed β†’ JSON endpoint returning your catalog
  • Checkout API β†’ REST endpoints for session management
  • Payment β†’ Stripe’s Shared Payment Tokens (SPTs)

All three specs are open source. Implement them yourself or use platform integrations.


What’s Next?

Specification maintained by OpenAI and Stripe

AboutPrivacyTermsRSS

Apache 2.0 Β· Open Source