Green Dot's settlement files: the two CSVs their SFTP delivers each day, which file-sync copies
into s3://cfx-greendot-<stage>/.
GreendotSettlementFileAdminService.receive is called by s3-event-handler for every object
created in that bucket and publishes backoffice.greendotSettlementFile.created for a settlement
file; anything else is skipped. Nothing is stored.GreendotSettlementBatchAdminService.upsert writes one batch and its entries, and once the batch
is complete matches each entry to its deposit by partner reference or barcode and links it.GreendotSettlementReconciliationAdminService settles credits against batches. candidates
decides which batch each unreconciled Green Dot credit settles, with deposit candidates for one no
batch explains, and reconcile records a credit's batch and deposits.scripts/backfill-greendot-settlement.ts drives both over the whole bucket. See
docs/proposals/GREENDOT_SETTLEMENT_RECONCILIATION.md.