Skip to content
flint

Sell online with AI

Sell online with AI.Flint is the store behind it.

Connect Claude, Cursor, Codex, or the ChatGPT desktop app to Flint and say what you sell. Your AI adds products to your catalog, makes checkout links buyers pay by card, Apple Pay, or Google Pay, and writes a storefront when you want one. Flint keeps every order, emails the receipts, handles refunds, and pays out to your bank.

Sandbox first

Your AI starts on test cards. The Flint server refuses live data until you restart it with live access allowed.

You confirm refunds

By default, refunds and deletions in live mode need your confirmation before they run.

No monthly fee

3.79% + 35¢ per card payment. No setup fee and no store subscription.

01What it sets up

Ask in plain words. Each request is a Flint operation.

The Flint CLI’s MCP server, flint mcp serve, runs on your computer, signed in as you, and gives your AI Flint’s API through five small tools. Ask the way you’d ask a person and the AI searches for the operation, reads its arguments, and calls it.

Everyday requests
“Add our pour-over class at $45 a seat.”Your AI callsproducts.createflint_writeWhat you getA product in your catalog with its price. Change the price once and every link selling it follows.
“Make a booking link I can post.”Your AI callspayment-links.createflint_writeWhat you getA checkout page any number of buyers can pay by card, Apple Pay, or Google Pay. Each payment becomes its own order.
“How many bookings has the class link taken?”Your AI callspayment-links.getflint_readWhat you getThe link's completed checkouts, its address, and whether it is taking payments.
“Send Dana a $180 checkout for her custom order.”Your AI callscheckout-sessions.createflint_writeWhat you getA one-time checkout page for one buyer and one amount, such as a commission or a deposit.
“Refund Maya's booking.”Your AI callsrefunds.createflint_writeWhat you getA full refund, an amount, or single items with their share of the tax. In live mode it asks you first.
“Tell our website when someone pays.”Your AI callswebhook-endpoints.createflint_writeWhat you getA signed order.paid event posted to your site for every sale, so it can update itself.
More of the API
“Show me this week's orders.”Your AI callsorders.listflint_readWhat you getEach order with its items, totals, and payment and refund status.
“Charge $9 shipping anywhere in the US.”Your AI callsdelivery-methods.createflint_writeWhat you getA flat rate hosted checkout offers on orders that ship. Checkout asks for the address and adds the charge and its tax.
“Make the checkout match our brand colors.”Your AI callssettings.updateflint_writeWhat you getYour colors, font, and corner style on checkout, payment links, and the buyer account.
“Give newsletter readers 10% off with a code.”Your AI callspromotions.createflint_writeWhat you getA discount buyers redeem with codes, each with its own usage limit and expiry.
“How did sales go last week?”Your AI callsanalytics.overview.getflint_readWhat you getGross volume, refunds, payment count, and new customers for the dates you name.
“When does our money arrive?”Your AI callspayouts.listflint_readWhat you getPayouts to your bank with their amounts, statuses, and arrival dates.

Find the operations your credential can call from the start: flint_search finds it and flint_describe shows its exact fields before the AI calls it with flint_read or flint_write. If your AI app works better with one tool per operation, start the server with --tools orders,settings, or --tools all for all 634 tools. Tools and flags in the CLI guide

reviewed 2026-10-31 against Flint CLI 0.15.0 and the published API · corrections: Flint Help

02No website needed

Your first sales can come from a link.

A payment link is a checkout page with its own address. Post it in your bio, send it in a DM or an email, or print its QR code for the market table. Anyone who opens it can pay, and each payment becomes its own order.

app.withflintpay.com
Flint dashboard payment link builder with a live preview of the link the buyer opens
Every link your AI makes is in the dashboard too, where you can edit it by hand and download its QR code.

Buyers choose how many. Allow a range, like 1 to 4 seats, and the page shows a quantity picker.

Prices follow your catalog. A link that sells a catalog product picks up its current price each time a checkout starts, so a price change needs no new link.

More than one kind of sale. Donation links let the buyer choose the amount, event links sell dated tickets against a seat limit, and subscription links start a recurring plan.

Close it with a message. Turn a link off and anyone who opens it reads your note instead of a checkout. Turn it back on and the same address works again.

Everything a payment link can sell

03After they pay

Everything after Buy is already built.

The checkout page, the receipt, the buyer's account, refunds, and payouts exist before your AI writes a word, and none of it is code you have to check.

the receipt Flint emails your buyer
Sent when the order is paid, built from the order's own lines and total. There is no template to design and no mail service to set up.

A hosted checkout under your store’s name, with cards, Apple Pay, and Google Pay and no setup.

