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
Simple Yet Powerful

How It Works

Three simple steps. Zero complexity.

01

Create an Order

Define your products, quantities, and customer details. Add discounts, shipping, and tax rules—all in one unified object.

const result = await flint.orders.create()
02

Customer Pays

Your customer completes payment through our hosted checkout or your own UI. We handle card processing, wallets, and bank transfers.

const result = await flint.checkout.create()
03

Track & Fulfill

Manage the entire lifecycle: payments, refunds, partial fulfillments, and shipping—all synchronized automatically in one place.

const result = await flint.order.fulfill()

No credit card required • 5 minute setup

The Old Way

Why Payment-First APIs Fail

Traditional payment processors 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 payment 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.

Build Payment-First Order-First Platforms

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 (Legacy Processors)

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

Intuitive APIs that developers love. Perfect for humans and AI 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 experience the difference?

Simple, Transparent Pricing

Start Free, Scale as You Grow

No setup fees, no monthly minimums. Only pay for what you use.

Starter

Perfect for side projects and testing

Free
forever
  • Up to 100 orders/month
  • All API features
  • Sandbox environment
  • Email support
  • Standard checkout
  • Basic analytics
Most Popular

Growth

For growing businesses

2.9%
+ 30¢ per transaction
  • Unlimited orders
  • All API features
  • Custom branding
  • Priority support
  • Advanced analytics
  • Webhook retries
  • Multi-currency
  • Tax automation

Enterprise

For high-volume platforms

Custom
volume pricing
  • Everything in Growth
  • Custom fee structure
  • Dedicated account manager
  • 24/7 phone support
  • SLA guarantee
  • Custom integrations
  • Advanced security
  • Compliance assistance
No setup fees
Cancel anytime
Free migration support

All plans include fraud detection, PCI compliance, and automatic updates

5 Minute Setup

Start Building the Future
of Commerce Today

Join forward-thinking companies shipping order-first platforms. Get your API keys instantly and start processing orders in minutes.

No credit card required
Free sandbox forever
Production ready in minutes