js
Setting up
Introduction
Including Stripe.js
Initializing Stripe.js
The Elements object
Create an Elements object
Update an Elements object
Fetch Elements Updates
The Element
Payment Element
Create a Payment Element
Get a Payment Element
Update a Payment Element
Collapse a Payment Element
Other Elements
Create an Element
Get an Element
Update an Element
Style the Element container
Mount an Element
Element methods
Blur an Element
Clear an Element's values
Destroy an Element
Focus an Element
Unmount an Element
Listen to Element events
Change event
Ready event
Focus event
Blur event
Escape event
Click event
Input validation
Postal code formatting
Payment Intents
Confirm a PaymentIntent
Confirm a PaymentIntent by payment method
Confirm a card payment
Confirm an ACH Direct Debit payment
Confirm an ACSS Debit payment
Confirm an Afterpay Clearpay payment
Confirm an Alipay payment
Confirm a BECS debit payment
Confirm a Bancontact payment
Confirm a Boleto payment
Confirm an EPS payment
Confirm an FPX payment
Confirm a giropay payment
Confirm a GrabPay payment
Confirm an iDEAL payment
Confirm a Klarna payment
Confirm a Konbini payment
Confirm an OXXO payment
Confirm a Przelewy24 payment
Confirm a PayNow payment
Confirm a SEPA debit payment
Confirm a Sofort payment
Confirm a WeChat Pay payment
Retrieve a PaymentIntent
Verify with micro-deposits for payment
Handle a card action
Collect bank account details for payment
Setup Intents
Confirm a SetupIntent
Confirm a SetupIntent by payment method
Confirm card setup
Confirm an ACH Direct Debit setup
Confirm an ACSS Debit setup
Confirm BECS Debit setup
Confirm Bacs Debit setup
Confirm Bancontact setup
Confirm iDEAL setup
Confirm SEPA Debit setup
Confirm Sofort setup
Retrieve a SetupIntent
Verify with micro-deposits for setup
Collect bank account details for setup
The Payment Request object
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
Payment Methods
Create a PaymentMethod
Tokens and Sources
Create a Token
Create a Source
Create a Source from data
Retrieve a Source
Identity
Show verification modal
Checkout
Introduction
Redirect to Checkout
Appendix
CssFontSource object
CustomFontSource object
PaymentItem object
PaymentResponse object
ShippingOption object
ShippingAddress object
Style object
UpdateDetails object
Supported browsers
Supported locales
Cookies
Viewport meta tag requirements
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
Handle an FPX payment