checkout.withflintpay.com

A receipt emailed to the buyer when the order is paid.

order.paid

A buyer account where customers find their orders, track parcels, and start returns.

account.withflintpay.com

Refunds for a whole order or single items, from the dashboard or by asking your AI.

POST /v1/refunds

Payouts to your bank account on the standard schedule, included in the rate.

GET /v1/payouts

US sales tax from the buyer’s address once you connect automatic tax, reversed item by item on refunds.

pricing_amounts.tax_money
app.withflintpay.com
Flint dashboard order detail: line items, totals with a line-item refund, the payment attempt and an activity timeline on one $19.43 order record
An order in your dashboard: line items, totals, a refund of one item, and everything that happened to it.

04Your own storefront

Want a full site? Your coding agent writes it.

Claude Code, Cursor, or Codex builds the pages you describe. Behind the Buy button, your server makes two Flint calls, and your agent can pay a test order itself before you open a browser.

Give your coding agent the docs
claude mcp add --transport http flint-docs \
  https://developers.withflintpay.com/mcp

Flint's docs server is public and read-only, with no key. Your agent searches the guides and reads each endpoint's exact request and response schema instead of guessing field names.

Keep the key on the server. Flint has no publishable key. Every key is secret, and a buyer’s browser only ever gets a checkout address or a short-lived checkout credential. Tell your agent to read the key in server code and never to give it a NEXT_PUBLIC_ or VITE_ prefix, which ships it inside the page. API key security

Sell what’s in your catalog. The products your AI created are what the storefront sells, by variant, so the prices on your pages and at checkout come from one place.

  1. Create the order

    POST /v1/orders

    Send what the buyer picked, by catalog variant and quantity. Flint prices it from your catalog and stores the order, so your pages never do money math.

    Your server
    curl -X POST https://api.withflintpay.com/v1/orders \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Idempotency-Key: order-class-001" \
      -d '{
        "line_items": [
          {
            "type": "variant",
            "variant_id": "var_1kmn0aExample",
            "quantity": 2
          }
        ]
      }'
    201 Created
    {
      "data": {
        "order_id": "ord_1kmn0aExample",
        "status": "open",
        "payment_status": "unpaid",
        "pricing_amounts": {
          "subtotal_money": { "amount": 9000, "currency": "USD" },
          "total_money": { "amount": 9000, "currency": "USD" }
        },
        "settlement_amounts": {
          "outstanding_money": { "amount": 9000, "currency": "USD" }
        }
      }
    }

    Two seats at $45. The total comes from Flint, not from your page.

  2. Send the buyer to checkout

    POST /v1/checkout-sessions

    Flint returns an address on its hosted checkout. The buyer pays there and lands on your thank-you page, and an order.paid webhook tells your server.

    Your server
    curl -X POST https://api.withflintpay.com/v1/checkout-sessions \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Idempotency-Key: checkout-class-001" \
      -d '{
        "type": "order",
        "order_id": "ord_1kmn0aExample",
        "redirects": {
          "success_url": "https://cedarandstone.example/thanks",
          "cancel_url": "https://cedarandstone.example/classes"
        }
      }'
  3. Pay a test order from the terminal

    POST /v1/orders/{order_id}/pay

    With a sandbox key, your agent pays with a test token and reads the order back as paid. A declining token returns the decline and its reason, so it can test that path too.

    Your agent, in the sandbox
    curl -X POST \
      https://api.withflintpay.com/v1/orders/ord_1kmn0aExample/pay \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Idempotency-Key: pay-class-test-001" \
      -d '{
        "action": "pay",
        "payment_source": {
          "credential_type": "stripe_payment_method",
          "stripe": { "payment_method": "pm_card_visa" }
        },
        "expected_outstanding_money": {
          "amount": 9000,
          "currency": "USD"
        }
      }'
    What your agent reads back
    {
      "data": {
        "order": {
          "order_id": "ord_1kmn0aExample",
          "status": "closed",
          "payment_status": "paid",
          "settlement_amounts": {
            "paid_money": { "amount": 9000, "currency": "USD" },
            "outstanding_money": { "amount": 0, "currency": "USD" }
          }
        },
        "order_payment_attempt": {
          "order_payment_attempt_id": "opat_1kmn0aExample",
          "status": "succeeded",
          "is_resumable": false
        }
      }
    }

    Paid, nothing outstanding. Every test token and the outcome it produces

Building in Next.js, or in a tool that generates it? The Next.js commerce page walks through server actions, route handlers, and webhooks. Building in Lovable, v0, Bolt, or Replit? The AI app builders page covers selling with no backend at all. The headless storefront guide adds signed-in buyers. Thinking of having your agent write the order logic itself? Don’t vibe code the commerce engine covers the refunds, tax, disputes, and stock you would own.

