Deposits finance bank lending and serve as means of payment for bank customers. Under uncertain payment flows, deposits are debts with random maturities. Payment outflows drain reserves, and the risk is most prominent when funding markets are under stress and banks are unable to smooth out...