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
| Who | Role |
|---|---|
| Customer | Describes what they want, approves the purchase |
| AI (ChatGPT) | Finds products, manages the conversation, creates the order |
| Your Store | Provides 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 97201Step 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
| Component | Purpose |
|---|---|
| Product Feed | So AI knows what you sell |
| Checkout API | So AI can create and complete orders |
| Stripe Account | So 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:
| Network | Initiative | What It Does |
|---|---|---|
| Mastercard | Agent Pay | Agentic Tokens for verified AI agents with spending controls |
| Visa | Intelligent Commerce | AI-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.