05Guardrails

Your AI works in a sandbox until you say otherwise.

The Flint server you start decides what your AI may do with your account. The AI can narrow those limits for a call, and it can never widen them.

flint_test_ keys

A sandbox key reaches its own sandbox and nothing else. Buyers pay with test cards and no money moves.

--allow-live

Without it, flint mcp serve refuses live credentials outright. With it, every live call still has to say so with live: true.

your confirmation

Sensitive and irreversible actions, such as refunds, need confirm: truefrom the AI, and in live mode they also need your yes. The server asks you through your AI app when it can, and otherwise gives you the exact terminal command to run. Only --allow-destructive lets the AI confirm live actions for you.

your OS keychain

You sign in with flint login in your own terminal. Key import, sign-out, and config changes aren’t tools, so a key never passes through the chat and the AI can’t switch accounts.

Before a write, your AI can check the request it would send without sending it, and preview what a destructive action would change. The full list of gates, and why the server runs on your machine with the key in your keychain, is on the MCP page.

06What stays with you

The steps that need you are the ones that should.

Your AI does the setup. A few steps touch your identity, your bank, or real money, and those stay with you by design.

Your sign-up code

flint signup emails a code to finish creating your account, so the person who reads that inbox enters it. Or sign up in the browser.

Verifying your business

Your business details, your identity, and the bank account for payouts go into the dashboard, never through the AI. Flint onboards US businesses, and buyers can pay from anywhere.

Going live

You restart the server with --allow-live. Sandbox products and links don’t carry over, so your AI re-creates them in live mode. Going live

Sales tax

Connect automatic tax in Settings, Tax, with the states where you're registered. The API can't create the connection, so your AI can't either. Tax is off until you turn it on.

Refunds in live mode

Each one needs confirm: true from the AI and waits for your approval, unless you hand that to the AI by starting the server with --allow-destructive.

Real money

Payouts go to the bank account you verified. Nothing your AI does in the sandbox moves money or charges a real card.

07Connect

Connect your AI and make a test sale.

Five steps from nothing to a paid test order, then to real buyers. Everything before the last step happens in your sandbox.

  1. Install the Flint CLI and sign in

    flint login opens your browser and signs this computer in to your sandbox. New to Flint? flint signup creates the account and its sandbox key instead.

    Terminal
    npm install -g @flintpay/cli
    flint login
  2. Add Flint to your AI app

    Each option runs flint mcp serve on your computer with the sign-in from step one, so no key goes in a config file.

    claude_desktop_config.json
    {
      "mcpServers": {
        "flint": {
          "command": "npx",
          "args": ["-y", "@flintpay/cli", "mcp", "serve"]
        }
      }
    }

    Open it in Claude Desktop from Settings, Developer, Edit Config, then restart the app. Cursor reads the same file shape from .cursor/mcp.json.

  3. Ask for what you sell

    Your AI calls products.create and payment-links.create through flint_write, then hands you the link.

    Paste into your AI
    Use the Flint tools. In my sandbox, add our
    Saturday pour-over class at $45 a seat and make
    a payment link that takes 1 to 4 seats. Then
    give me the link and tell me how to test it.
  4. Pay the link with a test card

    Open the link and pay with 4242 4242 4242 4242, any future expiry, and any CVC. The paid order appears in your dashboard with its line items and total.

  5. Go live

    Verify your business in the dashboard, sign in with live access, restart the server with --allow-live, and ask your AI to re-create your products and links in live mode.

08Pricing

You pay when you sell.

3.79% + 35¢ per card payment, with no monthly fee and no setup fee. The sandbox is free, and standard payouts to your bank are included.

Two class seats, paid by card
Pour-over class × 2$90.00
Flint fee, 3.79% + 35¢$3.76
Yours, paid out to your bank$86.24
No monthly fee to cover first, so the first sale and the hundredth cost the same.

Automatic US sales tax, on payments that carry tax, once you connect it.

+0.50%

Bank payments (ACH), when you offer them at checkout.

1.00%, $1 minimum, no cap

Affirm pay over time, when you offer it at checkout.

6.99% + 30¢

Checkout and payment links on your own domain, such as pay.yourstore.com. Optional.

$15/month

Refunds. The original processing fee is kept.

$0

International cards and manually entered cards carry small surcharges. Every rate is on the pricing page.

09Start

Make your first test sale.

The sandbox is free and takes test cards, so your AI can try everything before a real buyer sees it.

1 · Install the CLI

npm install -g @flintpay/cli

