financialLegKind: "settlement" records value reaching the destination. Field definitions, statuses and paging for the full record are on Transactions.
Select the settlement row in your code
paymentId, then select the one whose financialLegKind is settlement.
The fee on the same payment is a separate row with financialLegKind: "fee_payout", so gross, fee and net tie out without recomputation. A chain that can fund a payment but cannot hold a settlement destination never produces a settlement row.
Read settlement.amount for what was delivered
settlement.amount, not the row’s top-level amount, which is stated from the requested account’s perspective.
Tie the row back to the payment
The settlement row carries no timestamp field, so the dated answer comes from the payment or from the ledger entries on the detail read.
Deposits report settlement on the deposit
A deposit at a reusable address settles to the same destination and carries its own settlement record, so you can follow confirmation without re-checking the source transaction.
A deposit detected before a destination change still settles to its
settlementProfileSnapshot. Reconcile against the snapshot, not against the account’s current profile.
Next: Settlement reconciliation
Match settled value to your own payables.