A Node wallet service lets customers spend the same balance twice under parallel requests and duplicates ledger rows when the payment SDK retries. Make the transfer path safe under concurrency, retries and bad input.
Small samples mislead, so acceptance and distributions wait for enough attempts.