JavaScript SDK

SDKCurrentLast updated: April 24th 2024, @ 3:47:01 pm

The JavaScript SDK displays PayPal-supported payment methods on your page to give your buyers a personalized and streamlined checkout experience.

You can use the JavaScript SDK to render buttons, payment method icons (marks), and credit and debit card form fields (card-fields). You can also use the JavaScript SDK to check the funding-eligibility of a given payment method.


Configure and customize your integration by passing query and script parameters in the JavaScript SDK script. These parameters personalize your setup and help PayPal decide the optimal funding sources and buttons to show to your buyers.


The complete JavaScript SDK reference for the objects and methods.

Performance optimization

Optimize loading the JavaScript SDK and rendering the payment buttons for the best performance.

See also

Create copy and paste pay links and buttons.