Stripe on the Web

    Collect card details using JavaScript, without having sensitive data pass through your servers.


    The quickest way to build beautiful, conversion-optimized payment forms, hosted on Stripe. After including Checkout on your website, customers on mobile devices automatically see a tailored experience.

    Stripe.js and Stripe Elements

    Stripe.js is our foundational JavaScript library for building payment flows. The primary integration path through Stripe.js is with Elements, which enables you to collect sensitive payment information using customizable UI elements. Stripe.js also provides a single interface for Apple Pay, Google Pay, and the Payment Request API.

    Was this page helpful? Yes No


    Thank you for helping improve Stripe's documentation. If you need help or have any questions, please consider contacting support.


    We're always happy to help with code or other questions you might have. Search our documentation, contact support, or connect with our sales team. You can also chat live with other developers in #stripe on freenode.

    On this page