(Reuters) - EBay Inc said it would buy payment gateway Braintree for about $800 million in cash to add to its PayPal business.