js
Introduction
Including Stripe.js
Initializing Stripe.js
The Elements object
Introduction
Create an Elements object
Create an Element
Get an Element
The Element
Introduction
Mount an Element
Listen to Element events
Change event
Ready event
Focus event
Blur event
Click event
Other Element methods
Blur an Element
Clear an Element's values
Destroy an Element
Focus an Element
Unmount an Element
Update an Element
The Element container
Input validation
Postal code formatting
Checkout
Introduction
Redirect to Checkout
Tokens and Sources
Introduction
Create a Token
Create a Source
Create a Source from data
Retrieve a Source
Payment Intents
Introduction
Confirm a card payment
Confirm an iDEAL payment
Confirm a SEPA debit payment
Handle a card action
Create a PaymentMethod
Retrieve a PaymentIntent
Setup Intents
Introduction
Confirm card setup
Confirm SEPA Debit setup
Retrieve a SetupIntent
The Payment Request object
Introduction
Create a PaymentRequest object
Check if a payment can be made
Show the payment request interface
Update a PaymentRequest object
Listen to PaymentRequest events
Token event
PaymentMethod event
Source event
Cancel event
Shipping address change event
Shipping option change event
Appendix
CssFontSource object
CustomFontSource object
PaymentItem object
PaymentResponse object
ShippingOption object
ShippingAddress object
Style object
UpdateDetails object
Supported browsers
Deprecated
Handle a card payment with an Element
Handle a card payment
Confirm a PaymentIntent with an Element
Confirm a PaymentIntent
Handle card setup with an Element
Handle card setup
Confirm a SetupIntent with an Element
Confirm a SetupIntent