We study a supply chain of a supplier selling via a wholesale price contract to a financially constrained retailer who faces stochastic demand. The retailer might need to borrow money from a bank to execute his order. The bank offers a fairly priced loan for relevant risks. Failure of loan repayment leads to a costly bankruptcy (fixed administrative costs, costs proportional to sales, and a depressed collateral value). We identify the retailer's optimal order quantity as a function of the wholesale price and his total wealth (working capital and collateral). The analysis of the supplier's optimal wholesale price problem as a Stackelberg game, with the supplier the leader and the retailer the follower, leads to unique equilibrium solutions in wholesale price and order quantity, with the equilibrium order quantity smaller than the traditional newsvendor one. Furthermore, in the presence of the retailer's bankruptcy risks, increases in the retailer's wealth lead to increased supplier's wholesale prices, but without the retailer's bankruptcy risks the supplier's wholesale prices stay the same or decrease in retailer's wealth.