PayPal's developer platform is a set of REST APIs authenticated with OAuth 2.0. The Orders API handles checkout and the Payments API handles captures, authorizations and refunds. Subscriptions, Payouts, Disputes and Webhooks have their own APIs. The PayPal JavaScript SDK draws the buttons in the browser; PayPal's guide recommends its newer SDK version for new integrations, so we check the current guidance before building.
PayPal describes Braintree as a service of PayPal and a separate platform, with its own documentation, for cards, wallets and local payment methods. We help you choose between them when both could work.