ACH debit payments
ACH debit lets a US buyer pay once, in USD, straight from a checking or savings account. The buyer verifies the account instantly, accepts a debit authorization, and the money arrives a few business days later. In Flint it's the ach_debit payment option on the same PaymentIntent, order, Refund, and Dispute resources you use for cards, and it sends the same webhooks.
Plan for two differences from a card:
- Payment is final days after the buyer finishes. The payment sits in
processinguntil the buyer's bank settles or rejects the debit. A finished checkout or aprocessingstatus means the debit was submitted, not that you were paid. - A settled payment can still be pulled back. The buyer's bank can return a debit after it settles. Flint reports that as a Dispute with
case_typebank_return, and there's nothing to contest.
Every ACH debit is one-time and on-session, with automatic capture and instant bank verification. Flint doesn't save the bank account for later charges, and it doesn't offer microdeposit verification, so a buyer whose bank can't verify instantly needs another option. Offer card beside it.
How an ACH payment flows#
- Your backend sends create the PaymentIntent with ach_debit and transaction_purpose to Flint
- Flint returns payment_collection with the bank verification options to Your backend
- Browser sends the buyer verifies the bank, accepts the authorization, and Stripe.js creates a ConfirmationToken to Browser
- Browser sends ctoken_... to Your backend
- Your backend sends POST /confirm with the token to Flint
- Flint sends submits the debit to Buyer's bank
- Flint returns status processing, and payment_intent.processing to Your backend
- Buyer's bank sends settles or rejects the debit, days later to Flint
- Flint sends payment_intent.succeeded or payment_intent.payment_failed to Your backend
Flint Checkout, payment links, and the hosted invoice page run this whole sequence for you. A checkout you build on an embedded checkout session follows it through the order, as Your own checkout describes. A PaymentIntent you create and confirm yourself follows it step by step, as in Accept an ACH payment on your own page.
Turn on ACH debit#
ACH debit is off by default. Turn it on once in each environment: check Bank account (ACH Direct Debit) in Settings > Checkout in the dashboard, or add ach_debit to your checkout payment options over the API:
curl -X PATCH https://api.withflintpay.com/v1/settings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"checkout": {"enabled_payment_options": ["card", "ach_debit"]}}'
For invoices, add ach_debit to invoices.payment_policy.enabled_payment_options instead. payment_policy is replaced as a whole, so send every field of it you want to keep.
The environment's payment account must be set up first, and it must be a US account. Otherwise the change fails with 409 PAYMENT_OPTION_UNAVAILABLE: reason requirements_due until account setup is done, or payment_option_not_available for an account outside the US. The error's next action points to GET /v1/merchant.
Saving the setting asks the payment processor to enable bank debits for that environment. Sandbox and live are separate environments, so turn ACH on in each. Activation usually completes on its own. Buyers are offered ACH only once it has:
Buyers see only card until accept_ach_debit_payments is ready in readiness.capabilities on GET /v1/merchant. Check it after you turn ACH on, in each environment you use.
curl https://api.withflintpay.com/v1/merchant \
-H "Authorization: Bearer YOUR_API_KEY"
Find the entry whose capability is accept_ach_debit_payments in readiness.capabilities:
status on capability readinessTo request ACH while a new merchant is onboarding, include accept_ach_debit_payments in requested_capabilities when you advance onboarding.
Turning ACH debit off stops offering it to buyers. The account keeps its activation, so turning it back on takes effect right away. Debits already processing still settle, fail, return, and refund as usual.
Eligibility#
Flint checks every payment on its own. ACH debit is offered only where all of these hold:
| Rule | details[0].reason when it fails |
|---|---|
| The currency is USD. | currency_not_supported |
| The amount is within the limits for the surface. | amount_out_of_range |
Capture is automatic. ACH isn't offered with capture_method manual. | manual_capture_not_supported |
| No line item on the order tracks inventory. A debit stays unresolved for days, and Flint doesn't hold stock that long, so an order with a tracked line item is card only. | bounded_inventory_guarantee_not_supported |
| The payment is one-time and the buyer is present. Subscriptions, invoice autopay, and other off-session charges don't offer ACH. | recurring_not_supported, recurring_ach_not_supported, or off_session_not_supported |
| The surface supports bank debits. Virtual terminal doesn't. | source_delayed_settlement_not_supported |
| Flint can tell why the money is being taken. See Transaction purpose. | transaction_purpose_unresolved |
Where ACH isn't eligible, Flint Checkout, payment links, and the hosted invoice page leave the bank option out and show the other options. A request that asks for ACH anyway fails with PAYMENT_OPTION_UNAVAILABLE, and details[0].reason names the rule.
Amount limits#
The minimum is $1.01, so that the $1.00 minimum processing fee stays below the payment. The maximum depends on where the payment is collected:
| Surface | Where you turn ACH on | Maximum | Highest limit Flint can approve |
|---|---|---|---|
| A PaymentIntent you create | payment_options on the request | $100,000.00 | $100,000.00 |
| Checkout session, hosted or embedded | payments.enabled_payment_options, or your checkout settings | $50,000.00 | $100,000.00 |
| Payment link | Your checkout settings | $25,000.00 | $50,000.00 |
| Invoice | The invoice's payment_policy.enabled_payment_options | $100,000.00 | $100,000.00 |
Limits you set in payment_limits on PATCH /v1/settings can narrow this range but not widen it. To go above the maximum, ask Flint support to approve a higher limit, up to the last column.
A PaymentIntent outside the range fails at create with 409 PAYMENT_OPTION_UNAVAILABLE, reason amount_out_of_range, and param amount_money.amount. When the amount is too high, details[0].maximum_money carries the limit, and the message says whether your own limit or Flint's set it. Collecting an invoice whose balance is over the limit fails with 409 PAYMENT_OPTION_UNAVAILABLE and the same reason.
Transaction purpose#
Every bank debit records why the money is being taken: goods, services, or other.
A PaymentIntent you create declares it in transaction_purpose. It's required when payment_options includes ach_debit, rejected otherwise, and fixed once the payment intent exists.
An order derives it from its line items:
goodswhen any line item is sold from a product whoseproduct_typeisphysicalordigital.serviceswhen at least one line item is aserviceproduct and every other line item is aserviceorfeeproduct.otherfor a donation payment link.
Anything else can't take ACH: an order with no line items, one made only of fee products, or one with a custom line item, which has no product type, and no physical or digital product beside it. When the buyer reaches the payment step, Flint refuses ACH on that order with 409 PAYMENT_OPTION_UNAVAILABLE and reason transaction_purpose_unresolved. Sell those items from catalog products with a product_type, or don't offer ach_debit for that order.
Hosted checkout and payment links#
Turn on ach_debit in the session's payments.enabled_payment_options, or leave the field out to inherit your checkout settings:
curl -X POST https://api.withflintpay.com/v1/checkout-sessions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: checkout-ord-1kmn0aExample" \
-d '{
"type": "order",
"order_id": "ord_1kmn0aExample",
"payments": {"enabled_payment_options": ["card", "ach_debit"]},
"buyer_fields": {"require_email": true},
"redirects": {"success_url": "https://shop.example.com/orders/1042/thanks"}
}'
When the order is eligible, Flint Checkout offers a bank account tab. It collects the buyer's name and email, runs instant bank verification, shows the debit authorization, and submits the debit.
The buyer then sees a receipt stamped "Processing", under a heading such as "Your $25.00 bank payment to Example Shop is processing". It tells them bank payments take a few business days to clear, that the receipt will be emailed when the payment clears, and that they can close the checkout. Flint Checkout doesn't send the buyer to redirects.success_url while the payment is processing, because that page is for a paid order.
A payment link uses your checkout settings and the same flow. A link checkout whose payment is still processing hasn't completed the link yet.
Invoices#
The hosted invoice page and invoice checkout sessions offer ACH when the invoice's payment_policy.enabled_payment_options includes ach_debit. With show_cost_comparison, the invoice also shows the buyer what they'd save by paying from their bank instead of by card.
When the buyer pays by bank, the invoice payment attempt carries rail ach_debit and stays processing until the debit settles or fails. Follow invoice_payment_attempt.settled or invoice_payment_attempt.failed. Pay from the hosted invoice covers the attempt.
Your own checkout#
A checkout you build on an embedded checkout session offers ACH through the order, the same way it offers card. Turn on ach_debit in the session's payments.enabled_payment_options, or leave the field out to inherit your checkout settings. Then:
- Mount the Payment Element from the order's
payment_collection, read with the checkout credential. Bank verification and the debit authorization run inside it. - Create the ConfirmationToken with the buyer's billing name and email, as in step 3 below.
- Pay with
POST /v1/orders/{order_id}/pay. The payment attempt staysprocessinguntil the bank answers, and it isn't resumable meanwhile. Show the buyer that the payment is processing, and don't start another payment for the order: a second pay call returns409 PAYMENT_ATTEMPT_ACTIVE. - Fulfill from
order.paid, never from the pay response.
ACH needs no payment_return_url, because the buyer never leaves your page. The same steps work for an invoice checkout session created with "surface": "embedded". Build your own checkout walks through the order flow.
Accept an ACH payment on your own page#
This flow builds on Server-confirmed payments: your backend creates the PaymentIntent, the browser collects the bank account with Stripe Elements, and your backend confirms through Flint.
While the payment is processing#
- requires_payment_method moves to processing on confirm
- requires_payment_method moves to canceled on cancel
- processing moves to succeeded on the bank settles
- processing moves to requires_payment_method on the bank rejects
- succeeded on bank return: arrives as a Dispute
status | What it means | What to do |
|---|---|---|
requires_payment_method | No bank account was collected yet, or the bank rejected the last debit. | If last_payment_error is set, read it and collect again with a new token. |
processing | The debit was submitted and the bank hasn't answered. | Keep the order unfulfilled. Wait for a webhook, or read the payment again. |
succeeded | The bank settled the debit. | Fulfill once, from the webhook or this read. |
canceled | The payment was canceled before a debit was submitted. | Stop collecting. |
A processing payment can't be canceled or changed. supported_actions is empty, and the refusals are:
- Canceling or updating a PaymentIntent you created returns
409 ACTION_NOT_ALLOWEDwith reasonin_progress.details[0]names the payment intent inresource_typeandresource_id, withcurrent_statusprocessing. - Canceling an order payment attempt that's waiting on the debit returns the same refusal.
The order isn't paid while the debit is processing, and Flint holds its payment collection until the outcome is known. To give money back after the debit settles, refund it.
Warning: Fulfill on success, never on processing
A finished checkout, a pay response, and a processing status all mean the same thing: the debit was submitted. Fulfill from payment_intent.succeeded, or from order.paid for an order, and from nothing earlier.
Webhooks#
ACH adds no event types. payment_intent.processing matters more than it does for a card, because it's the last event you receive for days:
Refunds send the usual refund.* events. Webhooks covers signature checks and durable delivery.
Failures and retries#
When the bank rejects a debit before it settles, the PaymentIntent returns to requires_payment_method with last_payment_error set. Its code is a Flint code, not a bank return code:
last_payment_error.code | Meaning |
|---|---|
insufficient_funds | The account couldn't cover the debit. |
bank_account_closed | The account is closed. |
bank_account_not_found | No account matched the details. |
bank_debit_not_authorized | The account holder didn't authorize the debit. |
bank_account_restricted | The account can't accept this debit. |
bank_debit_limit_exceeded | The debit was over the account's limit. |
payment_failed | The bank gave a reason Flint doesn't map to one of these. |
The failed attempt is finished. To try again, collect a bank account or card with a new ConfirmationToken and confirm again. Whether to offer the bank option a second time is up to you: Flint doesn't change payment_options after a failure. Declines and payment attempts covers retries on an order.
Bank returns#
A payment that settled and is pulled back later is a bank return. Flint reports it with the same Dispute resource as a card chargeback:
case_typeisbank_returnandpayment_optionisach_debit.reasonisinsufficient_funds,debit_not_authorized,bank_account_not_found, orother.statusislostwhen it arrives.can_respond_with_evidenceandis_action_requiredarefalse,evidence_due_atisnull, andresponse_unavailable_reasonisbank_return_not_contestable.
There's no evidence to submit and no outcome to influence. The returned money has already left your balance, so collecting again means a new payment from the buyer. Route these cases to accounting and buyer outreach rather than your evidence queue, and filter on case_type so they never look like work waiting on a deadline. Bank returns in the disputes guide has the full shape.
Refunds#
Refund an ACH payment with POST /v1/refunds, as you would a card. Full and partial refunds both work, and a refund doesn't return the processing fee. Refunds are funded from your available balance.
A bank return reduces what remains refundable, just as a refund would. After a full return there's nothing left, so a refund fails with 409 ACTION_NOT_ALLOWED and reason payment_disputed. Flint handles a refund and a return one at a time, so the same money can't go back twice. Treat payment_disputed, either as that refusal or as a refund's failure_reason, as the buyer already having the money back through their bank. ACH returns and refunds covers each case.
Fees#
ACH debit is priced as a percentage of the payment with a $1.00 minimum fee and no fixed amount. The percentage depends on your plan; see Processing fees. Because settlement is delayed, so is the fee: processing_fee_money is final when the payment succeeds, not when you confirm it. A payment that fails or is canceled before it succeeds has no processing fee.
Three bank-debit events carry an event fee instead. Event fees are charged to your merchant account, not deducted from the payment:
| Event | Fee |
|---|---|
| The buyer's bank account is verified at collection | $1.50 |
| The debit fails after Flint submits it to the bank | $4.00 |
| A settled payment is returned | $15.00 |
A payment that fails before Flint submits it to the bank carries no failure fee.
Test in a sandbox#
Bank debits in test mode use routing number 110000000. Pick the account number for the outcome you need:
| Account number | Outcome |
|---|---|
000123456789 | Succeeds. |
000222222227 | Fails for insufficient funds. |
000111111113 | Fails because the account is closed. |
000111111116 | Fails because no account exists. |
000333333335 | Fails because the debit isn't authorized. |
000555555559 | Succeeds, then creates a bank return. |
000000000009 | Stays processing. |
Sandbox bank accounts verify instantly. Microdeposit account numbers and verification codes do nothing, because Flint doesn't offer microdeposit verification. Use 000000000009 to check that a processing payment leaves the order unpaid and can't be canceled, and that your integration fulfills only after payment_intent.succeeded or order.paid. Testing lists these beside the test cards.
Errors#
Go-live checklist#
ach_debitis in the payment options of each live surface you use: checkout settings for checkout sessions and payment links, the payment policy for invoices, andpayment_optionsfor PaymentIntents you create.accept_ach_debit_paymentsisreadyin live. Turning ACH on in a sandbox doesn't carry over.- Every PaymentIntent with
ach_debitdeclarestransaction_purpose, and orders that offer ACH are sold from catalog products with aproduct_type. - Your checkout sends a billing name and email with every bank debit.
- Fulfillment waits for
order.paidorpayment_intent.succeeded, never a redirect, a pay response, orprocessing. - Your webhook endpoint subscribes to the processing, success, failure, dispute, and refund events above.
- Support and accounting know that a successful ACH payment can be returned later, and where bank returns show up.
- If you turn
ach_debitoff later, keep the webhook endpoint live: debits already processing still settle, fail, return, and refund.
API calls#
Related guides#
Server-confirmed paymentsBuild your own checkoutHandling disputes- Refunds: refunds against a returned payment.
- Processing fees: the ACH rate on each plan, and event fees.
- Invoicing: ACH on the hosted invoice page.
- Testing: sandbox bank accounts beside the test cards.
- Webhooks: durable delivery of the events above.
