Balances & transactions
The ledger — how much money your account holds, and every entry that got it there.
A Balance tracks how much money an account holds in one currency: what is available now and what is still held. Money always sits on an account — yours, or one of your connected accounts — never on a customer. A Balance Transaction is one ledger entry: every charge, refund and payout posts one.
How it works
- Every money-moving action — a successful Charge, a Refund, a Payout — automatically posts a Balance Transaction and updates your balance.
- Retrieve your balance in the current
country, per currency.
owed_to_connectedshows what you owe your connected accounts. To read one connected account, retrieve its balance: the response addsowed, what you owe it. - Funds are
available(can be paid out now),pending(still inside the settlement period),reserved(withheld, for example against disputes) orheld(on its way out in a payout). The split is always visible on the balance. - Balance Transactions can be listed
(pass
account=acct_…to see one account's entries) or retrieved individually.
Think of the Balance as the current total, and Balance Transactions as the bank statement that explains how it got there — always reconcile against the transactions, not just the balance number.
Customers have no balance
A payment's money goes to you. To share it with a seller or partner, make
them a connected account and set transfer_data.destination to its acct_…
ID: their share is recorded as owed to that account, and you pay it with a
payout. A customer ID (cus_…) or
your own account as the destination is refused with E4909.
The one place a customer carries money is invoice credit: a credit note can
leave credit in the customer's invoice_balance, which is applied to their
next invoice. It is not a balance you can pay out or charge against.
Record-only rows
Some rows record money PaymentGateway does not hold: what you owe a connected
account on a destination charge, the application fee you earned from it, and
payments into your own provider account. They are listed so every part of a
payment is visible, and each carries record_only: true (plane: "memo").
They never add into a balance, so filter them out with
filter[record_only]=false when you total amounts. A charge's balance
transactions also include those of its refunds, disputes and application fee
refunds.
Common use cases
- Reconciling "why did our available balance drop by this amount today?"
- Checking what you owe each connected account before paying it out.
- Confirming a payout actually posted before considering it settled.