Commerce API
One commerce API, from the cart to the return.
Flint's commerce API puts catalog, carts, promotions, sales tax, inventory, payments, shipping, and returns on one order record, under one API key. Your storefront sends variant IDs and a code. Flint prices the cart, takes the payment, holds the stock, and keeps the order current until the last refund.
3.79% + 35¢ on cards · no monthly fee · free sandbox · no credit card
curl -X POST https://api.withflintpay.com/v1/orders \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: cart-5172" \
-d '{
"line_items": [
{
"type": "variant",
"variant_id": "var_1kmn0aDripper",
"quantity": 2
},
{
"type": "variant",
"variant_id": "var_1kmn0aFilters",
"quantity": 1
}
],
"discounts": [{ "promotion": { "promotion_code": "LAUNCH20" } }],
"tax": {
"enabled": true,
"location": {
"address": { "postal_code": "92618", "country": "US" }
}
},
"inventory_routing_source": {
"type": "policy",
"inventory_allocation_policy_id": "invp_1kmn0aExample"
}
}'Two variants, a code, the buyer's ZIP code, and a routing policy. No prices and no totals: Flint reads the catalog and computes them.
119
resource families under one API key
counted from the OpenAPI spec
746
endpoints in one published spec
counted from the OpenAPI spec
305
event types on one signed webhook stream
counted from the event catalog
01One order
8 services to keep in sync, or one order.
A composable backend gives each job to a different service, each with its own credentials, its own webhooks, and its own copy of the customer, and your team writes the code that keeps them agreeing. On Flint each job is a field or a call on the same order, so that code never exists.
A composable backend
Cart
Cart service
cart copied into an order at checkout
Catalog and pricing
Product catalog
prices synced into the cart
Promotions
Promotions engine
discounts passed to the cart and to tax
Sales tax
Tax service
called with totals another service computed
Inventory
Inventory service
holds released by your own timers
Payments
Payment provider
payment status copied back onto the order
Shipping
Shipping app
tracking numbers copied into emails
Returns
Returns app
refunds and restocks matched by hand
8 services · 8 sets of credentials · 8 integrations to build and run
The same store on Flint
Cart
line_itemsPOST /v1/ordersCatalog and pricing
variant_idPOST /v1/productsPromotions
discountsPOST /v1/promotionsSales tax
pricing_amounts.tax_moneyPATCH /v1/orders/{order_id}Inventory
inventory_reservation_idPOST /v1/inventory-allocation-policiesPayments
settlement_amountsPOST /v1/checkout-sessionsShipping
fulfillmentsPOST /v1/packagesReturns
refund_statusPOST /v1/returns
1 record · 1 API key · 1 webhook stream · 1 customer
API reference: Orders · Products · Promotions · Inventory · Checkout sessions · Fulfillment · Returns · Refunds
02End to end
One order, from the catalog to a refunded return.
8 steps take Cedar & Stone's order for two ceramic drippers and a box of filters from the catalog to a returned dripper. Every response is the same order, updated.
Load the catalog
POST /v1/productsA product carries its variants, each with a price, a SKU, a tax category, and an inventory item created in the same write. Options name the variants, and categories group them for promotions and return rules.
A dripper in two colorscurl -X POST https://api.withflintpay.com/v1/products \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Idempotency-Key: product-dripper" \ -d '{ "name": "Ceramic dripper", "product_type": "physical", "category_handles": ["brewing-gear"], "options": [ { "name": "Color", "values": [{ "value": "White" }, { "value": "Charcoal" }] } ], "variants": [ { "name": "White", "sku": "DRIP-WHT", "unit_price_money": { "amount": 2500, "currency": "USD" }, "line_item_tax_category": "physical_goods", "selected_options": [ { "option_name": "Color", "value": "White" } ], "inventory_item": { "name": "Ceramic dripper, white", "sku": "DRIP-WHT" } }, { "name": "Charcoal", "sku": "DRIP-CHR", "unit_price_money": { "amount": 2500, "currency": "USD" }, "line_item_tax_category": "physical_goods", "selected_options": [ { "option_name": "Color", "value": "Charcoal" } ], "inventory_item": { "name": "Ceramic dripper, charcoal", "sku": "DRIP-CHR" } } ] }'Flint never generates variants from options, so every variant you sell is listed, and a SKU is unique across the catalog.
Modifiers
Gift wrap, an engraving, a grind size: choices with their own price, and the minimum and maximum a buyer must pick. Flint prices them on the line.
- POST /v1/modifier-sets
- unit_price_delta_money
- min_selected
- max_selected
Bundles
Several variants sold as one line at one price, with each component still counting against its own stock.
- POST /v1/bundles
- components
- bundle_id
Lookups
Find a variant by SKU, filter by category, and keep your own IDs on every record. The catalog guide builds a full menu.
- GET /v1/products?sku={sku}
- POST /v1/categories
- inventory_item_id
Create the order. It is the cart.
POST /v1/ordersCreate the order when the buyer adds a first item, and keep changing it until they pay. The request carries variant IDs and a code, never a price. Flint reprices on every change, and the response separates what the order costs from what has been paid.
201 Created{ "data": { "order_id": "ord_1kmn0aExample", "status": "open", "payment_status": "unpaid", "fulfillment_status": "not_fulfilled", "pricing_amounts": { "subtotal_money": { "amount": 6000, "currency": "USD" }, "discount_money": { "amount": 1200, "currency": "USD" }, "tax_money": { "amount": 372, "currency": "USD" }, "total_money": { "amount": 5172, "currency": "USD" } }, "settlement_amounts": { "paid_money": { "amount": 0, "currency": "USD" }, "outstanding_money": { "amount": 5172, "currency": "USD" } } } }What POST /v1/orders returns for two drippers, a box of filters, and LAUNCH20. pricing_amounts is the price and settlement_amounts is the money, so your storefront renders both and computes neither.
Add, change, or remove lines while the order is open. Every write returns the repriced order.
POST /v1/orders/{order_id}/line-itemsLine items name a variant or a bundle, and Flint copies the name, price, SKU, and tax settings from the catalog.
variant_idYour own cart ID rides along and filters the order list.
external_reference_idEvery change lands in one history that support reads in the dashboard.
GET /v1/orders/{order_id}/activitiesRun the promotion
POST /v1/promotionsPromotions are part of order pricing: percent off, amount off, or buy X get Y, unlocked by a code or applied automatically, with rules on the order, the customer, or single lines. Every change to the order ranks the offers again, and you decide which ones stack.
POST /v1/promotionscurl -X POST https://api.withflintpay.com/v1/promotions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Idempotency-Key: promo-launch-20" \ -d '{ "name": "Launch promotion", "display_name": "20% off your order", "redemption_type": "code", "discount_class": "order", "application_method": { "type": "percent_off", "percent_off": 20 }, "exclusivity": { "group": "launch" }, "codes": [{ "code": "LAUNCH20", "max_uses": 500 }] }'LAUNCH20 with a 500-use cap, in one create. Set redemption_type to automatic and it applies with no code at all.
app.withflintpay.com/promotions
Promotions in the dashboard, with live usage counts. Marketing starts and stops campaigns there without a deploy. - eligibility_rules
- combines_with
- exclusivity
- gap_money
- max_uses
Tax the discounted price
tax.locationTurn on automatic tax and Flint rates US sales tax from the buyer's ZIP code, then from the delivery address once checkout has one. Each line is taxed on its price after discounts, so the order never charges tax on money the promotion took off.
pricing_amounts tax on the subtotal the Flint order Subtotalsubtotal_money $60.00 $60.00 20% off your orderdiscount_money $12.00 $12.00 Taxable $60.00 $48.00 Tax at 7.75%tax_money $4.65 $3.72 Totaltotal_money $52.65 $51.72 Taxing the subtotal before the promotion lands charges the buyer $0.93 of tax on $12.00 they never paid. The right column is what the order returns. Automatic tax rates US sales tax from the delivery address, or from a ZIP code before the buyer gives one.
tax.locationEach line item carries its own tax, on its price after discounts.
tax_moneyRefund a line item and its share of the tax comes back with it.
POST /v1/refundsAlready run a tax engine? Send its rates per jurisdiction and Flint applies, rounds, and records each row.
tax.tax_breakdownsEvery calculation and every refund reversal exports to CSV for filing.
tax_transactions_itemized_v1The sales tax guide covers tax locations, categories, and refunds.
Route the stock
POST /v1/inventory-allocation-policiesStock lives at locations, and an allocation policy ranks them and decides when an order may split. Paying the order holds the stock, commits it when the payment succeeds, and releases it when the payment fails. If nothing can fill the order, the payment fails before any money moves.
Oakland first, then Brooklyncurl -X POST \ https://api.withflintpay.com/v1/inventory-allocation-policies \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Idempotency-Key: routing-us-retail" \ -d '{ "name": "US routing", "status": "active", "configuration": { "location_groups": [ { "location_id": "loc_1kmn0aOakland", "group_priority": 1 }, { "location_id": "loc_1kmn0aBrooklyn", "group_priority": 2 } ], "within_group_order": "location_id_ascending", "splitting_behavior": "split_when_required" } }'Routing is deterministic: one location takes the whole order when it can, and the order splits only when none can.
app.withflintpay.com/inventoryOne inventory item at two locations. Held stock belongs to orders being paid, committed stock is paid and waiting to ship, and available is what you can still sell. You record what happened; Flint derives the numbers. Two variants can sell from one stock pool by pointing at the same inventory item.
inventory_item_idRunning your own cart? Hold stock for up to 15 minutes, then commit it when you are paid.
POST /v1/inventory-reservationsA WMS or ERP posts its counts, and a sequence number keeps a late feed from overwriting a newer one.
POST /v1/inventory-adjustmentsCounts and transfers between locations are records of their own, with a ledger behind every level.
POST /v1/inventory-transfers- on_hand_quantity
- held_quantity
- committed_quantity
- available_quantity
- safety_stock_quantity
Take the payment
POST /v1/checkout-sessionsSend the buyer to a hosted checkout for the order. It collects the address and the delivery choice, adds shipping and the tax on it, and offers wallets and cards. Stripe processes the card and the payment settles on the order, with no processor account for you to open.
POST /v1/checkout-sessionscurl -X POST https://api.withflintpay.com/v1/checkout-sessions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Idempotency-Key: checkout-5172" \ -d '{ "type": "order", "order_id": "ord_1kmn0aExample", "delivery_method_ids": ["dmet_1kmn0aStandard"], "redirects": { "success_url": "https://cedarandstone.example/thanks", "cancel_url": "https://cedarandstone.example/cart" } }'The response carries the checkout URL. Shipping is free here because the delivery method prices orders of $50 or more at $0.
Your own checkout page instead: a headless session, with Stripe Elements on your domain.
POST /v1/orders/{order_id}/payA payment link sells from a URL and opens a new order for every buyer.
POST /v1/payment-linksAn invoice adds a due date and reminders, and settles on the order it bills.
POST /v1/invoicesPayouts reach your bank, each tied to the payments inside it.
GET /v1/payoutsHosted checkout for the same order: the code applied, shipping and tax added, wallets and cards ready. Ship it
POST /v1/packages/{package_id}/mark-shippedWhen the order is paid, Flint opens a fulfillment from the buyer's delivery choice, split by stock location when it has to be. You report the box, its tracking number, and when it leaves. Flint moves the order's fulfillment status, takes the stock off the shelf, and emails the buyer the tracking link.
From your warehouse or shipping software# Flint opened ful_1kmn0aExample when the order was paid. # 1. the carrier leg curl -X POST \ https://api.withflintpay.com/v1/shipments \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "direction": "outbound", "fulfillment_id": "ful_1kmn0aExample", "external_system": "merchant-wms", "external_reference_id": "oak-5172" }' # 2. the box and its tracking number curl -X POST \ https://api.withflintpay.com/v1/packages \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "shipment_id": "shp_1kmn0aExample", "status": "created", "carrier": "ups", "tracking_number": "1Z999AA10123456784", "tracking_url": "https://www.ups.com/track?tracknum=1Z999AA10123456784" }' # 3. what went in it, once per line curl -X POST \ https://api.withflintpay.com/v1/packages/pkg_1kmn0aExample/items \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "order_line_item_id": "li_1kmn0aDripper", "quantity": 2 }' # 4. it left the building, and the buyer gets the shipped email curl -X POST \ https://api.withflintpay.com/v1/packages/pkg_1kmn0aExample/mark-shipped \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'Labels come from your carrier or shipping software. Pickup, local delivery, digital, and service fulfillments use the same record with their own steps.
app.withflintpay.com/fulfillmentThe fulfillment after the box leaves. Dispatch takes the units off the Oakland shelf, and the buyer's shipped email carries the tracking link. Take the return
POST /v1/returns/{return_id}/processA return belongs to the order. One call records the decision, the receipt, where the unit landed, and the refund, and Flint computes the refund from what the buyer paid: the dripper's price, less its share of the discount, plus its tax.
POST /v1/returns# the buyer sends one dripper back curl -X POST https://api.withflintpay.com/v1/returns \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Idempotency-Key: return-5172-1" \ -d '{ "order_id": "ord_1kmn0aExample", "line_items": [ { "order_line_item_id": "li_1kmn0aDripper", "requested_quantity": 1, "return_reason_id": "rrsn_1kmn0aExample" } ] }'A return names the order line it came from. Return policies can approve it on their own, or leave it for a person.
app.withflintpay.com/ordersThe whole life of the order on one record. Every row is a call on the same API and a change to the same order.
Events along the way, on one signed stream
- order.paid
- inventory_reservation.committed
- fulfillment.completed
- return.completed
- order.partially_refunded
The guides go deeper on each step: promotions, inventory, fulfillment and shipping, and returns. For a store that ships physical goods, the ecommerce API covers checkout, stock, and returns from the buyer’s side, returns covers the return portal and policies, and pre-orders and backorders covers selling before the stock arrives.
03Also on the order
Everything else reads and writes the same record.
Shipping rates, return rules, recurring orders, invoices, gift cards, and the buyer's account are resources on the same API. None of them is a separate service to wire in, and each one lands on an order your storefront already reads.
Delivery methods
Flat, tiered, and regional rates, free shipping over an amount, store pickup, and local delivery. Price from your own server with a signed rate callback. Delivery options
- POST /v1/delivery-methods
- POST /v1/delivery-rate-callbacks
Return policies
Windows that start at delivery, final-sale items, restocking fees, who pays return shipping, and approval with no one in the loop.
- POST /v1/return-policies
- return_window
- restocking_fee
Exchanges and replacements
A return resolves as a refund, an exchange for another variant with the difference settled either way, or a replacement with no money moving.
- resolution_type
- replacement_line_items
Subscriptions
Every renewal is an order. Flint charges the saved card, retries a failed payment, and gives a physical renewal its address, shipping, and fulfillment. Subscriptions
- POST /v1/subscriptions
- subscription_id
Invoices
Due dates, reminders, and a hosted page the buyer pays on, settling into the order the invoice bills. Invoices
- POST /v1/invoices
- invoice.paid
Gift cards
Sell gift cards as catalog products, and let buyers apply up to 20 to one order. Gift cards
- POST /v1/orders/{order_id}/gift-cards
Buyer accounts
Order history, tracking, returns, and subscriptions in a hosted account, or in your own app through the buyer’s session. Customer accounts
- GET /v1/me/orders
- POST /v1/me/returns
Reports
Versioned CSV exports of orders, payments, payouts, balance transactions, and tax, created and downloaded with your API key.
- POST /v1/reports
- orders_itemized_v2
Webhooks
305 event types, signed with a Flint JWT you verify with public keys and retried for about three days until your server answers. Webhooks
- POST /v1/webhook-endpoints
- webhook_event_id
04The back office
Your team gets a dashboard you did not build.
Every record your storefront writes is already a screen in the Flint dashboard: orders with their payments, refunds, and activity, plus returns, inventory, fulfillment, promotions, and payouts. Operations works there from the first order, and the admin panel leaves your roadmap.

