Subscriptions
Subscription billing where every renewal is a real order.
Flint's subscription billing API covers plans with trials and setup fees, hosted signup links, subscribe and save across your catalog, automatic retries when a card is declined, and a buyer account where subscribers skip, swap, pause, and fix their own card. Every renewal lands as an ordinary Flint order, so refunds, receipts, reports, and shipping work on it from the first cycle. Cards cost 3.79% + 35¢, plus 0.40% on payments that start or renew a subscription, with no monthly fee.
0.40%
added to the card rate, only on payments that start or renew a subscription
published pricing catalog
16 days
of automatic retries after a decline, four attempts by default
dunning_retry_days
5
ways a subscription can start, from a hosted link to your own API call
payment link, checkout session, headless, cart, API
01Signup
Two calls, and a plan is on sale.
Create a plan, then a payment link that carries its id. The URL that comes back is a hosted signup page under your name: it collects the buyer's email and card, creates the customer, starts the subscription, and sends you the same webhooks as the API flow. There is no signup page to build and nothing to deploy.
curl -X POST https://api.withflintpay.com/v1/subscription-plans \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: plan-roast-of-the-month-v1" \
-d '{
"name": "Roast of the month",
"currency": "USD",
"billing_interval": "monthly",
"billing_interval_count": 1,
"trial_period_days": 14,
"line_items": [
{
"type": "custom",
"name": "Roast of the month",
"quantity": 1,
"unit_price_money": { "amount": 2900, "currency": "USD" }
}
]
}'Amounts in minor units, so 2900 is $29.00. The plan holds the price, so the subscription never has to. Or click New plan in the dashboard.
curl -X POST https://api.withflintpay.com/v1/payment-links \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: link-roast-of-the-month-v1" \
-d '{
"name": "Roast of the month",
"subscription_plan_id": "plan_1kmn0aExample",
"buyer_fields": { "require_email": true }
}'subscription_plan_id instead of line items is what makes a payment link a signup page.
{
"data": {
"payment_link_id": "pl_1kmn0aExample",
"name": "Roast of the month",
"subscription_plan_id": "plan_1kmn0aExample",
"url": "https://checkout.withflintpay.com/pay/pl_1kmn0aExample"
}
}Live the moment it comes back. Put it on a pricing page, in an email, or behind a QR code.
Share this and you are selling
What arrives when a buyer signs up
- customer.created
- payment_method.activated
- subscription.created
In that order. The hosted page creates the customer and saves the card before it starts the subscription, so your handler never sees a subscription without a buyer and a card behind it.
Five ways in. Use the one your buyer is already on.
Renewals, failed payments, pausing, and canceling work the same however the customer signed up. Payment links and hosted checkout need no frontend at all.
Payment link
One public URL per plan, for pricing pages, ads, emails, and QR codes. No frontend code.
- subscription_plan_id on POST /v1/payment-links
Checkout session
Your app starts signup for one known buyer and sends them to a hosted page under your name.
- type: subscription_plan on POST /v1/checkout-sessions
Headless checkout
Your own signup UI collects the card for a first charge or a free trial. Flint decides the result.
- surface: headless
Subscribe and save cart
Any line an offer covers can be subscribed in an ordinary cart, beside items bought once.
- subscription on an order line
Direct API
Create the subscription yourself against a saved card, or the customer's default card.
- POST /v1/subscriptions
- POST /v1/payment-links
- POST /v1/checkout-sessions
- subscription_plan_id
- surface
- buyer_fields
02Renewals
Every renewal is an order.
So everything you built for orders already works on recurring revenue. Left is a one-time sale from hosted checkout. Right is the fourth month of a subscription. Read the keys, not the values.
{
"data": {
"order_id": "ord_1kmn0aExample",
"origin": "checkout",
"status": "closed",
"payment_status": "paid",
"line_items": [
{
"order_line_item_id": "oli_1kmn0aExample",
"name": "Ceramic dripper",
"quantity": 1
}
],
"pricing_amounts": {
"total_money": { "amount": 2400, "currency": "USD" }
},
"settlement_amounts": {
"paid_money": { "amount": 2400, "currency": "USD" },
"outstanding_money": { "amount": 0, "currency": "USD" }
}
}
}Nothing here knows what a subscription is.
{
"data": {
"order_id": "ord_2pqr7bExample",
"origin": "subscription",
"subscription_id": "sub_1kmn0aExample",
"subscription_cycle": 4,
"status": "closed",
"payment_status": "paid",
"line_items": [
{
"order_line_item_id": "oli_2pqr7bExample",
"name": "Roast of the month",
"quantity": 1
}
],
"pricing_amounts": {
"total_money": { "amount": 2900, "currency": "USD" }
},
"settlement_amounts": {
"paid_money": { "amount": 2900, "currency": "USD" },
"outstanding_money": { "amount": 0, "currency": "USD" }
}
}
}Two fields more and one value changed. Everything else is in the same place, with the same names.
The difference is origin, subscription_id, and subscription_cycle. There is no separate billing object holding the money, no invoice table with a lifecycle of its own beside your orders, and no second refund path to build.
A report that sums orders already includes recurring revenue. A refund tool that works on orders works on renewals. A fulfillment worker listening for a paid order ships the subscription box the way it ships a cart, because order.paid fires for every cycle. The buyer gets the same receipt.
Renewals that ship are quoted, taxed, and fulfilled like any shipped order. On a plan or offer that ships, each renewal carries the subscriber’s address, a shipping charge quoted for that shipment, tax for that address, and a fulfillment. Flint never charges for a shipment it can’t route: when delivery can’t be quoted, the renewal is held, nothing is charged, and Flint asks the buyer or you to fix it. Ship physical products covers holds, address changes, and moving subscribers to a new delivery method.
"order_id": "ord_2pqr7bExample"Refund the ordinary way
Name the renewal order and the line on it. Refunds by line and by quantity, tax handling, and refund events work as they do for a one-time sale.
origin=subscriptionFind every renewal
origin is a filter on the orders list, so recurring revenue is a query, not an export from another system.
order.paidFulfillment keeps firing
Each cycle sends the standard order and payment events beside the subscription ones, and fulfillment events when it ships. Order-keyed pipelines need no special case.
"subscription_cycle": 4First-box inserts
subscription_cycle counts charged cycles only, so skipped and held months don't use a number. Cycle 1 gets the welcome card, cycle 12 the anniversary gift.
curl -X POST https://api.withflintpay.com/v1/refunds \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: refund-nov-renewal" \
-d '{
"order_id": "ord_2pqr7bExample",
"refund_type": "targets",
"line_items": [
{
"order_line_item_id": "oli_2pqr7bExample",
"quantity": 1,
"tax_refund_mode": "automatic"
}
]
}'The call you already make for a one-time sale, with a different order id.
curl -G https://api.withflintpay.com/v1/orders \
-H "Authorization: Bearer YOUR_API_KEY" \
-d origin=subscription \
-d subscription_id=sub_1kmn0aExample \
-d sort_by=created_atDrop subscription_id and you have every renewal on the account.
- GET /v1/orders
- POST /v1/refunds
- origin
- subscription_id
- subscription_cycle
- delivery_destination
- fulfillment.created
03Subscribe and save
Subscribe and save on the products you already sell.
A plan bills one fixed set of items. A subscription offer covers products in your catalog instead, so a buyer can subscribe to the coffee they are looking at, choose every 2, 3, or 4 weeks, and pay for a one-time dripper in the same checkout. Attach a forever promotion and the discount comes off every shipment.
curl -X POST https://api.withflintpay.com/v1/subscription-offers \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: offer-coffee-v1" \
-d '{
"name": "Coffee subscribe and save",
"product_ids": ["prod_1kmn0aExample"],
"billing_interval_options": [
{ "billing_interval": "weekly", "billing_interval_count": 2 },
{ "billing_interval": "weekly", "billing_interval_count": 3 },
{ "billing_interval": "weekly", "billing_interval_count": 4 }
],
"promotion_id": "promo_1kmn0aExample",
"subscription_delivery_method_ids": ["dmet_1kmn0aExample"]
}'One call, or New offer under Subscriptions in the dashboard. A variant belongs to at most one active offer, so the price a buyer sees is never ambiguous.
One cart, several cadences
The signup order is paid once. Flint then starts one subscription per cadence in the cart, and items bought once stay one-time. The subscriptions share the delivery the buyer chose at checkout.
- subscription
- subscription_id
The discount, every shipment
The offer's promotion is frozen on the subscription at signup. Ending the promotion later stops new signups, and current subscribers keep their price.
- promotion_id
On your own product page
Ask for the active offer on the variant a buyer is viewing and show its cadences beside One-time. When they subscribe, the order line carries the offer and the cadence.
- GET /v1/subscription-offers
- variant_id
curl -X POST https://api.withflintpay.com/v1/orders \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: cart-ada-0412" \
-d '{
"line_items": [
{
"type": "variant",
"variant_id": "var_1kmn0aExample",
"quantity": 1,
"subscription": {
"subscription_offer_id": "soffer_1kmn0aExample",
"billing_interval": "weekly",
"billing_interval_count": 2
}
},
{
"type": "variant",
"variant_id": "var_2pqr7bExample",
"quantity": 1
}
]
}'
curl -X POST https://api.withflintpay.com/v1/checkout-sessions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{ "type": "order", "order_id": "ord_4vwx1dExample" }'The subscribed line carries the offer and its cadence. A line without subscription is a one-time purchase.
{
"data": {
"subscription_id": "sub_5yza3eExample",
"terms_type": "subscription_offer",
"status": "active",
"billing_interval": "weekly",
"billing_interval_count": 2,
"line_items": [
{
"subscription_line_item_id": "sli_5yza3eExample",
"variant_id": "var_1kmn0aExample",
"subscription_offer_id": "soffer_1kmn0aExample",
"name": "Whole-bean coffee",
"quantity": 1,
"unit_price_money": { "amount": 1800, "currency": "USD" }
}
],
"recurring_amount_money": { "amount": 1620, "currency": "USD" }
}
}terms_type says the terms came from an offer, and each line names the offer that covers it. It renews, ships, and offers buyer self-service like any plan subscription.
Sell subscriptions across your catalog covers offers, mixed carts, and the product page lookup.
- POST /v1/subscription-offers
- GET /v1/subscription-offers
- product_ids
- variant_ids
- billing_interval_options
- promotion_id
- subscription_offer_id
- terms_type
04Plans
Price it the way you already sell it.
A plan is what you would print on a pricing page: daily, weekly, monthly, or yearly, spaced by any count, with a free trial, a setup fee, a contract term, and lines sold straight from your catalog. Every subscriber snapshots the plan at signup, so a price change is a new plan and never a surprise on an existing customer's card.
curl -X POST https://api.withflintpay.com/v1/subscription-plans \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: plan-wholesale-espresso-v1" \
-d '{
"name": "Wholesale espresso program",
"currency": "USD",
"billing_interval": "monthly",
"billing_interval_count": 1,
"setup_fee_money": { "amount": 15000, "currency": "USD" },
"contract_term_months": 12,
"early_termination_fee_money": {
"amount": 20000,
"currency": "USD"
},
"line_items": [
{
"type": "variant",
"variant_id": "var_3stu9cExample",
"quantity": 20
}
]
}'A catalog variant, a setup fee, a twelve month term, and the fee for leaving early, on one body.
{
"billing_interval": "weekly",
"billing_interval_count": 4,
"billing_interval_options": [
{ "billing_interval": "weekly", "billing_interval_count": 2 },
{ "billing_interval": "weekly", "billing_interval_count": 4 },
{ "billing_interval": "weekly", "billing_interval_count": 6 }
],
"line_items": [
{
"type": "custom",
"name": "Seats",
"unit_price_money": { "amount": 1500, "currency": "USD" },
"quantity": 3,
"allow_quantity_adjustment": true,
"min_quantity": 1,
"max_quantity": 25
}
]
}Up to 12 cadences, and one line, such as seats, with a minimum and maximum. The buyer picks both at signup and can change them later from their account.
"billing_interval_count": 3Any cadence
Daily, weekly, monthly, or yearly, spaced by a count: monthly with a count of 3 bills quarterly. Monthly and yearly renewals land on the anchor day you choose, or the day the first paid period starts.
- billing_interval_count
- billing_anchor_day
"trial_period_days": 14Trials that convert themselves
Up to 365 days. The card is saved and checked at signup, so the trial ends in a charge, not in an email asking the buyer to come back.
- trial_period_days
"setup_fee_money": { "amount": 15000, "currency": "USD" }A setup fee, once
Charged when the subscription starts and shown on the signup page as part of what today costs.
- setup_fee_money
"contract_term_months": 12Contract terms
A commitment of 1 to 120 months and a fee for leaving early. Flint shows both at checkout, records them on each new subscription, and returns them on reads and the cancel response, so your integration can show the consequence before the buyer confirms. Flint never charges the fee.
- contract_term_months
- early_termination_fee_money
{
"type": "variant",
"variant_id": "var_3stu9cExample",
"quantity": 20
}Sold from your catalog
A line can be a variant or a bundle, with modifiers, so a coffee club bills the product your store sells one-off. List swap variants and subscribers can trade one roast for another.
- variant_id
- bundle_id
- swap_variant_ids
"subscription_line_item_id": "sli_1kmn0aExample"Prices locked at signup
Each subscription snapshots the plan's lines when it is created. Editing a plan changes what new subscribers pay, never what existing ones pay.
- subscription_line_item_id
- POST /v1/subscription-plans
- billing_interval
- billing_interval_count
- billing_anchor_day
- trial_period_days
- setup_fee_money
- contract_term_months
- early_termination_fee_money
- billing_interval_options
- allow_quantity_adjustment
- swap_variant_ids
05Failed payments
When a card is declined, Flint does the chasing.
The subscription moves to past_due, the customer gets an email with a link to update their card, and Flint retries four times over 16 days. Any success restores it to active. If none does, the end action you chose runs: cancel, pause, or notify_only.
sub_1kmn0aExample · Roast of the month · $29.00 monthly
activeHow it ends
Collected more than a day late, so the new period starts on the 15th and later renewals bill on the 15th. Nothing was charged twice.
GET /v1/subscriptions/sub_1kmn0aExample
{
"subscription_id": "sub_1kmn0aExample",
"status": "active",
"current_period_start_at": "2026-11-15T00:00:00Z",
"current_period_end_at": "2026-12-15T00:00:00Z",
"next_billing_at": "2026-12-15T00:00:00Z",
"billing_anchor_day": 15,
"payment_method_id": "pm_2pqr7bExample"
}Fix the card from either side.
The customer changes the card in their buyer account without opening a ticket, and the next retry bills it. From your side, point the subscription at another saved card and collect now instead of waiting for the next retry.
curl -X PATCH \
https://api.withflintpay.com/v1/subscriptions/sub_1kmn0aExample \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{ "payment_method_id": "pm_2pqr7bExample" }'Any active card saved to the same customer. Every charge from then on uses it, including the next retry.
curl -X POST \
https://api.withflintpay.com/v1/subscriptions/sub_1kmn0aExample/payment-retries \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: retry-sub-001" \
-d '{}'Past-due subscriptions only, and idempotent. A failure here does not spend one of the automatic retries or move the next one.
- PATCH /v1/subscriptions/{subscription_id}
- POST /v1/subscriptions/{subscription_id}/payment-retries
- PATCH /v1/me/subscriptions/{subscription_id}
- missed_billing_at
- next_retry_at
- needs_attention
Four events run your access control.
Provision on subscription.created while the subscription is trialing, or on subscription.activated when the first period is paid. Ask for a new card on subscription.past_due. Revoke on subscription.canceled. The other 13 subscription events are there when you want the detail.
curl -X POST https://api.withflintpay.com/v1/webhook-endpoints \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: webhook-billing-001" \
-d '{
"url": "https://example.com/webhooks/flint",
"enabled_events": [
"subscription.created",
"subscription.activated",
"subscription.past_due",
"subscription.canceled"
]
}'Deliveries can repeat or arrive out of order, so a handler fetches the subscription and reconciles against its current status.
- subscription.created
- subscription.updated
- subscription.activated
- subscription.trial_ending
- subscription.renewal_upcoming
- subscription.payment_succeeded
- subscription.past_due
- subscription.dunning_exhausted
- subscription.cancellation_scheduled
- subscription.reactivated
- subscription.canceled
- subscription.paused
- subscription.resumed
- subscription.cycle_skipped
- subscription.delivery_updated
- subscription.delivery_action_required
- subscription.delivery_pause_upcoming
06Day to day
Subscribers handle the routine. Your team sees the rest.
Every Flint merchant has a buyer account from day one, with your name and colors, or on your own domain for $15 a month. Subscribers skip a shipment, change how often it comes, swap a variant, order the next one now, update their card or address, pause, and cancel, within the rules you set.
curl -X PATCH https://api.withflintpay.com/v1/settings \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"customer_account": {
"buyer_capabilities": {
"cancellation_timing": "end_of_period",
"pause": { "enabled": true, "max_cycles": 3 },
"cancellation_reasons": [
"too_expensive",
"unused",
"switched_service",
"other"
],
"retention_offer": {
"kind": "pause_instead",
"pause_cycles": 2
},
"can_update_delivery": true,
"skip": { "enabled": true, "max_consecutive_skips": 2 }
}
}
}'Cancellations end at the period's close, pauses last up to three cycles, buyers pick a reason, a two-cycle pause is offered before the cancel goes through, and no more than two skips in a row.
Building your own account instead? The same actions are /v1/me calls scoped to the signed-in buyer, with no merchant key in the browser. What buyers can do
- GET /v1/me/subscriptions
- PATCH /v1/me/subscriptions/{subscription_id}
- POST /v1/me/subscriptions/{subscription_id}/skip-cycle
- POST /v1/me/subscriptions/{subscription_id}/renew
- POST /v1/me/subscriptions/{subscription_id}/pause
- POST /v1/me/subscriptions/{subscription_id}/cancel
From your side, each change is one call.
The dashboard’s subscription page has the same actions as buttons. Every change sends a webhook and returns the updated subscription.
"pause_duration_cycles": 2Pause without losing paid time
Pause for a set number of cycles or until you resume. Days already paid for pick up where they left off.
"initiated_by": "buyer"Skip a cycle
Moves the next date one interval later without charging or shipping. The skip email says whether the buyer or the store skipped.
POST …/{subscription_id}/renewOrder now
Bills and ships the next renewal today, for the subscriber who ran out early. Later renewals count from today.
"cancel_at_period_end": trueCancel at period end
The default. The customer keeps what they paid for, and the reason goes on the record. Pass cancel_immediately when you mean now.
"cancel_at_period_end": falseChange of heart
A scheduled cancellation reverses any time before the period ends, from your side or the buyer's.
"contract_end_at": "2027-06-01T00:00:00Z"Contract terms on the record
Every read and the cancel response carry the early termination fee from the plan the buyer signed, for the life of the subscription. It applies to a cancellation before contract_end_at, and Flint never charges it.
curl -X POST \
https://api.withflintpay.com/v1/subscriptions/sub_3stu9cExample/cancel \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{ "cancellation_reason_code": "switched_service" }'No cancel_immediately, so access runs through the paid period. The reason code splits voluntary churn from failed payments.
{
"data": {
"subscription_id": "sub_3stu9cExample",
"status": "active",
"cancel_at_period_end": true,
"current_period_end_at": "2026-12-01T00:00:00Z",
"contract_end_at": "2027-06-01T00:00:00Z",
"early_termination_fee_money": {
"amount": 20000,
"currency": "USD"
}
}
}Still active until the period closes, with the contract fee your integration can show before the buyer confirms.
- POST /v1/subscriptions/{subscription_id}/pause
- POST /v1/subscriptions/{subscription_id}/resume
- POST /v1/subscriptions/{subscription_id}/skip-cycle
- POST /v1/subscriptions/{subscription_id}/renew
- POST /v1/subscriptions/{subscription_id}/cancel
- PATCH /v1/subscriptions/{subscription_id}
- cancel_immediately
- cancellation_details
The numbers, and the list that needs you.
The dashboard opens on monthly recurring revenue and what is past due. Needs attention lists every subscription with a failed payment, a first payment that hasn’t gone through, a shipment that can’t go out, or a renewal waiting on stock, with who can fix each one. Plans, offers, upcoming shipments, and imports sit beside it.
curl -G https://api.withflintpay.com/v1/subscriptions \
-H "Authorization: Bearer YOUR_API_KEY" \
-d needs_attention=truePast due, waiting on a first payment, more than a day overdue, held or about to be held for delivery, or waiting on stock.
curl -G https://api.withflintpay.com/v1/analytics/subscriptions \
-H "Authorization: Bearer YOUR_API_KEY" \
-d period_start_at=2026-09-01T00:00:00Z \
-d period_end_at=2026-10-01T00:00:00ZAny period you name: MRR, ARR, a count per status, and what was collected in the window.
{
"data": {
"period_start_at": "2026-09-01T00:00:00Z",
"period_end_at": "2026-10-01T00:00:00Z",
"currency": "USD",
"currencies": ["USD"],
"window_metrics": {
"new_subscriptions_count": 18,
"canceled_subscriptions_count": 5,
"collected_money": { "amount": 470100, "currency": "USD" }
},
"snapshot_metrics": {
"mrr_money": { "amount": 482900, "currency": "USD" },
"arr_money": { "amount": 5794800, "currency": "USD" },
"status_counts": {
"active_count": 214,
"trialing_count": 31,
"past_due_count": 6,
"paused_count": 4,
"canceled_count": 39,
"incomplete_count": 2
}
}
}
}- GET /v1/subscriptions
- GET /v1/analytics/subscriptions
- mrr_money
- status_counts
- buyer_capabilities
- retention_offer
07Imports
Move subscribers in without charging them twice.
Bring each subscriber over with the period they already paid for. An imported start charges nothing for that period, Flint takes over at the next renewal, and the cycle count carries on from the old tool. Check every subscriber first with a preview that runs the real create's checks and creates nothing.
curl -X POST https://api.withflintpay.com/v1/subscription-previews \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"mode": "create",
"subscription": {
"terms": {
"type": "subscription_plan",
"subscription_plan_id": "plan_1kmn0aExample"
},
"customer_id": "cus_1kmn0aExample",
"payment_method_id": "pm_1kmn0aExample",
"billing_start": {
"type": "imported",
"period_started_at": "2026-10-11T00:00:00Z",
"completed_cycles": 14
},
"external_reference_id": "recharge-48213"
}
}'The same body you will send to create. external_reference_id holds the subscriber's id in the old tool.
{ "data": { "mode": "create", "is_valid": true, "errors": [] } }A failing body lists its problems in errors, each with a code, a message, and a param such as subscription.terms.subscription_plan_id. Nothing is created, charged, or discounted, so a preview can run as often as you like.
Then create with the same body. One Idempotency-Key per subscriber makes a retry return the subscription the first call created, and looking up external_reference_id first keeps a re-run batch from creating a second one.
curl -X POST https://api.withflintpay.com/v1/subscriptions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: import-recharge-48213" \
-d '{
"terms": {
"type": "subscription_plan",
"subscription_plan_id": "plan_1kmn0aExample"
},
"customer_id": "cus_1kmn0aExample",
"payment_method_id": "pm_1kmn0aExample",
"billing_start": {
"type": "imported",
"period_started_at": "2026-10-11T00:00:00Z",
"completed_cycles": 14
},
"external_reference_id": "recharge-48213"
}'Fourteen months behind them, so the next renewal is subscription_cycle 15 and nobody gets a second welcome box.
Or upload a CSV
The dashboard's import page takes one subscriber per row, checks every row with the same preview, and imports only after you confirm. A row whose external_reference_id is already on a subscription is skipped. The CSV covers plan subscribers; offer subscribers import through the API.
- external_reference_id
- completed_cycles
"billing_schedule": { "owner": "external" }Keep your dates during the cutover
Hand the schedule to your own system and supply each next_billing_at yourself until you are ready to let Flint compute them.
- billing_schedule_owner
Cards first
An import moves the subscription, not the card. Saved cards don't transfer from another processor, so each subscriber saves a card with Flint before their subscription is created.
- payment_method_id
curl -X PATCH \
https://api.withflintpay.com/v1/subscriptions/sub_1kmn0aExample \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: schedule-sub-002" \
-d '{ "billing_schedule": { "owner": "external", "next_billing_at": "2026-11-11T16:00:00Z" } }'After each successful cycle Flint waits, reports is_awaiting_billing_schedule, and lists the subscriptions waiting on you.
Leaving Stripe Billing? Send each subscription’s current_period_start as period_started_at, then cancel the Stripe subscription once the Flint one exists. The Stripe migration guide maps every object, and Import subscribers from another tool covers previews and offer imports.
Coming from a site builder whose subscriptions stopped working? The Webflow subscriptions walkthrough sets up a subscription box from a sandbox, and the Webflow Ecommerce alternative moves the rest of the store.
- POST /v1/subscription-previews
- POST /v1/subscriptions
- billing_start
- period_started_at
- completed_cycles
- external_reference_id
- billing_schedule_owner
- is_valid
08Pricing
One card rate, one subscription add-on.
Flint charges 3.79% + 35¢ per card payment, with processing included and no monthly fee. A payment that starts or renews a subscription adds 0.40%. Hosted signup, retries, the buyer account, and the order system every renewal lands in come with it.
| One $29.00 renewal | ||
|---|---|---|
| Roast of the month renewal | $29.00 | |
| Card rate, 3.79% + 35¢ | $1.45 | |
| Subscription add-on, 0.40% | $0.12 | |
| Yours | $27.43 | |
The add-on covers the whole payment. It applies to everything Flint collects on a payment that starts or renews a subscription, including shipping, tax, and one-time items in the same cart. Sell those in a separate checkout to keep them outside it.
Refunds carry no extra fee. The original processing and add-on fees are kept. Declined cards and failed retries cost nothing.
The pricing page lists every rate, including ACH, automatic tax, and international cards.
Flint, Stripe Billing, Paddle, and Lemon Squeezy.
Flint processes cards on Stripe, so you don’t need a Stripe account of your own. Where Stripe Billing creates an invoice and a PaymentIntent for each payment due, Flint creates an order you can ship, refund by line, and report on with everything else.
| What you need | Flint subscriptions | Stripe Billing | Paddle and Lemon Squeezy |
|---|---|---|---|
| What you pay | Flint: 3.79% + 35¢ per card payment with processing included, plus 0.40% on subscription payments. No monthly fee. | Stripe Billing: 0.7% of Billing volume on pay as you go, with card processing priced separately | Paddle and Lemon Squeezy: 5% + 50¢ per transaction. Lemon Squeezy adds 0.5% on subscription payments |
| Subscriptions that ship | Flint: Every renewal order carries the subscriber's address, a shipping charge, tax, and a fulfillment | Stripe Billing: Checkout offers shipping options in payment mode only | Paddle and Lemon Squeezy: Both prohibit physical goods |
| Sales tax returns | Flint: Automatic tax calculates US sales tax, at 0.50% of each payment that carries tax. You register and file | Stripe Billing: Stripe Tax is its own product: 0.5% per transaction on no-code integrations, where you're registered | Paddle and Lemon Squeezy: Paddle submits sales tax returns as merchant of record |
Paddle sells as merchant of record and submits sales tax returns for its sellers. On Flint you stay the seller, and automatic tax does the calculating. Physical products on merchant-of-record platforms works the fees through, and Stripe subscription shipping covers charging and shipping each renewal on Stripe. Flint vs Stripe and Flint vs Paddle compare the rest, and the Recharge alternative page prices Recharge on Shopify.
09Proof
What you stop building.
A payment link with a plan id is a hosted signup page.
subscription_plan_idAn offer sells subscribe and save across your catalog.
POST /v1/subscription-offersA renewal is an order, tagged with where it came from.
originRefunds use the ordinary endpoint, by line and by quantity.
POST /v1/refundsA renewal that ships carries its own address, shipping, and tax.
delivery_destinationA fixed card can be charged at once, without spending an automatic retry.
POST /v1/subscriptions/{subscription_id}/payment-retriesThe subscriber changes the card from their own account.
PATCH /v1/me/subscriptions/{subscription_id}Cancel honors the paid period by default, and can be reversed.
cancel_at_period_endAn import is checked in full before anything is created.
POST /v1/subscription-previewsImported subscribers aren't charged for the period they already paid for.
period_started_atMRR, ARR, and status counts come back for any period you name.
GET /v1/analytics/subscriptionsreviewed 2026-10-23 against the subscription billing guide and the published API · corrections: Flint Help
10Start
Watch a renewal land as an order by tomorrow.
Free sandbox keys, no credit card. A daily plan renews in about a day, which is the fastest way to see a real renewal arrive as a real order.
1 · create a daily plan
2 · mint a signup link with its plan id
3 · open the link and pay
4242 4242 4242 4242 with any future expiry starts a subscription that renews cleanly. 4000 0000 0000 0341 saves the card and then declines every charge, which runs the whole past-due and retry path through your webhook feed by tomorrow.
4 · tomorrow, the renewal is an order
Node
CLI
Then read these
- 01Subscription billing guidePlans, offers, signup, webhooks, retries, pause, cancel, shipping, and imports.
- 02Subscription signup linksThe hosted signup page for a plan, with no frontend code.
- 03Testing renewals and failed paymentsThe card matrix and the webhook test tooling.
- 04RefundsRefunding one cycle's order.
- 05
- 06
- 07Memberships and subscription boxesSetting up a box or membership from the dashboard, with no code.
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.
Stripe Billing's pay-as-you-go price is 0.7% of Billing volume, covering Billing transactions processed on and off Stripe. Card processing is priced separately. Stripe Billing pricing
stripe.com · checked 2026-10-23Whenever a payment is due for a Stripe subscription, Stripe generates an invoice and a PaymentIntent. Stripe docs: How subscriptions work
docs.stripe.com · checked 2026-10-23Only Checkout Sessions in payment mode support shipping options. Stripe docs: Charge for shipping
docs.stripe.com · checked 2026-10-23Stripe Tax is priced on its own. Tax Basic is 0.5% per transaction on no-code integrations, where you're registered to collect tax. Stripe Tax pricing
stripe.com · checked 2026-10-23Paddle's first prohibited category is physical products or products that require physical delivery. Paddle: What am I not allowed to sell on Paddle?
www.paddle.com · checked 2026-10-23Paddle charges 5% + 50¢ per checkout transaction and, as merchant of record, submits sales tax returns for its sellers. Paddle pricing
www.paddle.com · checked 2026-10-23Lemon Squeezy prohibits physical goods of any kind. Lemon Squeezy: Prohibited products
docs.lemonsqueezy.com · checked 2026-10-23Lemon Squeezy's platform fee is $0.50 plus 5% of the order total, with 0.5% more on subscription payments. Lemon Squeezy: Fees
docs.lemonsqueezy.com · checked 2026-10-23
last reviewed 2026-10-23 · corrections: Flint Help
FAQ
Questions people ask about subscription billing.
How does subscription billing work on Flint?
You create a subscription plan with a price and a billing interval, or a subscription offer that covers products in your catalog. Buyers sign up through a hosted payment link, a checkout session, your own headless checkout, a cart, or the API. Flint saves their card, charges each cycle on schedule, retries declined cards four times over 16 days by default, and sends a webhook for every change. Each renewal is an ordinary Flint order with line items, tax, and a receipt.
Does a subscription renewal create a real order?
Yes. Each charged cycle produces an order with origin set to subscription, the subscription_id, and a subscription_cycle number. It carries line items, computed totals, and a payment status like an order from a checkout, so it appears in the same list endpoint, refunds through the same endpoint, sends order.paid to your fulfillment handler, and gives the buyer a normal receipt. There is no parallel billing record to reconcile against your sales.
Can I offer subscribe and save on my store?
Yes. Create a subscription offer that names the products or variants it covers, the cadences buyers can choose, and an optional forever promotion, and the discount comes off every shipment. Flint’s hosted checkout offers one-time or subscribe and save on each line an active offer covers, and one cart can mix subscribed and one-time items. When the order is paid, Flint starts one subscription per cadence in the cart.
What happens when a subscriber's card is declined?
The subscription moves to past_due, you get subscription.past_due, and Flint emails the customer a link to update their card. Flint retries on days 1, 4, 9, 16 after the decline by default, and any success restores the subscription to active. You can point the subscription at a new card and start a manual retry at once; a failed manual retry sends subscription_payment_retry.failed. If every retry fails, subscription.dunning_exhausted reports the end action you configured: cancel, pause, or notify_only.
Can subscribers skip, pause, or cancel on their own?
Yes. Every Flint merchant has a buyer account where subscribers can update their card or address, skip the next shipment, change how often it comes or the quantity on a line you let them adjust, within the limits you set, swap to another variant you allow, order the next one now, pause and resume, reverse a scheduled cancellation, and cancel. Your settings decide how long a pause can be, whether cancellations end at the period’s close, which reasons a buyer chooses from, and whether a pause is offered before a cancel. A headless account gets the same actions through the /v1/me/subscriptions endpoints.
How do I move subscribers from another billing tool?
Create each subscription with an imported billing start: the start of the period the buyer already paid for, and completed_cycles from the old tool. Flint charges nothing for that period and takes over at the next renewal. Preview each body first with mode: "create", which runs every check a real create runs and creates nothing, or upload a CSV on the dashboard’s import page, which checks every row before it imports. Subscribers don’t need a saved card to be imported: Flint can copy eligible saved cards from Stripe when you ask, and Flint’s emails ask any subscriber without a card to add one before their next billing date. Leaving Stripe? The Stripe migration guide maps each object.
Can a subscription ship physical products?
Yes. A plan's lines can come from your catalog by variant or bundle, and an offer covers catalog products directly. The buyer picks a delivery method at signup, and every renewal is an order with their address, a shipping charge, tax for that address, and a fulfillment you ship like any other order. If a renewal can't ship, Flint holds it without charging and asks the buyer or you to fix delivery. Physical plans don't take a free trial; discount the first box with a promotion instead.
How much does Flint charge for subscriptions?
Card payments cost 3.79% + 35¢ with processing included and no monthly fee. A payment that starts or renews a subscription adds 0.40%, on the whole amount Flint collects, including shipping, tax, and one-time items in the same cart. On a $29.00 renewal that is $1.57 in total. Refunds carry no extra fee. See pricing.
How do I test renewals?
Use a daily plan in the sandbox so a renewal arrives within a day instead of a month. Pay with 4242 4242 4242 4242 and every cycle succeeds. Pay with 4000 0000 0000 0341 and the card saves but every charge fails, which runs the whole past_due and retry path through your webhook feed without waiting for a real decline.
Is Flint an alternative to Stripe Billing?
Yes, for businesses that want subscriptions on the same orders, checkout, and buyer account as everything else they sell. Flint processes cards on Stripe, so you don’t need a Stripe account of your own. On Flint each renewal is an order that can ship, subscribe and save works across your catalog, and imported subscribers aren’t charged twice for the month they move. Stripe Billing creates an invoice and a PaymentIntent for each payment due. Flint vs Stripe compares the rest.


