Flint Checkout
A hosted checkout page that ends in a paid order.
Flint Checkout opens a payment page for any order with one API call. Buyers pay by card, Apple Pay, Google Pay, ACH debit, or Affirm, and add tips, promo codes, gift cards, and shipping or pickup on the same page, under your business name. When they pay, Flint closes the order with tax, the receipt, and refunds already on it, and sends your server an order.paid webhook.
5
ways to pay on one page
published payment-option catalog
3.79% + 35¢
per card or wallet payment, with no monthly fee
published rate card
$15/month
puts checkout on your own domain
custom domain add-on
01Ways to pay
Every way your buyers pay, on one page.
Wallets sit above the form, cards and ACH debit below it, and Affirm appears on eligible orders. Each method is offered only where it can finish, and each is priced on the same published rate card.
| Method | At checkout | Price per payment |
|---|---|---|
| Apple Pay and Google Pay | Above the form, so a buyer on a phone pays without typing a card number. On an order that ships, the wallet sheet collects the address and the delivery option. | Price: 3.79% + 35¢ |
| Cards | Card fields rendered by Stripe, with an unchecked option to save details for faster checkout at your store. 3D Secure runs inside the checkout. | Price: 3.79% + 35¢ |
| ACH debit | Instant bank verification and the debit authorization in the checkout, up to $50,000 per checkout session. The buyer sees a processing receipt, and the debit settles in a few business days. ACH debit guide | Price: 1.00%, $1 minimum, no cap |
| Affirm | Pay over time on eligible orders from $50 to $30,000, once you turn it on. Flint runs the redirect to Affirm and the return. Affirm guide | Price: 6.99% + 30¢ |
International cards add 1.50%. Each instant bank verification is $1.50. Pricing lists every fee.
Offered only where it can finish
ACH debit is left off an order with stock-tracked items or an amount out of range, and Affirm appears only on eligible orders, so no buyer picks a method that fails at the last step.
- payments.enabled_payment_options
Saved cards for customers you know
Create the session for a customer and checkout offers the cards they saved at your store. A returning buyer who types their email gets a code that opens the cards they saved.
- customer_id
A payment mid-challenge gets to finish
A buyer still on a 3D Secure screen when the session reaches its deadline isn't cut off. The session stays usable for that one payment, and becomes paid if it succeeds.
- is_in_recovery
- recovery_expires_at
02Recover the sale
A way back for buyers who leave.
Turn on checkout reminders and a buyer who typed their email and left without paying gets one email with their cart, their total, and a link back to checkout. You pick the wait, from 15 minutes to 24 hours, and Flint checks again before sending, so nobody who paid gets one.
curl -X PATCH https://api.withflintpay.com/v1/settings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"checkout": {
"recovery_email": { "enabled": true, "delay_seconds": 3600 }
}
}'Off by default. delay_seconds runs from the buyer's last change to their email or phone, 60 minutes unless you set it.
An expired checkout comes back. The link works for 7 days. If the checkout expired while the order is still unpaid, the link opens a new checkout for the same order.
It waits for a payment in flight. While a card is on 3D Secure or a bank debit is settling, the reminder holds, and it goes out only if that payment fails.
One per checkout, one a day per buyer. A buyer gets at most one reminder from your store per day, and the unsubscribe link stops reminders from your store only. Receipts keep arriving.
Details that survive a reload
The email and phone a buyer types are saved on the session as they go, so a reload starts filled in and a reminder knows where to go.
- buyer_contact
Ask only what fulfillment needs
Email, phone, and billing address are each required or not, with address suggestions as the buyer types and prefill for a customer you already know.
- buyer_fields.require_phone
- prefill
A clock only at the end
In a checkout's last ten minutes the header counts down, so a buyer racing a quote knows. Before that, nothing in the checkout hurries anyone.
- expires_at
03The cart
Tips, codes, gift cards, and delivery, priced by the order.
Whatever the buyer changes at checkout lands on the order before payment, and Flint reprices it there. The pay button shows what the order says is due, so the amount the buyer approves is the amount that settles and the amount in your reports.
| ord_1kmn0aExample | opened | code applied | |
|---|---|---|---|
| Subtotalpricing_amounts.subtotal_money | $49.00 | $49.00 | |
| SPRING10, typed at checkoutpricing_amounts.discount_money | $0.00 | -$4.90 | |
| Tax at 8.25%, on the discounted amountpricing_amounts.tax_money | $4.04 | $3.64 | |
| Total duepricing_amounts.total_money | $53.04 | $47.74 | |
What the buyer keeps: the same order, code, and tax, printed from the record rather than from the screen.
Tips
Three percentages, or three fixed amounts for small orders, plus a custom tip. The tip is collected with the payment and recorded on the order. Tips at checkout
- tip.tip_percent_options
- tip.smart_tip_money_options
Codes that stack
More than one code on an order, up to your limit of 1 to 10 promotions, with automatic promotions as named rows. A code that doesn’t apply says why. Promotions
- promotion_config.codes_enabled
- max_promotions_per_order
Gift cards
Up to 20 of your own gift cards on one order, and one payment for the rest. A card spent on a smaller order keeps its balance. Gift cards
Shipping, pickup, local delivery
Rates by region or order amount, free shipping over a threshold, pickup at the store the buyer picks, and delivery in a time window. Flint adds the charge and its tax. Delivery options · Preorders with local pickup
- delivery_method_ids
Sales tax
Automatic US sales tax on the discounted amount, at 0.50% on payments that carry tax. When the order needs a location, checkout asks for a ZIP code. Sales tax
Subscribe and save
A line covered by a subscribe-and-save offer can switch between one-time and subscribed at checkout, at the offer’s discount. Subscriptions
04Your brand
On Flint's page, your domain, or your own page.
Hosted checkout carries your business name, logo, colors, font, and corner radius from the first order. For $15 a month it opens on a domain of yours. Or render the checkout yourself on a headless session, and Flint still computes the total and takes the payment.
POST /v1/checkout-sessions{
"type": "order",
"order_id": "ord_1kmn0aExample",
"surface": "headless"
}Checkout, payment links, and invoices under your business name. Nothing to build.
Your colors, fonts, and logo, on your domain as an add-on. The buyer account matches.
Your page, with no Flint mark. Stripe renders the card fields, and Flint computes the total and takes the payment.
curl -X POST https://api.withflintpay.com/v1/custom-domains \
-H "Authorization: Bearer YOUR_LIVE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "type": "checkout", "hostname": "pay.cedarandstone.com" }'Publish the two DNS records Flint returns and Flint issues and renews the certificate. Hosted checkout, payment links, and invoice pages open there. Live mode only; sandboxes use Flint's address.
{
"type": "order",
"order_id": "ord_1kmn0aExample",
"theme": { "title": "Cedar & Stone", "accent_color": "#2e6b4f" },
"custom_text": {
"order_summary_message": "Pickup at the Fillmore counter."
},
"legal": {
"terms_of_service_url": "https://example.com/terms",
"require_terms_of_service": true,
"refund_policy_url": "https://example.com/refunds"
}
}Logo, icon, background and text color, font, and corner radius come from your branding settings; a session can retitle the checkout, recolor it, and add its own message and legal links.
Colors that stay readable
Every color pair in the checkout passes a contrast check. A brand color that would fail, such as one that leaves the pay button unreadable, falls back to the default for that one color instead of shipping.
- theme.primary_color
- theme.accent_color
Terms the buyer must accept
Link your terms, refund and shipping policies, and a contract, and require the terms box before payment. Wallets wait for it too.
- legal.require_terms_of_service
Your own page, Flint's rules
With surface set to headless, your backend gets a credential scoped to one session and its order. Stripe Elements renders the card fields in your page, and the browser never calls the Flint API. Build your own checkout
- checkout_auth_token
- page_origin
05Integrate
One call to open it. One webhook to fulfill.
Your backend creates the session when the buyer clicks Pay, sends them to the URL Flint returns, and fulfills when the order is paid. Payment links and invoices open the same sessions, so one webhook handler covers every checkout Flint hosts for you.
Build the order
POST /v1/ordersLine items from your catalog, and the customer if you know them. Flint prices the order: discounts, tax, and the total checkout will show.
curlcurl -X POST https://api.withflintpay.com/v1/orders \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Idempotency-Key: cart-1043" \ -d '{ "customer_id": "cus_1kmn0aExample", "line_items": [ { "type": "variant", "variant_id": "var_1kmn0aCoffee", "quantity": 1 }, { "type": "variant", "variant_id": "var_1kmn0aDripper", "quantity": 1 }, { "type": "variant", "variant_id": "var_1kmn0aFilters", "quantity": 1 } ] }'What a session can sell
order_idA cart your backend built, with its line items, customer, and pricing. Send type order.
quick_pay_itemA name and an amount, such as a quote the buyer just accepted. Flint creates the order. Send type quick_pay.
subscription_plan_idA signup page for a plan. Flint creates the subscription and its first order. Send type subscription_plan.
Open checkout
POST /v1/checkout-sessionsName the order and where the buyer goes after paying or leaving. Every page setting you leave out comes from your dashboard, so a bare create already renders a complete page.
curlcurl -X POST https://api.withflintpay.com/v1/checkout-sessions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Idempotency-Key: checkout-1043" \ -d '{ "type": "order", "order_id": "ord_1kmn0aExample", "redirects": { "success_url": "https://example.com/thanks", "cancel_url": "https://example.com/cart" } }'201 Created{ "data": { "checkout_session_id": "cs_1kmn0aExample", "status": "open", "surface": "hosted", "type": "order", "order_id": "ord_1kmn0aExample", "expires_at": "2026-10-24T17:04:05Z", "url": "https://checkout.withflintpay.com/checkout/cs_1kmn0aExample#checkout_token=..." } }Send the buyer to data.url exactly as returned. The token in its fragment is what opens the checkout.
Fulfill on proof
order.paidFlint adds checkout_session_id and order_id to your success URL so the thank-you page knows what to show. Fulfillment waits for the webhook, or one read of the session with the order expanded, because a buyer can close the tab before the redirect.
curl# the redirect is for the buyer. this is for you. curl "https://api.withflintpay.com/v1/checkout-sessions/cs_1kmn0aExample?expand=order" \ -H "Authorization: Bearer YOUR_API_KEY"200 OK{ "data": { "checkout_session_id": "cs_1kmn0aExample", "status": "paid", "terminal_reason": "payment_succeeded", "payment_intent_ids": ["pi_1kmn0aExample"], "order": { "order_id": "ord_1kmn0aExample", "status": "closed", "payment_status": "paid", "pricing_amounts": { "subtotal_money": { "amount": 4900, "currency": "USD" }, "discount_money": { "amount": 490, "currency": "USD" }, "tax_money": { "amount": 364, "currency": "USD" }, "total_money": { "amount": 4774, "currency": "USD" } } } } }No record to assemble. The order is closed and paid with its totals computed, and refunds, receipts, and reporting work from it.
Events to subscribe to
- order.paid
- checkout_session.paid
- checkout_session.partially_paid
- order.partially_paid
- subscription.created
- checkout_session.expired
- checkout_session.closed
- checkout_session.invalidated
order.paid fires once the order is paid in full, by card or bank, whatever collected it. The three session endings carry the reason, and a replaced session names its successor. Webhooks guide
Checkout sessions, payment links, or invoices? A session is for one buyer paying now, in your app or storefront. A payment link is one URL many buyers share, and an invoice is a bill paid later or in parts. Which one to use compares the three.
06Lifecycle
Every ending has a page, and a reason.
Only an open session takes payment. A buyer who opens a link that has ended sees what happened and how to reach you, never a payment form for a total that no longer exists. Your backend gets the same answer as a field.
- the buyer paid
- some money settled, a balance remains
- the deadline passed
- you closed it
- replaced, paid another way, or the order closed
The checkout is live and takes payment. Every session starts here, and only this state can be paid.
Why it ended, not just that it did
status says a session is over. terminal_reason says what happened, and it is the field your handler branches on: an expired quote and a replaced link are both over and want different follow-ups.
- payment_succeeded
- payment_partially_succeeded
- expired
- closed_by_merchant
- order_mutated
- superseded
- order_paid_elsewhere
- invoice_paid_elsewhere
- invoice_voided
- invoice_uncollectible
- invoice_balance_changed
{
"type": "order",
"order_id": "ord_1kmn0aExample",
"replace_checkout_session_id": "cs_1kmn0aCurrent"
}Atomic. It succeeds only while that id is still the order's open session and no payment is running.
{
"data": {
"checkout_session_id": "cs_1kmn0aCurrent",
"status": "invalidated",
"terminal_reason": "superseded",
"superseding_checkout_session_id": "cs_2bqr7dSuccessor"
}
}Ended, with a pointer to its successor on the read and on the webhook.
One open session per order
Two live pages can never both collect. A second create for the same order returns 409 ALREADY_EXISTS naming the session already open in details[0].current_resource, and the buyer’s page keeps working.
Edit the order while checkout is open
Change line items, discounts, charges, tax, or the tip with your API key and the open session keeps its id and URL while Flint reprices the order. The buyer approves the new total before paying: a payment against a stale total returns ORDER_CHANGED_REFRESH_REQUIRED without charging, and the hosted page shows the update.
While the buyer is mid-payment, edits wait with a retryable PAYMENT_IN_PROGRESS, so nobody’s price changes under them.
Take the order by phone
Pay the order with your API key while its checkout is open, and the session ends as order_paid_elsewhere. The buyer’s page says the order was paid another way.
- replace_checkout_session_id
- current_resource
- superseding_checkout_session_id
- expected_outstanding_money
- expires_in_seconds
- redirects.expired_url
reviewed 2026-10-23 against the checkout sessions guide and the OpenAPI spec · corrections: Flint Help
07Compared
Flint Checkout and Stripe Checkout.
Flint runs card processing on Stripe underneath. The difference is what the hosted page can sell, and what your server still has to build once the buyer has paid.
| What the checkout does | Flint Checkout | Stripe Checkout |
|---|---|---|
| Promotion codes | Flint: More than one code on an order, up to your limit of 1 to 10 promotions (2 by default), alongside automatic promotions | Stripe: Up to one coupon or promotion code per Checkout Session |
| Shipping and pickup | Flint: Rates by region or order amount, free shipping over a threshold, store pickup with a store picker, and local delivery in a time window | Stripe: Fixed-amount shipping rates for the whole order, in payment-mode sessions; address-based rates are a preview feature |
| Tips | Flint: Three percentages or three fixed amounts, plus a custom tip, on the hosted page | Stripe: Tipping through Terminal, on the card reader or the receipt, for in-person payments |
| After the buyer pays | Flint: A closed, paid order with its line items, discounts, tax, and tip, and one order.paid event | Stripe: Your fulfillment function retrieves the session with its line items, and may save them and update stock in your own database |
| Bank debits | Flint: The session stays open until the debit settles, then the same order.paid event a card sends | Stripe: The session completes first, and success arrives later as its own async event |
Stripe Checkout has a full embedded page mode that mounts its checkout inside your site. Flint’s headless session takes the other route: your page is the checkout, Stripe Elements renders the card fields in it, and Flint enforces the total and the session rules from your backend. Embedded payments with Stripe Elements
08Start
Open a test checkout in three calls.
Node
CLI
With a sandbox key, create an order, create a session for it, and open the returned URL. Pay with 4242 4242 4242 4242 and any future expiry, then read the session with expand=order and see the paid order come back with its totals computed. Testing covers declines and 3D Secure. The API reference lists every field.
Then read these
- 01
- 02
- 03
- 04
- 05
- 06
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.
Checkout Sessions currently support up to one coupon or promotion code. Stripe docs: Add discounts
docs.stripe.com · checked 2026-10-23Shipping rates only support fixed amount values for the entire order, and only Checkout Sessions in payment mode support shipping options. Rates that change with the address are a preview feature. Stripe docs: Charge for shipping
docs.stripe.com · checked 2026-10-23Stripe collects tips through Terminal, on the card reader or on the receipt, for in-person payments. Stripe docs: Collect tips
docs.stripe.com · checked 2026-10-23The fulfillment function retrieves the Checkout Session with line_items expanded, checks payment_status, fulfills, and records fulfillment status; it may also save line items to your own database and update inventory. Delayed methods such as ACH send checkout.session.async_payment_succeeded after the session completes. A full embedded page uses ui_mode embedded_page. Stripe docs: Fulfill orders
docs.stripe.com · checked 2026-10-23
last reviewed 2026-10-23 · corrections: Flint Help
FAQ
Questions people ask about Flint Checkout.
What is Flint Checkout?
Flint Checkout is a hosted checkout page for one buyer and one order. Your backend creates it with POST /v1/checkout-sessions and sends the buyer to the URL Flint returns. The checkout takes cards, Apple Pay, Google Pay, ACH debit, and Affirm, applies tips, promotion codes, gift cards, delivery, and tax to the order, and ends in a paid order with the receipt and refunds attached. Payment links and invoices open the same checkout.
How do I create a checkout session?
Create the order, then send POST /v1/checkout-sessions with type: order, its order_id, and your success and cancel URLs. Flint returns the session with a url; send the buyer there exactly as returned. To charge a name and an amount without building an order, send type: quick_pay with quick_pay_item instead, or type: subscription_plan with subscription_plan_id for a subscription signup page. Fulfill when the order.paid webhook arrives. The checkout sessions guide walks through each call.
Which payment methods does Flint Checkout accept?
Cards, Apple Pay, Google Pay, ACH debit, and Affirm. Wallets sit above the card form, and 3D Secure runs inside the checkout. ACH debit uses instant bank verification and settles in a few business days, up to $50,000 per hosted checkout. Affirm appears once you turn it on, on eligible orders from $50 to $30,000. A customer you created the session for can pay with a card they saved at your store.
How much does Flint Checkout cost?
Checkout has no separate fee. Card and wallet payments are 3.79% + 35¢, ACH debit is 1.00%, $1 minimum, no cap, and Affirm is 6.99% + 30¢, with no monthly fee. Running checkout on your own domain is $15 a month, and automatic sales tax is 0.50% on payments that carry tax. International cards add 1.50%. Pricing lists every fee.
Can I put the checkout page on my own domain?
Yes. The custom domain add-on is $15 a month for one checkout hostname, such as pay.yourstore.com, and one customer account hostname. Create a checkout custom domain with POST /v1/custom-domains, publish the DNS records Flint returns, and Flint issues and renews the certificate. Hosted checkout, payment links, and invoice payment pages then open there. Custom domains are live mode only, and hosted pages keep the Powered by Flint credit. Custom domains covers the setup.
Can I embed Flint Checkout in my own site?
Yes. Create the session with surface set to headless and your own page renders the checkout. Your backend gets a checkout credential scoped to that session and its order, Stripe Elements renders the card fields inside your page, and Flint still computes the total, runs the payment, and sends the webhook. The browser talks to your backend and to Stripe.js, never to the Flint API, and there is no Flint script or iframe to load. Build your own checkout covers the integration.
Does Flint Checkout send abandoned checkout emails?
Yes, when you turn on checkout reminders. A buyer who typed their email at hosted checkout and left without paying gets one email with their cart, their total, and a link back. You choose the delay, from 15 minutes to 24 hours, and Flint sends nothing if the order was paid or the checkout was closed in the meantime. The link works for 7 days and opens a new checkout for the same order if the first one expired.
Can buyers use more than one promo code?
Yes. Hosted checkout applies more than one promotion code to an order, up to the limit you set from 1 to 10 promotions per order (2 by default), alongside automatic promotions. A code that doesn't apply says why, such as a better discount already applied. Stripe Checkout Sessions support up to one coupon or promotion code.
Is the success redirect proof that the buyer paid?
No. A buyer can close the tab before the redirect, and anyone can open a success URL directly. Flint adds checkout_session_id and order_id to your success URL so your thank-you page knows what to show. Fulfill from the order.paid webhook, or from a backend read of the session with expand=order.
Is Flint a good alternative to Stripe Checkout?
Yes, for a business selling a cart rather than a single price. Flint Checkout stacks promotion codes, offers tips, store pickup, and local delivery on the hosted page, sends ACH and card payments to the same order.paid event, and ends in a paid order with line items, tax, and discounts already on it. Card processing runs on Stripe underneath, and Flint's price is 3.79% + 35¢ per card payment with no monthly fee.