Orders, returns, inventory, fulfillment, promotions, and payment links are dashboard screens on day one.
app.withflintpay.comEvery movement of your balance carries its fee, its net, and the order it belongs to.
GET /v1/balance-transactionsBuyers track orders, start returns, and manage subscriptions in a hosted account.
account.withflintpay.com05For developers
Plain HTTP, typed SDKs, and webhooks on localhost.
JSON over HTTPS with one API key. Official Node and PHP SDKs are generated from the same spec as the reference, and the CLI streams sandbox events to localhost with real signatures, so the handler you test is the one you ship.
Node SDK
CLI
Sandbox webhooks, forwarded to localhost
Flint's commands as tools in Claude Code
Writes take an idempotency key, so a retry after a timeout runs the operation once.
Idempotency-KeyTest keys run against isolated sandboxes on the same hostname, so test code and live code are the same code.
Flint-Sandbox-IdThe API has dated versions, and each stays supported for at least 24 months after its successor.
Flint-VersionEvery webhook carries an ID to deduplicate on and a Flint-signed JWT you verify with public keys, so there is no shared secret to store.
webhook-idOver a rate limit, a request fails fast with a 429 that says when to try again.
Retry-AfterAgents get up to 634 Flint commands over MCP, each flagged for writes and sensitive actions.
flint mcp serve06Pricing
Priced per payment, with no monthly fee.
Cedar & Stone’s $51.72 order cost $2.31 to process and $0.26 for automatic tax. The catalog, orders, promotions, inventory, shipping, returns, and dashboard have no separate fee. Every rate is on the pricing page.
Core payments
No monthly fee3.79% + 35¢
Per successful card or wallet payment
- ACH 1.00%, $1 minimum, no cap
- Affirm 6.99% + 30¢ on purchases from $50 to $30,000
- Orders, catalog, discounts, fulfillment, returns and buyer portal
- 20 orders paid outside Flint a month, plus 1 for every $1,000 collected through Flint, then $1 each
- Unlimited sandbox testing and seats
Add what you use
Payment-time fees are collected with processing. Custom domains are billed monthly.
- Invoices and subscriptions
- 0.40% of collected payments
- Automatic tax
- 0.50% of payments where Flint collects tax
- Custom domain
- $15/month per business
07Compared
Flint beside commercetools, Medusa, and Shopify.
All four put a commerce backend behind a storefront you build. On Flint, payments and US sales tax are part of the same API, priced per payment, with no plan to pick, no payment connector to install, and no servers to run.
| Commerce backend | Payments | US sales tax | Published price |
|---|---|---|---|
| FlintA hosted commerce API with the payment inside | Payments: Built in. Stripe processes every card, and each payment settles on the order. | Sales tax: Automatic US sales tax on every line, or rates from your own tax engine. | Price: 3.79% + 35¢ per card payment, no monthly fee. Automatic tax 0.50% where Flint collects it. |
| commercetoolsComposable commerce for many catalogs, channels, and storefronts | Payments: Checkout needs at least one connector, such as Adyen, PayPal, or Stripe, or one you build. | Sales tax: Rates from tax categories matched on country and state, or rates and amounts you supply. | Price: Not published. Order-based pricing, quoted by sales. |
| MedusaAn open-source commerce framework, self-hosted or on Medusa Cloud | Payments: A Stripe provider you configure with your own Stripe secret key and webhook secret. | Sales tax: A placeholder provider for basic calculation; other providers are modules, such as Avalara. | Price: Medusa Cloud from $29 a month, with a 0% GMV fee. Card fees are on your own Stripe account. |
| ShopifyShopify's catalog and admin behind your storefront, through the Storefront API | Payments: The cart's checkoutUrl sends buyers through Shopify's web checkout. A third-party payment provider adds a 2% to 0.2% fee by plan. | Sales tax: Shopify Tax: free to $100,000 in US sales, then 0.35% per order, capped at $0.99. | Price: Plans from $39 a month (Basic, billed monthly) to $2,300 or more (Plus). |
Side by side in full: commercetools alternatives · Flint vs Medusa · Flint vs Shopify · headless commerce platforms, ranked
08Start
Run one order end to end in the sandbox.
Node SDK
CLI
Create a product, put its variant on an order with a code, and pay it at hosted checkout with 4242 4242 4242 4242 and any future expiry. Ship it with a test tracking number, then return one unit and watch the refund land on the same order. The sandbox is free, with no credit card.
Then read these, in order
- 01Build a headless storefrontYour checkout, your account, or Flint's
- 02
- 03
- 04
- 05
- 06
- 07
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.
No published prices; order-based pricing with unlimited catalogs, channels, and storefronts; add-ons such as Checkout; pricing through sales. commercetools: Pricing
commercetools.com · checked 2026-10-23Before setting up a Checkout application you must install at least one Connector; public connectors include Adyen, PayPal, and Stripe, or you build your own. commercetools docs: Checkout overview
docs.commercetools.com · checked 2026-10-23Platform tax mode takes the rate from the tax category on products and shipping methods, matched exactly on country and state; External and ExternalAmount modes take rates or amounts you supply. commercetools docs: Carts and orders overview
docs.commercetools.com · checked 2026-10-23Medusa Cloud Develop from $29 a month, Launch from $99, Scale from $299, Enterprise custom; 0% GMV platform fee. Medusa pricing
medusajs.com · checked 2026-10-23The Stripe provider takes a Stripe secret API key and a webhook secret, is enabled per region, and receives Stripe webhooks at a route on your Medusa server. Medusa docs: Stripe Module Provider
docs.medusajs.com · checked 2026-10-23The system tax provider acts as a placeholder and performs basic tax calculation; other providers, such as Avalara, implement the tax provider interface as modules. Medusa docs: Tax Module Provider
docs.medusajs.com · checked 2026-10-23The cart's checkoutUrl redirects customers through Shopify's web checkout. Shopify developer docs: Manage a cart
shopify.dev · checked 2026-10-23Billed monthly: Basic $39, Grow $105, Advanced $399, Plus from $2,300; third-party payment provider transaction fees of 2%, 1%, 0.6%, and 0.2%. Shopify pricing (US)
www.shopify.com · checked 2026-10-23Free until a US store reaches $100,000 in sales, then 0.35% per transaction on Basic, Grow, and Advanced, capped at $0.99 an order. Shopify Help Center: Shopify Tax pricing
help.shopify.com · checked 2026-10-23
last reviewed 2026-10-23 · corrections: Flint Help
FAQ
Questions developers ask about the commerce API.
What is a commerce API?
A commerce API is the backend of a store, called over HTTP: the catalog, the cart, pricing and promotions, sales tax, inventory, payments, shipping, and returns, with a storefront you build in front of it. Flint's commerce API keeps all of them on one order record under one API key, and Stripe processes the payments underneath, so there is no separate payment provider to connect.
Does Flint have a cart API?
The order is the cart. Create an order when the buyer adds a first item, then add and remove line items, apply codes, and set the delivery address while it is open. Flint reprices the order on every change. The buyer pays that same order through hosted checkout, your own checkout page, or an invoice, so nothing is converted at checkout.
Is Flint a headless commerce platform?
Yes. Flint is hosted, and you build the storefront in any framework. Your server calls the API with your key: Flint has no publishable key, so the browser never calls it directly. Hosted checkout and a hosted buyer account work on day one, and you can replace either with pages of your own. Flint serves businesses in the United States, and buyers can pay from anywhere. Build a headless storefront covers each combination.
Does Flint handle order management and fulfillment?
Yes. When an order is paid, Flint opens a fulfillment from the buyer's delivery choice, split by stock location where needed. You record shipments, packages, and tracking numbers from your warehouse or shipping software, and Flint keeps the order's fulfillment status, the stock ledger, and the buyer's shipping emails in step. Pickup, local delivery, digital, and service fulfillments work the same way. Labels come from your carrier or shipping software.
Can Flint track inventory across multiple locations?
Yes. Stock is tracked per location, and an allocation policy ranks locations and decides whether an order may split between them. Paying an order holds the stock, commits it when the payment succeeds, and releases it when the payment fails, so you never write a job that cleans up abandoned holds. Two variants can share one stock pool, and a WMS or ERP can post its own counts.
How do returns and refunds work?
A return belongs to the order it came from and tracks the decision, the merchandise, and what the buyer is owed separately. It resolves as a refund, an exchange, or a replacement. Return policies set windows, final-sale items, restocking fees, and who pays return shipping. When the unit arrives, one call can record it, put it back on sale, and refund the buyer, and Flint computes the refund from the price paid, the line's share of the discount, and its tax.
Does Flint calculate sales tax?
Yes. With automatic tax on, Flint calculates US sales tax for each line item from the buyer’s location, on the price after discounts, through a tax connection you set up once in the dashboard. Refunds reverse the tax with the line. If you run your own tax engine, send its rates per jurisdiction in external mode and Flint applies and records them. Flint calculates and reports tax; registering and filing stay with you. The sales tax guide covers both modes.
Do I need a separate payment processor?
No. Payments are part of the API: hosted checkout, your own checkout page, payment links, and invoices all settle on Flint orders. Stripe processes every card underneath, and Flint's processing fee covers it, so there is no processor account to open and no second bill.
How much does Flint cost?
Cards cost 3.79% + 35¢, with no monthly fee. ACH costs 1.00%, $1 minimum, no cap. Invoices and subscriptions add 0.40% of the payments they collect, and automatic tax adds 0.50% of payments where Flint collects tax. Orders, catalog, promotions, inventory, fulfillment, returns, and the dashboard have no separate fee, and the sandbox is free with no credit card. Every fee is on the pricing page.
How does Flint compare with commercetools, Medusa, and Shopify?
Flint is hosted, with payments, automatic US sales tax, inventory, fulfillment, and returns in the same API, priced per payment with no monthly fee. commercetools prices by quote, and its checkout needs a payment connector such as Adyen, PayPal, or Stripe. Medusa is a framework you host or run on Medusa Cloud, with a Stripe provider you configure with your own Stripe account. Shopify’s Storefront API sends buyers through Shopify’s web checkout, on a Shopify plan from $39 a month. See commercetools alternatives, Flint vs Medusa, and Flint vs Shopify.
Which languages and tools can I use?
Any language that speaks HTTPS and JSON. Flint publishes official SDKs for Node and PHP, generated from the same spec as the API reference, a CLI that forwards sandbox webhooks to localhost with real signatures, and an MCP server that gives AI agents the same commands.
Start with one order.
Free sandbox, no credit card. The catalog, promotions, tax, inventory, checkout, shipping, returns, and dashboard all come with the same key.
Or run npm install -g @flintpay/cli && flint signup to create your account and a sandbox key from the terminal. CLI guide

