What a Stripe payout contains
Stripe says sending funds from the available balance to the bank creates a payout. Automatic payouts follow the account's payout schedule and can include funds from multiple transactions. The payout object has an amount and a status. Retrieving the payout does not itself list the transactions inside it. Stripe says to open the payout in the Dashboard, use the payout reconciliation report, or list the balance transactions for that payout.
Every funds movement in or out of the Stripe account creates a balance transaction. Stripe's examples of type include charge for a customer payment, refund for funds returned to the customer, stripe_fee for a Stripe fee, and payout for the transfer to the bank. A refund is a new balance transaction. It does not rewrite the original charge transaction.
Disputes are not labeled as ordinary refunds in that type list. Stripe says that when a customer disputes a charge, the deduction is a balance transaction of type adjustment whose source is the dispute. A won dispute can return funds as another adjustment. The reporting category separates those adjustments into disputes, dispute reversals, and failed refunds. A card refund uses type refund. A partial-capture reversal can also use type refund while its reporting category is partial_capture_reversal. Read both fields before calling every negative line a customer refund.
If the business creates manual payouts, Stripe says it cannot identify which transactions are included, and the business reconciles those payouts against its own transaction history. Do not expect an automatic payout report to explain a manual payout.
This is Stripe's ledger. A different provider's payout file uses that provider's names. Do not rename another provider's lines with Stripe's types.