Order-First Payment APIs

The Payment Stack for Orders, the Future of Commerce

Stop building your business around payments. Flint centers your world on Orders — the way commerce actually works. Manage the entire lifecycle from cart to fulfillment in one unified system, without gluing together fragmented payment intents.

No setup fees
Free sandbox
5 min integration
AI ready
order.ts
const order = await flint.orders.create({
  customer: "sarah@example.com",
  line_items: [
    {
      name: "Organic Coffee Beans",
      sku: "COFFEE-001",
      quantity: 2,
      unit_price: 1999
    }
  ],
  discounts: [{...}],
  fulfillment: [{...}]
})

// ✨ Total, Tax, & Shipping calculated automatically
// ✨ Payment, Refund, & Fulfillment state all in one
Status
Order Created

Trusted by forward-thinking commerce companies

GlobalPay
SwiftCart
DataFlow
DashCo
The Old Way

Why Payment-First APIs Fail

Traditional processors like Stripe focus on moving money. But commerce is about moving products. When you treat payments as the source of truth, you end up with a mess of reconciliation, tax nightmares, and fragmented data.

Spaghetti Code

Managing order state across checkout, webhooks, and your database is error-prone.

Legacy Payment-First APIs

Not built for modern commerce. Impossible to handle order concepts like multiple payments and fulfillments without extra complexity.

Reconciliation Hell

'Why doesn't the stripe charge match the cart total?' Be prepared to answer this daily.

Manual Calculations

Writing your own tax and discount logic? Hope you enjoy maintaining it forever.

Don't build a legacy platform

The industry is moving from raw payment processing to Order-Centric architectures. See what you miss when you stick to the old model.

THE OLD WAY

Payment-First (e.g. Stripe)

You start with a transaction. Then you have to manually link it to items, calculate tax yourself, and hope the totals match your database.

  • Disconnect between money and merchandise
  • "Dumb" charges with no line-item context
  • Reconciliation is a manual, error-prone nightmare
  • Impossible for AI to reason about (just numbers)
THE FLINT WAY

Order-First (Flint)

You start with an Order. Payments, fulfillment, and tax are just states of that order. Everything remains synchronized automatically.

  • Unified source of truth for Cart, Payment, & Fulfillment
  • Rich context: Items, Tax, Shipping, & Metadata
  • Automatic reconciliation (Totals always match)
  • Perfect for AI (Structured, semantic data)

Everything you need to
run a platform

A complete commerce suite. From checkout to payouts, we've got you covered.

Developer First

Typed SDKs, webhooks, and sandbox environments. Built for builders.

Unified Payments

Accept cards, wallets, and bank transfers with a single API.

Merchant Dashboard

Give your users a beautiful dashboard to manage their business.

Payment Links

No-code checkout pages. Generate a link, share it, get paid.

Built for AI Agents

Unified state and predictable transitions allow AI agents to autonomously manage orders, refunds, and fulfillment.

Instant Payouts

Get funds to your sellers faster with instant payout options.

Developer Experience

APIs that feel like
magic

Predictable, typed, and context-rich. Perfect for human developers and AI coding agents alike.

Create an Order

Start a transaction with line items

Start Checkout

Redirect user to payment page

Manage Customers

Save details for later

create-order.ts
const order = await flint.orders.create({
  line_items: [
    {
      name: "Premium Widget",
      amount: 2999,
      currency: "USD"
    }
  ],
  customer: "cus_123"
})

Ready to ship?

Join the next generation of companies building on Flint. Get your API keys in seconds.