Skip to main content

Money Movement Quiz

Last Updated: 2026-12-01 Status: Complete

Test your judgment on payouts, reserves, negative balances and fees. Answers are collapsed; try each question first.

Question 1: The reserve base​

Finance says the 10% reserve is computed on gross sales, but the code uses net sales after refunds. A merchant had $10,000 of sales, $500 of refunds and $200 of fees. What do you do?

View answer

The reserve base is a contract term, so the contract decides, not the developer. On a gross base the reserve is $1,000 and the payout $8,300; on a net base it is $950 and $8,350. Store the base as a field on the versioned reserve policy, fix the code for new settlements, and with finance and legal quantify what was already held before adjusting anything. Corrections are release or hold entries, not edits. See Payout Architecture.

Question 2: Rerunning a crashed payout job​

A nightly payout job crashed halfway and was restarted. How do you guarantee nobody is paid twice?

View answer

Give each scheduled payout a deterministic key (merchant, currency, payout date), which extends the blog's payout_{merchantId}_{date}_{sequence} with currency so USD and EUR payouts on one day do not collide, and enforce it with a unique constraint. Create the payout and its ledger entries in one transaction, and insert with ON CONFLICT DO NOTHING so a duplicate skips one payout rather than failing the run. Submission to the rail is a separate step fed by an outbox row, with a sweeper resubmitting stale scheduled payouts. Keys protect your own boundary only; below it, use the bank's trace identifiers. See Payout Architecture and Idempotency in Payments.

Question 3: A returned ACH payout​

An ACH payout shows paid, and the next day the bank returns it as account closed. What should the system do?

View answer

Treat paid on ACH as provisional. Post a reversing entry that re-credits the sub-merchant payable, set the payout to returned, and block the destination account so the next run cannot reuse it. Ask the merchant for a new account and verify it. Never edit the original entries. Reconcile the return against the bank statement by trace number, and review return-rate thresholds on Key Numbers. See Payout Architecture.

Question 4: Choosing a payout rail​

A marketplace wants "instant payouts" for sellers, including some above the usual ACH amounts. How do you decide the rail for each payout?

View answer

Build a decision table on amount, currency, destination capability, seller preference and cost. Instant rails (RTP, FedNow, push-to-card) have per-payment limits and receivers must participate; ACH is cheap but slower and returnable; wires suit large or urgent amounts. Fall back to another rail on rejection, never by retrying blindly. Treat instant payout as a fee event and finality differs by rail, which affects your risk. See Payout Architecture.

Question 5: Rolling reserve release​

A merchant's reserve holds are due for release today, but the merchant has an open chargeback and a negative balance. What should the release job do?

View answer

It should not blindly release. Check open liabilities under a row lock; if the merchant owes money, skip the release or apply the held reserve to the liability, in whole or in part, with reason applied_to_loss, recording the ledger entry and approver where required. Remaining equals the hold amount minus all releases and applications, and only the surplus is released. The status check under a lock keeps reruns safe. Policy on holding periods comes from your contract; see Reserves and Negative Balances.

Question 6: Changing reserve terms​

Risk wants to raise a merchant's reserve rate immediately and apply it to funds already settled last week. How do you implement it?

View answer

Create a new effective-dated policy version; never edit the old one. It applies prospectively to settlements after its start. Whether existing funds can be held depends on the merchant agreement, so involve legal; if permitted, create explicit hold records with a reason and approval rather than rewriting history. Notify the merchant per the contract, and keep the old version for audit. See Reserves and Negative Balances.

Question 7: Negative balance recovery​

A merchant has refunded more than it sold and its balance is negative. What recovery order do you implement?

View answer

Net against incoming settlements, then apply held reserve, then an ACH debit of the merchant's bank account under a valid authorization, then collections, then an approved write-off. Cap debit attempts, pause payouts when the cap is reached, post each step as a ledger entry and alert on age and size. Which party absorbs a write-off depends on your agreements, so model a loss-bearer field. See Reserves and Negative Balances.

Question 8: Refund with no balance​

A seller asks to refund a customer but its available balance is zero. What are your options?

View answer

Three policies: fund the refund from the platform and let the seller go negative (credit exposure), block it with a clear error (customer harm), or allow it up to a per-merchant negative limit. Choose by risk tier, store the policy as data, cap the allowed negative amount and make recovery start automatically from the next settlement. Alert when exposure grows. See Reserves and Negative Balances and Ongoing Monitoring.

Question 9: Fee rounding​

A fee of 2.90% plus a fixed amount is calculated on 1,999 minor units, and a three-way partner split leaves one unit unaccounted. How do you compute and record it?

View answer

Use bigint with basis points: amount times 290 divided by 10,000, with the rounding mode stored on the schedule version. Half-up gives 58 for the percentage part. For the split, compute all but one share and make the last the remainder, or post the difference to a rounding account, so the entry always balances. Never use floating point. See Payment Fee Engine Design.

Question 10: A merchant disputes a fee​

Interchange-plus fees were estimated at capture and the real cost came later; a merchant now disputes a charge from three months ago. What do you do?

View answer

Explain it from the data: each fee entry carries the schedule version, and the true-up at settlement is a separate linked entry. If a pricing error is found, post a credit entry with a reason code, a link to the original fee and an approver; do not edit the original. If the schedule assignment was wrong, add a corrected effective-dated assignment. Reconcile processor costs afterward. See Payment Fee Engine Design.

Share: