E-commerce giant eBay Inc. reached a deal to buy online and mobile payments technology provider Braintree for $800 million in cash.

The move comes as eBay’s PayPal unit works to evolve from its roots as an online payments provider, expanding its offline, mobile and online offerings to stores, restaurants and other business.