When one of its customers taps her credit card on a state-of-the-art card reader to buy a Starbucks grande latte, her money passes through no fewer than five different intermediaries before reaching Starbucks’s bank account. The transaction takes seconds to clear but days to settle.

