Reconciliation
Reconciling Flint answers two questions:
- What was in this deposit? List the balance transactions a payout carried and trace each one to its order.
- Does this period tie out? Sum the balance transactions in a date window and compare the result with what you recorded.
Both answers come from balance transactions, one row for every movement of your Flint balance. Each row has a gross amount, fee, the net effect, and links to the order and resource that caused it. An order's totals say what the buyer owed. Balance transactions say what reached your balance, and that is the number your bank deposits have to match.
Adding expand=order to a balance transaction request also needs commerce.orders.read. The examples send Flint-Version: 2026-09-07; older API versions report some of these fields differently.
Read a balance transaction#
curl https://api.withflintpay.com/v1/balance-transactions/btxn_01KEZF7C00DDB37NDTWTG7DDNW \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Flint-Version: 2026-09-07"
{
"data": {
"balance_transaction_id": "btxn_01KEZF7C00DDB37NDTWTG7DDNW",
"merchant_id": "mer_01KEZF7C00MPP0T9S0KH5BB4CC",
"type": "payment",
"status": "available",
"currency": "USD",
"amount_money": { "amount": 5000, "currency": "USD" },
"fee_money": { "amount": 225, "currency": "USD" },
"fee_details": [
{ "type": "flint", "amount_money": { "amount": 175, "currency": "USD" } },
{
"type": "platform_fee",
"amount_money": { "amount": 50, "currency": "USD" },
"platform_fee_id": "pfee_01KEZF7C00Y8E2V4N6M0K3H5RP",
"partner_app_id": "papp_01KEZF7C00Z9D3W5N7M1K4H6RQ"
}
],
"net_money": { "amount": 4775, "currency": "USD" },
"occurred_at": "2026-03-17T14:30:00Z",
"available_at": "2026-03-19T00:00:00Z",
"order_id": "ord_01KEZF7C00JBKMARG3P06Z224B",
"related_resource": {
"resource_type": "payment_intent",
"resource_id": "pi_01KEZF7C0050JFFB0HNCWWV1G3"
},
"related_balance_transaction_ids": [],
"payout_id": "po_01KEZF7C00RBBMAC0BH4X99WCA",
"description": "Payment for order 1001"
},
"request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}
| Field | What it tells you |
|---|---|
type | The kind of movement. See Balance transaction types. |
amount_money | The signed gross amount, before any fee. |
fee_money | The fee on this movement: positive when charged, negative when returned, and zero when none applies. On a payment it equals the payment intent's processing_fee_money plus every amount in add_on_fees plus platform_fee.amount_money when a partner app charged one. Use fee_details for the split. On a dispute or reversal it includes a processor dispute fee deducted from or returned to your balance. |
fee_details | On a payment charged a platform fee, the original fee split: flint includes processing and add-on fees; platform_fee includes the partner app's fee, with platform_fee_id and partner_app_id. Amounts are zero or positive and sum to the magnitude of fee_money. Later refunds do not reduce them. Absent on movements without a platform fee. |
net_money | The signed effect on your balance: amount_money minus fee_money. |
status | pending until the funds can be paid out, then available. |
occurred_at | When the movement happened. Period reports filter on this. |
available_at | When the funds become available to pay out. On a pending row it is the expected time. |
order_id | The order behind the payment, refund, or dispute, once identified. Payments for invoices carry an order only when the invoice already has one. |
related_resource | The Flint resource that caused the movement, as resource_type and resource_id: a payment_intent, payment_split, refund, dispute, payout, payout_destination, merchant_billing_invoice, or platform_fee_payout. Absent when there is none. |
related_balance_transaction_ids | Earlier rows this one is linked to, such as the payout row that a payout_failure returns. Empty when there are none. |
payout_id | The payout that carried this row to your bank. Absent until that payout's contents are prepared, and on rows no payout carries. |
description | Text for display. Don't match on it. |
Note: Sum net_money, and only net_money
net_money already has the fee taken out. Summing net_money gives what a set of rows did to your balance; subtracting fee_money afterward counts the fee twice. Sum fee_money on its own to report the fees on those movements.
Every amount is a signed integer in minor units, in the row's own currency. Flint never converts or combines currencies, so group rows by currency before you add anything. Money & currency covers minor units and signed fields.
Use filters to trace one thing through the ledger:
order_id=ord_...returns movements Flint has linked to that order: payments, refunds, and disputes. A movement whose owner is still unknown has no order link.related_resource_typeandrelated_resource_idtogether return the movements one resource caused, such asrelated_resource_type=refund&related_resource_id=ref_....related_resource_idneedsrelated_resource_type, and the ID must be a Flint ID of that type.typetakes one or more types, repeated or comma-separated, such astype=refund,dispute. Filter ontyperather than the sign ofamount_money, because several types post negative.
Match a deposit to its contents#
A bank deposit from Flint is a payout. Find the payout, list what it carried, and check that the rows add up to the deposit.
When a payout's contents are fixed#
Flint prepares a payout's contents once, when your processor finishes reconciling the payout. That is usually within minutes of the payout being created, before it is succeeded. Preparing the contents sets payout_id on every row in the same step, and Flint publishes them only when they all exist, none already belongs to another payout, and they add up to amount_money. You never see part of a payout's contents.
After that the contents don't change, whatever happens to the payout. A row's payout_id is never changed or cleared, and no row moves to a later payout, so you can book a payout's contents as soon as the list succeeds. The payout's own payout row isn't part of its contents. Setting payout_id sends balance_transaction.updated for each assigned row. Read the complete contents with the payout_id filter. What's in a payout has the full rules.
Responses that aren't contents#
Payouts that don't list their contents#
A payout you send yourself moves an amount you chose, so it has no contents to list. Reconcile the deposit against its own payout row, whose related_resource is the payout:
curl "https://api.withflintpay.com/v1/balance-transactions?type=payout&related_resource_type=payout&related_resource_id=po_01KEZF7C00RBBMAC0BH4X99WCA" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Flint-Version: 2026-09-07"
That row's negative net_money is the amount that left your Flint balance. The rows that funded it never get its payout_id.
Match a withdrawal#
List GET /v1/payouts?direction=inbound&arrival_date_from=2026-03-20&arrival_date_to=2026-03-21 and match the bank withdrawal on the positive amount_money, arrival date, and statement descriptor. Read the movement with GET /v1/balance-transactions?type=inbound_payout&related_resource_type=payout&related_resource_id=<payout_id>.
An inbound payout has no contents. Its positive inbound_payout row names it in related_resource, while the row's payout_id stays absent until a later outbound payout carries it. A later deposit's contents can therefore include an inbound_payout row. If the withdrawal fails, the negative inbound_payout_failure row links back to the positive row.
When a payout fails or is reversed#
The deposit's money comes back to your balance as a new row, and the payout's contents stay as they were:
- A failed payout's
statusbecomesfailed, and apayout_failurerow returns the amount. Itsrelated_balance_transaction_idsholds the payout'spayoutrow, and the two net to zero. - A payout canceled before it was sent becomes
canceled, and apayout_cancellationrow returns the amount once your balance was debited. - A paid payout that Flint pulls back from your bank keeps
statussucceeded, itsreversal_statusbecomesreversed, and apayout_reversalrow returns the amount.
The returned row has no payout_id until a later payout carries it. That later payout lists the payout_failure or payout_reversal row in its contents, not the original payments. Payouts covers what to do about the failed deposit.
Close a period#
To check a month, list every balance transaction that occurred in it, one currency at a time:
curl "https://api.withflintpay.com/v1/balance-transactions?currency=USD&occurred_after=2026-10-01T00:00:00Z&occurred_before=2026-11-01T00:00:00Z&page_size=100" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Flint-Version: 2026-09-07"
occurred_after is inclusive and occurred_before is exclusive, so consecutive windows neither overlap nor leave a gap. Both are RFC 3339 timestamps on occurred_at. To select by when funds became payable instead, use available_after and available_before.
Read every page, then:
- Sum
net_money. The total is the change in your balance from the movements in that window. It holds while a payout you created is still in progress: until itspayoutrow posts, the amount sits in the balance'sheld_moneyand out ofavailable_money, and the ledger hasn't moved yet. - Group by
type. Payments, refunds, disputes, and payouts each get a subtotal, and the sum offee_moneyis the fees on those movements in the period. - Check
meta.history. It is absent when Flint's history for this list is complete. When it's present,meta.history.statussays why the list might be missing older rows:backfillingwhile Flint imports earlier history from your processor,partialwhen Flint hasn't imported the full history, andunavailablewhen Flint can't tell. The list still returns every row Flint has. Wait formeta.historyto be absent before you close the period on these totals.meta.history.latest_reconciled_at, when present, is when Flint last finished reconciling the history with your processor.
Rows stay in later lists once they appear. Money that comes back, or a correction, posts as a new row, such as a recovery, payout_failure, or adjustment, dated when it happened. The only changes to an existing row are status moving from pending to available and payout_id being set.
Costs that aren't on this ledger#
Some charges never touch a balance transaction's fee_money. Event fees for an ACH bank return, a failed ACH payment, instant bank verification, or a card dispute whose processor fee Flint paid are charged to your merchant billing balance, as are Flint's invoices to you. A dispute fee deducted directly from your balance is already in the dispute transaction's fee_money and carries no additional event fee for the same cost. To account for event fees, list merchant billing entries for the same window:
curl "https://api.withflintpay.com/v1/merchant-billing-entries?type=event_fee¤cy=USD&occurred_after=2026-10-01T00:00:00Z&occurred_before=2026-11-01T00:00:00Z" \
-H "Authorization: Bearer YOUR_API_KEY"
When Flint collects what you owe out of your balance, the collection does appear here, as a merchant_billing_collection row. Merchant billing covers the entries and how each collection links to the fee or invoice it paid.
For a downloadable copy, the balance_transactions_itemized_v1 report has the same rows with the same signs. See Reports.
For new offers that include card_dispute_countered, a platform-paid countered fee appears in merchant billing. A full win and the processor's fee return produce one credit_issued entry linked to that assessment. The received card_dispute fee is retained. Partial wins and losses produce no countered-fee credit, and existing offers without the countered rule stay unchanged.
Balance transaction types#
type says what a row is. A movement Flint doesn't map to a named type is returned as other.
type on balance transactionPending and available#
status on balance transactionA list without a status filter returns rows in both statuses. Payments settle on their own schedule, and an ACH payment succeeds days after it is confirmed, so a payment from today can land in a later deposit. Reconcile on occurred_at and available_at, not on the date you took the order. When funds become available explains the delays.
Keep your books in sync with webhooks#
Instead of listing the ledger repeatedly, record rows as they arrive:
- Store rows by
balance_transaction_id. Events can arrive more than once and out of order, so anupdatedevent can reach you before itscreated. Write the row whether or not you've seen it, and never move a row fromavailableback topending. - Read payout contents from the API. Assignment sends
balance_transaction.updatedwithpayout_id. Use that ID to list the complete contents. You can also start frompayout.createdorpayout.succeededand retry the503until the contents are prepared. - List the window before you close it. Compare what your webhook handler stored with a full list of the period, so a delivery that's still being retried doesn't leave a gap.
Webhook event payloads lists the fields each event carries, and Webhooks covers delivery and retries.
Older API versions#
Before API version 2026-09-07, balance transactions report fee_money with the opposite sign, so a charged fee is negative and net_money is still the effect on your balance. They also name the timestamp created_at instead of occurred_at, and link the source as related_object instead of related_resource. The balance_transactions_itemized_v1 report always uses the 2026-09-07 signs. API versions and upgrades explains how to move to the current version.