Customer accounts
A customer portal for orders, subscriptions, invoices, and returns.
Buyers who pay you get a Flint customer account under the email they checked out with, and the receipts, shipping notices, and dunning emails Flint sends link straight into it. Buyers track parcels, pay invoices, replace a failed card, skip or pause a subscription, and start a return without writing to you. Put your colors and name on it with one API call, serve it from account.yourbrand.com for $15 a month, or build your own on the same buyer-scoped API.
Meanwhile, on your webhook
9
kinds of reminder the account home raises under Needs attention, before the buyer asks
the account home
12
changes a buyer can make to a subscription without contacting you
buyer_actions on a subscription
$15
a month to serve it from your own domain, checkout's hostname included
custom domain add-on
01Orders
Order tracking, receipts, and returns on every order page.
Flint's receipts and shipping emails link to the order itself, and the link opens it without a password. The buyer sees each package with its carrier and tracking number, what has arrived and what's still on the way, what they paid, and how to send something back.
The home page leads with what needs them
- A card to update before a renewal is missed
- An invoice due, or overdue
- A return to ship by its date
- An exchange that needs the difference paid
- An order ready for pickup, with its collect-by time
- A delivery the carrier couldn't complete
- A subscription shipment that needs a new address or method
- A subscription paused because a shipment couldn't go out
- A trial about to end, with the price that follows
Each line opens the page where the buyer deals with it.
curl -X POST \
https://api.withflintpay.com/v1/orders/ord_8F2K1X/access-links \
-H "Authorization: Bearer $FLINT_SECRET_KEY" \
-H "Idempotency-Key: shipped-ord_8F2K1X"Create the same link Flint's email carries and put its url in your message. It opens the order for 30 days or 10 opens, then the buyer signs in with an emailed code. Treat it like a password-reset link and make a new one per message.
Every way an order arrives
Parcels with carrier and tracking, split shipments counted package by package, local delivery windows, pickups with a collect-by time, downloads, and appointments, each in the buyer's words rather than fulfillment statuses.
Receipts and help, without a ticket
The buyer emails the receipt to themselves again or prints it. Get help starts an email to your support address with the order in the subject line, or opens your help page.
Refunds say where the money went
Each refund names the amount and the card it went back to, such as Refunded $30.00 to Visa ending 4242, with a note that a statement can take 5 to 10 business days. A refund to a gift card says so.
- GET /v1/me/orders
- GET /v1/me/shipments
- GET /v1/me/packages
- GET /v1/me/fulfillment-events
- POST /v1/me/orders/{order_id}/send-receipt
After paying at Flint’s hosted checkout, the buyer’s View your order button opens this same page. How buyers get in →
02Subscriptions
Skip, swap, pause, or fix the card, inside rules you set.
The subscription page says what it costs and when it charges next, then offers every change your plan allows: skip the next shipment, order now, change the quantity, how often it ships, or which item it sends, move it to a new address, pause it, or cancel. When a renewal fails, the dunning email lands here and the buyer fixes it on the spot.
Buyers can always cancel. No setting removes the cancel button or makes a buyer answer a question or turn down an offer first. What you control is the moment of decision: a pause offered instead, the reasons you ask about, and whether a cancellation ends now or with the billing period.
A failed renewal is the buyer’s to fix. The dunning email opens the subscription with the retry date. The buyer replaces the card or retries the one on file, up to three tries a billing period counting yours, one at a time.
Your support team isn’t bound by any of it. The limits apply to buyers. Your API key can still pause for six months or cancel on the spot.
curl -X PATCH https://api.withflintpay.com/v1/settings \
-H "Authorization: Bearer $FLINT_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"customer_account": {
"buyer_capabilities": {
"cancellation_timing": "end_of_period",
"pause": { "enabled": true, "max_cycles": 3 },
"cancellation_reasons": ["too_expensive", "unused", "other"],
"retention_offer": {
"kind": "pause_instead",
"pause_cycles": 2
},
"can_update_delivery": true,
"skip": { "enabled": true, "max_consecutive_skips": 2 }
}
}
}'Applies in Flint's account and to customer sessions in yours. It's written as a whole, so each field you leave out returns to its default.
cancellation_timingdefault: end_of_period
Cancellations end with the billing period, or buyer_chooses lets the buyer end it now.
pause.max_cyclesdefault: no limit
The longest pause a buyer can pick, 1 to 12 billing periods. It resumes on its own.
skip.max_consecutive_skipsdefault: no limit
How many renewals in a row a buyer can skip, 1 to 12.
retention_offerdefault: none
pause_instead offers a pause of pause_cycles periods on the cancel sheet.
cancellation_reasonsdefault: none asked
Up to eight reasons, shown in your order. The buyer may skip the question.
can_update_deliverydefault: true
Whether buyers change the address and delivery method of a subscription that ships.
What you hear while buyers change things
- subscription.cycle_skipped
- subscription.delivery_updated
- subscription.paused
- subscription.cancellation_scheduled
- subscription.reactivated
- subscription_payment_retry.succeeded
A buyer’s change sends the same webhook as yours. A cancellation the buyer sets carries requested_by set to buyer and the reason they chose. Subscriptions on Flint · Buyer capabilities →
03Invoices and returns
Invoices paid and returns started from the same account.
Open invoices show up under Needs attention with the amount and the due date. The buyer pays through a Flint checkout, downloads the PDF, and sees deposits and installments on the payment schedule. Returns start from the order: the buyer picks the items, a reason, and the outcome, and your return policy decides what's eligible and what needs your review.
Followed to the refund
Requested, approved, sent back, received, refunded. Warehouse steps the buyer can't act on never show, so a return in inspection doesn't read as stuck.
Labels and drop-off
When the return comes with a label, the buyer prints it and tracks the parcel back. Otherwise the page gives the address to send it to and the ship-by date.
Changed their mind
A buyer can withdraw a return until you start on it. Nothing is refunded and they keep the items.
Exchanges that cost more
When the replacement costs more than what went back, the buyer pays the difference through a Flint checkout from the return page.
Invoice routes
- GET /v1/me/invoices/{invoice_id}
- GET /v1/me/invoices/{invoice_id}/pdf
- GET /v1/me/credit-notes
- POST /v1/me/checkout-sessions
Every invoice you send the buyer from Flint is listed in their account too. Invoicing on Flint
Return routes and events
- POST /v1/me/return-previews
- POST /v1/me/returns
- POST /v1/me/returns/{return_id}/cancel
- POST /v1/me/checkout-sessions
- return.created
- return.decision_recorded
- return.updated
- return.completed
- return.canceled
Self-service returns follow a return policy you turn on. An order no active policy covers shows no return button, and the buyer contacts you instead. To draft the policy, the return policy generator writes the text for your store and the request that turns it on. Buyer-initiated returns →
04Your brand
Your name, colors, and domain on Flint's account.
One settings call styles the customer account and hosted checkout together: colors, typeface, corner radius, and the name over the door. Every color pair is contrast-checked, so a brand color that wouldn't read falls back for that one token instead of shipping an unreadable button. Pick a store to restyle the account below.
curl -X PATCH https://api.withflintpay.com/v1/settings \
-H "Authorization: Bearer $FLINT_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"branding": {
"primary_color": "#1B4D3E",
"background_color": "#F4EFE5",
"text_color": "#1A1714",
"font_family": "system_serif",
"corner_radius": 8
},
"customer_account": {
"mode": "flint_hosted",
"presentation": { "account_name": "Cedar & Stone" }
}
}'branding styles the customer account and hosted checkout together. account_name defaults to your business name.
- primary_color
- accent_color
- background_color
- text_color
- font_family
- corner_radius
- account_name
font_family takes 4 values, and corner_radius takes 0 to 32 pixels, which the account draws as square, soft, or round corners. Each preview runs its request through the theme code the account itself uses, so the colors you see are the colors buyers get. Flint-hosted pages keep a small Powered by Flint credit in the footer. Add your brand →
Then move it to account.yourbrand.com
A custom domain costs $15 a month for one account hostname and one checkout hostname. Activate it in Billing, create the account hostname, and publish the two records Flint returns. Flint registers the hostname as a payment method domain for you and issues the certificate.
curl -X POST https://api.withflintpay.com/v1/custom-domains \
-H "Authorization: Bearer $FLINT_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{ "type": "customer_account", "hostname": "account.cedarandstone.com" }'One exact subdomain. Apex and wildcard hostnames aren't supported.
{
"data": {
"custom_domain_id": "cdom_01KWM6WAHG3N9Q8T2V5XRZ7C4E",
"type": "customer_account",
"hostname": "account.cedarandstone.com",
"status": "provisioning",
"status_reason": "ownership_record_missing",
"dns_records": [
{
"type": "cname",
"name": "account.cedarandstone.com",
"value": "account.withflintpay.com"
},
{
"type": "txt",
"name": "_flint-verify.account.cedarandstone.com",
"value": "flint-verify=2c8e4a6f0b3d7e1a9c5f2b8d4e0a6c3f"
}
],
"last_checked_at": null
}
}A CNAME that points the hostname at Flint, and a TXT record that proves your account controls it. Copy both exactly as returned.
While it provisions
The records are published or on their way, and status_reason says what Flint is waiting for. Account links stay on Flint's domain.
- provisioning
Once it is active
The certificate is issued. Every account link Flint resolves from now on opens on your hostname.
- active
If it needs attention
Something needs fixing, such as a record that changed. Newly resolved links go back to Flint's domain until it's fixed, and status_reason names the problem.
- attention_required
A buyer’s link never breaks over DNS. Account links in Flint’s email resolve when the buyer clicks. Until your hostname is active they use Flint’s domain, if an active hostname later fails they fall back to it, and an archived hostname redirects for 30 days. Buyers sign in once more on their first visit to the new hostname, and the hosted account can’t be framed: to place the account inside your own pages, build it on /v1/me, below.
- custom_domain_id
- status
- status_reason
- dns_records
- POST /v1/custom-domains/{custom_domain_id}/validate
- DELETE /v1/custom-domains/{custom_domain_id}
- custom_domain.updated
05Build your own
Build your own account on /v1/me. Flint still checks ownership.
Sign the buyer in with your own login, mint a customer session on your backend, and relay /v1/me calls with its secret. There is no customer_id anywhere in that API: sending one is rejected with a 400, and another buyer's order answers 404, so a bug in your front end can't show the wrong person's data.
curl -X POST https://api.withflintpay.com/v1/customer-sessions \
-H "Authorization: Bearer $FLINT_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{ "customer_id": "cus_1kmn0aExample" }'Flint never sees your login form, your passwords, or your identity provider.
{
"data": {
"customer_session_id": "cses_1kmn0aExample",
"customer_id": "cus_1kmn0aExample",
"status": "active",
"secret": "flint_cses_example",
"expires_at": "2026-10-23T18:00:00Z",
"refresh_token": "flint_cref_example",
"refresh_token_expires_at": "2026-10-30T17:00:00Z",
"created_at": "2026-10-23T17:00:00Z"
}
}The secret lasts an hour and the refresh token a week by default, both adjustable. They stay on your server; your browser calls your backend, never Flint.
curl https://api.withflintpay.com/v1/me/orders \
-H "Authorization: Bearer flint_cses_example"No customer filter, because there's nothing to filter by. The credential already decided.
"buyer_actions": [
{ "kind": "cancel", "is_available": true, "is_required": false },
{ "kind": "pause", "is_available": false, "is_required": false,
"unavailable_reason": "store_policy" },
{ "kind": "update_payment_method", "is_available": true,
"is_required": true, "due_at": "2026-11-01T00:00:00Z" },
{ "kind": "skip", "is_available": true, "is_required": false },
{ "kind": "update_billing_interval", "is_available": false,
"is_required": false, "unavailable_reason": "store_policy" },
{ "kind": "renew", "is_available": true, "is_required": false }
]Every order, subscription, invoice, and return says what the buyer can do next, with your settings already applied. Your pages show buttons from it instead of re-implementing the rules.
A relay that can't widen
Because the session decides whose data comes back, your backend can forward /v1/me requests as they arrive. A request the browser makes up still reaches only the signed-in buyer's own data.
Money still moves through checkout
Paying an invoice or an exchange balance opens a Flint checkout session, hosted or headless on your page. A customer session never carries payment authority.
Add a card from your page
Saving a card under the session returns what Stripe.js needs. Your page mounts the card form and confirms it, and the card turns active when the processor confirms.
Point Flint's email at your pages
Set mode to merchant_hosted with a route for each resource, and every account link in Flint's email opens your app. Links resolve on click, so last month's mail follows too.
Rate limited per buyer
Customer sessions have their own limits, per session and per customer, apart from your API key, so one buyer refreshing in a loop can't spend your budget.
Typed in the SDKs
The SDKs cover customer sessions and every /v1/me route through their customer auth mode, which carries the session secret instead of your API key.
The /v1/me surface
- /v1/me
- /v1/me/orders
- /v1/me/payment-intents
- /v1/me/refunds
- /v1/me/fulfillments
- /v1/me/shipments
- /v1/me/packages
- /v1/me/fulfillment-events
- /v1/me/invoices
- /v1/me/subscriptions
- /v1/me/subscription-previews
- /v1/me/payment-methods
- /v1/me/addresses
- /v1/me/return-previews
- /v1/me/returns
- /v1/me/gift-cards
- /v1/me/email-preferences
- /v1/me/email-change-requests
- /v1/me/deletion-requests
- /v1/me/session/revoke
The credential
- expires_in_seconds
- refresh_expires_in_seconds
- POST /v1/customer-sessions/refresh
- POST /v1/me/session/revoke
- POST /v1/customers/{customer_id}/sessions/revoke
- POST /v1/customers/{customer_id}/access-links
Build your own customer account → · Customer sessions → · SDKs →
06Sign-in and privacy
Sign-in, email, and data requests, handled.
The parts of a customer account nobody budgets for come with it: sign-in without passwords, one Flint account across every store a buyer pays on Flint, email changes confirmed at both addresses, optional emails the buyer controls, and deletion requests that come to you for a decision.
A 6-digit code, no password
Flint emails a code to the address the buyer used at checkout. There is no password for you to store, reset, or leak, and links in Flint's email skip the sign-in for the page they open.
Email changes confirm both addresses
A code goes to the current address and one to the new address, and nothing changes until both are entered. Confirming signs the buyer out on every device.
- POST /v1/me/email-change-requests
Deletion requests come to you
The buyer asks from Settings, and you approve or reject. Active subscriptions and saved cards have to go first. Approval anonymizes the customer and keeps the orders, payments, and refunds your books need.
- customer_deletion_request.created
- customer_deletion_request.completed
- customer_deletion_request.rejected
Optional emails off, receipts still on
Buyers turn your optional emails on and off in Settings, and the unsubscribe link in Flint’s email lands on the same choice. Receipts and messages that need the buyer always arrive.
- shipping_updates
- checkout_reminders
- POST /v1/me/email-change-requests
- GET /v1/me/email-preferences
- POST /v1/me/deletion-requests
- retention_policy
Send any email family yourself
Each of the 6 families Flint sends can switch to merchant_sends on its own, and the webhook events behind it keep firing for you to send from. Most merchants who write their own receipts let Flint keep sending dunning.
curl -X PATCH https://api.withflintpay.com/v1/settings \
-H "Authorization: Bearer $FLINT_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"customer_email_delivery": {
"order_receipts": "merchant_sends",
"fulfillment_updates": "merchant_sends"
}
}'order_receiptsPurchase receiptsfulfillment_updatesShipment and delivery noticessubscription_lifecycleRenewals, pauses, cancellations, trial endingsdunningFailed payment and past-due noticesreturnsReturn approvals, labels, and resolutionsinvoicesInvoice delivery and reminders
Customer email delivery → · Deletion requests → · Webhooks →
07Compared
Flint's customer account and the Stripe customer portal.
Stripe's customer portal is built around billing: payment methods, billing details, subscriptions, and invoices. Flint's customer account is built around the whole purchase, so orders, parcels, returns, and subscriptions that ship sit beside the billing. Flint runs card payments on Stripe underneath.
| What buyers need | Flint customer account | Stripe customer portal |
|---|---|---|
| One-time purchases | Flint: Every order, one-time or recurring, with its items, totals, payments, and refunds. | Stripe: Lists invoices. A one-time Checkout payment shows once you enable post-payment invoices for it, which Stripe prices separately. |
| Shipping and tracking | Flint: Each parcel with its carrier and tracking number, split shipments, local delivery, pickup, and downloads. | Stripe: Not among the portal's listed features. Editing a shipping address can be turned on. |
| Returns | Flint: Started from the order under your return policy, then followed to the refund or exchange. | Stripe: Not among the portal's listed features. |
| Subscription changes | Flint: Skip, pause, swap an item, change quantity, frequency, or delivery, order now, or cancel, within your limits. | Stripe: Update, switch plans or quantities when allowed, or cancel. Multi-product, usage-based, and trial subscriptions can only be canceled. |
| Before a cancel | Flint: A pause instead, and a reason the buyer may skip. The cancel button always stays. | Stripe: A retention coupon, and a cancellation reason. |
| Your own domain | Flint: account.yourbrand.com plus a checkout hostname, $15 a month. | Stripe: One custom domain per account. |
| Your own front end | Flint: /v1/me under a buyer-scoped session, for an account built entirely in your app. | Stripe: Sessions link into Stripe's hosted page, which expires after 5 minutes unused and can't be shown in an iframe. |
Running on Stripe today? A buyer who paid through a one-time Checkout session has nothing to see in the portal unless that session created an invoice, and turning that on doesn’t reach purchases made before it. Stripe customer portal order history walks through the workaround and where it breaks. Stripe’s portal is translated into more than 40 languages and manages more payment method types; Flint’s account is in English. Flint vs Stripe
08Proof
Every claim above, pinned to the API.
Every merchant has a hosted customer account, and Flint's emails link into it.
customer_account.mode: flint_hostedA merchant writing its own email can create the same no-sign-in order link.
POST /v1/orders/{order_id}/access-linksOrders, subscriptions, invoices, and returns say what the buyer can do next.
buyer_actionsYour settings limit what buyers change on subscriptions, and they can always cancel.
customer_account.buyer_capabilitiesA buyer can retry a failed renewal from the subscription page.
POST /v1/me/subscriptions/{subscription_id}/payment-retriesAn open invoice is paid through a Flint checkout session.
POST /v1/me/checkout-sessionsBuyers start returns from their own orders, checked against your policy.
POST /v1/me/returnsOne settings call styles the account and hosted checkout.
PATCH /v1/settings · brandingAn account hostname is a custom domain that reports its DNS records and status.
POST /v1/custom-domainsA customer session is created on your backend for one buyer.
POST /v1/customer-sessionsFlint's email can link to an account you host instead.
customer_account.mode: merchant_hostedEach buyer email family can be taken over on its own.
customer_email_deliveryBuyers ask you to delete their data from the account.
POST /v1/me/deletion-requestsreviewed 2026-10-23 against the customer account guides, the published API, and the account app · corrections: Flint Help
09Start
Take a test payment, then open the account.
Sandbox keys are free and need no credit card. Brand the account, move it, or replace it whenever you get to it.
1 · take a sandbox payment
Pay a sandbox payment link with 4242 4242 4242 4242 and any future expiry, then press View your order. The order opens in the customer account, marked as test mode.
2 · put your name on it
flint settings update --input branding.json
flint settings getbranding.json holds the body of a branding request like the ones above.
3 · or mint a session for your own UI
flint customer-sessions create --input session.jsonsession.json names the customer. The secret that comes back reads /v1/me for that buyer and nobody else.
Node
CLI
Then read these
- 01Customer accounts guideBranding, the domain, buyer capabilities, and deletion.
- 02Build your own customer accountThe /v1/me surface, the relay, and buyer actions.
- 03Customer sessionsLifetimes, rotation, and revocation.
- 04Customer email deliveryThe six families and the events behind each.
- 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.
The portal lets customers update billing information and payment methods, update subscriptions, cancel them immediately or at period end, and pay, download, and view invoices. Subscriptions with multiple products, usage-based billing, or trials can be canceled but not updated there. It can't be displayed in an iframe, new sessions expire after 5 minutes unused, and it supports 41 languages. Stripe docs: Provide a customer portal
docs.stripe.com · checked 2026-10-23Cancellation can collect a reason and offer a retention coupon. Shipping address editing is off by default. Branding covers logo, icon, colors, font, and shapes, and an account can set one custom domain. Stripe docs: Configure the customer portal
docs.stripe.com · checked 2026-10-23Stripe creates invoices automatically for subscriptions but they must be enabled for one-time payments, and invoice creation for one-time Checkout payments is priced separately. Stripe docs: Receipts and paid invoices
docs.stripe.com · checked 2026-10-23
last reviewed 2026-10-23 · corrections: Flint Help
FAQ
Questions merchants ask about customer portals.
What can buyers do in Flint's customer portal?
Track every order and parcel, email themselves the receipt, pay an open invoice and download its PDF, replace a failed card and retry the payment, skip, pause, resume, or cancel a subscription, change its quantity, frequency, item, or delivery address, order the next shipment now, start a return and follow it to the refund, keep saved cards and addresses, check saved gift cards, change their email, turn off optional emails, and ask you to delete their data. The account home leads with whatever needs the buyer, such as a card to update or a return to ship.
Does the customer portal cost extra?
No. Flint’s hosted customer account is included in core payments, which cost 3.79% + 35¢ per card payment with no monthly fee. Subscription and invoice payments carry a 0.40% add-on. Serving the account from your own domain is $15 a month, which also covers a checkout hostname. See pricing.
How do buyers sign in to the customer portal?
With a 6-digit code Flint emails to the address they used at checkout, so there is no password for you to store or reset. A link in one of Flint's emails opens the order, subscription, or return it is about without a sign-in. At account.withflintpay.com, one sign-in also lists every store where the buyer has paid with that email.
Can customers cancel their own subscriptions?
Yes, always. No setting hides the cancel button or makes a buyer answer a question or turn down an offer first. You decide whether a cancellation ends with the billing period or the buyer may end it now, which reasons to offer, and whether the cancel sheet offers a pause instead. Your API key isn’t bound by those settings, so your support team can still cancel on the spot. More on subscriptions on Flint.
Can I put the customer portal on my own domain?
Yes. A custom domain costs $15 a month and covers one account hostname, such as account.yourbrand.com, and one checkout hostname. Create the account hostname with POST /v1/custom-domains, publish the CNAME and TXT records Flint returns, and Flint issues the certificate. Account links stay on Flint's domain until your hostname is active, and buyers sign in once more on their first visit to it.
Can I embed the customer portal in my website?
Not in an iframe. Flint's hosted account refuses to be framed, so buyers always see its real address. To put the account inside your own pages, build it on the /v1/me API with a customer session. To send a buyer who is signed in on your site into the hosted account, create an access link for the customer: it signs them in once, within 15 minutes, with no second login.
How is Flint's customer account different from the Stripe customer portal?
Stripe’s customer portal manages billing: payment methods, billing details, subscriptions, and invoices. A one-time Checkout payment shows there only when you turn on post-payment invoices, which Stripe prices separately. Flint’s customer account adds every order with its parcels and tracking, buyer-started returns, and subscriptions that ship, with skips, swaps, and delivery changes. Flint runs card payments on Stripe underneath. Stripe customer portal order history covers the invoice workaround in detail.
Can I build my own customer account on Flint?
Yes. Sign the buyer in with your own login, then create a customer session on your backend. Its secret authorizes the /v1/me API for that one buyer: orders, deliveries, invoices, subscriptions, saved cards, addresses, returns, and gift cards. There is no customer_id argument in that API and sending one is rejected, so a front-end bug can’t show one buyer another buyer’s data. Set customer_account.mode to merchant_hosted and Flint’s emails link to your pages instead.