2 · Sign in to your sandbox

flint login

3 · Connect Claude Code

claude mcp add flint -- flint mcp serve

Then ask your AI to put one thing you sell on a payment link, and pay it with 4242 4242 4242 4242.

3.79% + 35¢ on cards · no monthly fee · free sandbox · no credit card

Then read these

  1. 01
    AI agents guideThe docs MCP server, SKILL.md, and the CLI's tools.
  2. 02
    CLI guide: agents and MCPTool groups, live access, and confirmations.
  3. 03
  4. 04
    TestingTest cards and tokens for every outcome.
  5. 05

Or run npm install -g @flintpay/cli && flint signup to create your account and a sandbox key from the terminal. CLI guide

Sources

Where each outside claim comes from.

  • Claude Desktop starts the local MCP servers listed under mcpServers in its claude_desktop_config.json file, which Settings, Developer, Edit Config opens. Model Context Protocol: Connect to local MCP servers

    modelcontextprotocol.io · checked 2026-10-31
  • codex mcp add NAME -- COMMAND adds a local stdio server. The ChatGPT desktop app, the Codex CLI, and the Codex IDE extension share that configuration, and ChatGPT on the web uses remote MCP tools through plugins. OpenAI: Codex and the Model Context Protocol

    learn.chatgpt.com · checked 2026-10-31
  • Shopify's Basic plan is $39 a month billed monthly, with an online card rate of 2.9% + 30¢ on Shopify Payments. Shopify: Pricing

    www.shopify.com · checked 2026-10-31

last reviewed 2026-10-31 · corrections: Flint Help

FAQ

Questions sellers ask before they start.

Can AI build an online store for me?

Yes, with Flint behind it. Connect Claude, Cursor, Codex, or the ChatGPT desktop app to Flint's MCP server, and your AI adds products to your catalog, makes payment links, and can write a storefront that creates orders and sends buyers to Flint's hosted checkout. Flint runs the checkout, the receipts, refunds, the buyer account, and payouts. You verify your business and decide when it goes live.

Can ChatGPT set up payments for my online store?

The ChatGPT desktop app can. It shares Codex's MCP settings, which start local servers, so add Flint with codex mcp add flint -- flint mcp serve or under Settings, MCP servers. ChatGPT on the web reaches MCP tools only through hosted plugins, so it can't run the Flint server on your computer. There it can still read Flint's docs and write storefront code, and you can make payment links by hand in the Flint dashboard.

Can Claude set up my online store?

Yes. Claude Desktop and Claude Code both run local MCP servers. Add flint mcp serve to Claude Desktop's config file from Settings, Developer, Edit Config, or run claude mcp add flint -- flint mcp serve for Claude Code. Claude can then create products, payment links, checkout pages, and refunds in your sandbox, and in live mode once you allow it.

Do I need to know how to code to sell online with AI?

Not for payment links. Installing the Flint CLI and signing in takes two terminal commands, and from then on you ask in plain words. You can also make links by hand in the dashboard. A full storefront is code, which a coding agent such as Claude Code, Cursor, or Codex writes for you.

Is it safe to give an AI access to my payments account?

Flint's MCP server is built for it. It starts in your sandbox, refuses live data unless you restart it with --allow-live, and makes the AI acknowledge every live call. Refunds and other sensitive actions in live mode wait for your confirmation. You sign in from your own terminal and the credential stays in your OS keychain, so it never passes through the chat.

What does the AI still need me to do?

Enter the code Flint emails you at sign-up, verify your business and bank account in the dashboard, connect automatic tax if you collect sales tax, allow live access when you're ready, and confirm refunds in live mode. Flint onboards US businesses, and buyers can pay from anywhere.

How much does it cost to sell online with Flint?

3.79% + 35¢ per card payment, with no monthly fee and no setup fee. The sandbox is free. Automatic sales tax adds 0.50% on payments that carry tax, a checkout page on your own domain is $15 a month, and standard payouts to your bank are included. Every rate is on the pricing page.

Is Flint cheaper than Shopify for a small store?

While you're starting out, yes. Flint has no monthly fee, so you pay only when a sale goes through. Shopify's Basic plan is $39 a month billed monthly, with a lower online card rate of 2.9% + 30¢. At $45 a sale, Flint costs less until a store passes about 85 sales a month. Shopify's plan includes a hosted storefront with themes; on Flint, you sell from links or your AI builds the storefront.

Can I add Flint to a site my AI already built?

Yes. With no backend, point the site’s Buy button at a Flint payment link. With a backend, have your agent create the order on the server and send the buyer to a hosted checkout session. The Next.js commerce and AI app builders pages walk through both.