When floods destroyed one Pakistani farmer’s crops and income, they also destroyed her ability to get and repay the credit on which she, like millions of smallholders, depends. Rita Abiodun looks at a programme that offers much more protection from climate shocks to microfinance users.