Build a checkout page
Create a payments form and accept payments on your website
Build a Stripe-hosted page, embedded form, or customize your checkout with embedded components with the Checkout Sessions API, which supports one-off payments, subscriptions, and over 40 local payment methods.
Quickstart
If you don’t have a Stripe account, sign up now.
payment UIs
You can use two different types of payment UIs with the Checkout Sessions API:
Stripe-hosted page | Embedded form |
---|---|
Customers are redirected to a Stripe-hosted payment page when they’re ready to complete their purchase. After the customer enters their payment details on the payment page and completes the transaction, they can be redirected back to your site. | Customers stay on your site and are shown an embedded form when they’re ready to complete their purchase. The customer enters their payment details on the form and completes the transaction on the same page in your site so they don’t need to be redirected back to your site. |
Quickstart | Quickstart |
Compare features and availability
All integrations support one-time and recurring payments, fraud protection, and global payments.
STRIPE-HOSTED PAGE | EMBEDDED FORM | EMBEDDED COMPONENTS Public preview | |
---|---|---|---|
UI | Checkout | Checkout | Elements |
API | Checkout Sessions | Checkout Sessions | Checkout Sessions |
Integration effort | |||
Hosting | Stripe-hosted page (optional custom domains) | Embed on your site | Embed on your site |
UI customization | Limited customization1 | Limited customization1 | Extensive customization with Appearance API |
1Limited customization provides 20 preset fonts, 3 preset border radius options, logo and background customization, and custom button color.