js
Setting up
  • Introduction
  • Including Stripe.js
  • Initializing Stripe.js
The Elements object
  • Create an Elements object
  • Create an Elements object without an Intent
  • Update an Elements object
  • Update-end event
  • Fetch Elements Updates
  • Submit an Elements object
The Element
  • Payment Element
    • Create a Payment Element
    • Get a Payment Element
    • Update a Payment Element
    • Fetch Elements Updates
    • Collapse a Payment Element
  • Express Checkout Element
    • Create an Express Checkout Element
    • Get an Express Checkout Element
    • Update an Express Checkout Element
    • Click event
    • Confirm event
    • Cancel event
    • Shipping address change event
    • Shipping rate change event
  • Link Authentication Element
    • Create a Link Authentication Element
    • Get a Link Authentication Element
  • Address Element
    • Create an Address Element
    • Get an Address Element
    • Update an Address Element
    • Get value from an Address Element
  • Issuing Elements
    • Create an Issuing 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
    • LoadError event
    • LoaderStart event
    • NetworksChange event
  • Input validation
  • Postal code formatting
Embedded Checkout
  • Initialize embedded Checkout
  • Mount embedded Checkout
  • Unmount embedded Checkout
  • Destroy embedded Checkout
Checkout
  • Initialize Checkout
  • The Checkout object
    • Read session data
    • Apply a promotion code
    • Remove a promotion code
    • Update the customer's shipping address
    • Update the customer's billing address
    • Update the customer's email address
    • Update the customer's phone number
    • Update the customer's business name and tax ID
    • Update line item quantities
    • Update shipping option
    • Confirm the session
    • Run a server update
  • The Session object
  • Listen to Checkout events
    • Change event
  • Elements methods
    • Create a Payment Element
    • Create a Billing Address Element
    • Create a Shipping Address Element
    • Create an Express Checkout Element
    • Get the Payment Element
    • Get the Billing Address Element
    • Get the Shipping Address Element
    • Get the Express Checkout Element
    • Update Elements appearance
Checkout (React)
  • CheckoutProvider
  • useCheckout hook
    • Apply a promotion code
    • Remove a promotion code
    • Update the customer's shipping address
    • Update the customer's billing address
    • Update the customer's email address
    • Update the customer's phone number
    • Update the customer's business name and tax ID
    • Update line item quantities
    • Update shipping option
    • Confirm the session
    • Run a server update
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 Affirm payment
    • Confirm an Afterpay Clearpay payment
    • Confirm an Alipay payment
    • Confirm a BECS debit payment
    • Confirm a Bancontact payment
    • Confirm a BLIK payment
    • Confirm a Boleto payment
    • Confirm a Customer Balance payment
    • Confirm a Cash App Pay 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 a MB WAY payment
    • Confirm a MobilePay payment
    • Confirm a Multibanco payment
    • Confirm an OXXO payment
    • Confirm a Przelewy24 payment
    • Confirm a PayNow payment
    • Confirm a PayPal payment
    • Confirm a PayTo payment
    • Confirm a Pix payment
    • Confirm a PromptPay payment
    • Confirm a SEPA debit payment
    • Confirm a Sofort payment
    • Confirm a TWINT payment
    • Confirm a WeChat Pay payment
    • Confirm a Zip payment
  • Retrieve a PaymentIntent
  • Verify with micro-deposits for payment
  • Create a Radar Session
  • Handle a next action
  • 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 Cash App Pay setup
    • Confirm iDEAL setup
    • Confirm PayPal setup
    • Confirm PayTo setup
    • Confirm SEPA Debit setup
    • Confirm Sofort setup
  • Retrieve a SetupIntent
  • Verify with micro-deposits for setup
  • Handle a next action
  • 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
Confirmation Tokens
  • Create a ConfirmationToken
Payment Methods
  • Create a PaymentMethod
  • Create a PaymentMethod with Elements
Tokens
  • Introduction
  • Create a Token
Identity
  • Show verification modal
Issuing
  • Create an ephemeral key nonce
  • Retrieve an Issuing card
Financial Connections
  • Introduction
  • Collect Financial Connections Accounts
  • Use Financial Connections to collect a bank account Token for payouts
Retrieve card networks
  • Introduction
  • Retrieve card networks
Appendix
  • CssFontSource object
  • CustomFontSource object
  • Contact object
  • PaymentItem object
  • PaymentResponse object
  • ShippingOption object
  • ShippingAddress object
  • Style object
  • UpdateDetails object
  • Supported browsers
  • Cross-origin isolation
  • Supported locales
  • Cookies
  • Viewport meta tag requirements
Deprecated
  • Redirect to Checkout
  • 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
  • Sources
    • Create a Source
    • Create a Source from data
    • Retrieve a Source