The model
A payment can pay one invoice, part of one, or several at once. A payment that hasn’t been applied to an invoice yet, such as a deposit, has a null
invoice.
When a payment settles
How long settling takes depends on how the customer paid:
A card payment pays down the invoice as soon as the charge succeeds. A bank debit pays it down once it settles. While a bank debit is settling, the invoice stays
Open with is_pending_close: true when the debit covers the balance. See Invoice status and aging.
Follow a payment
-
Find payments still settling.
GET /transactions?status=pendinglists payments the customer has made that haven’t settled yet, such as bank debits. -
Find settled payments.
GET /transactions(the default,status=settled) lists settled transactions. Filter bycustomer_uuid,customer_group_uuid,date_range,amount_range, ortransaction_type.Each transaction has itsamount,fee, andnet_amountin cents, theinvoiceit paid, and itspayout_date. A nullpayout_datemeans it hasn’t been paid out yet. -
Find the payout. List payouts returns your payouts, each with its gross
total, its fees indisbursement_fee_amount, anddisbursement_amount, the net that reached your bank. Get payout details adds thepaymentsinside it, each with its fee andlinked_invoice_identifiers.Matchdisbursement_amountandpayout_dateto the deposit on your bank statement, then usepaymentsto see which invoices it paid.
Pending payouts
A payout ispending from the moment Streamlined creates it until it’s sent to your bank. Then it gets a payout_date and turns paid. List pending payouts returns only the pending ones.
Refunds and chargebacks
Refunds and chargebacks are transactions too. Filter for them withtransaction_type=refund or transaction_type=chargeback. Money going back to a customer can reduce the payout it lands in, so a payout can be smaller than the payments inside it.