Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
About Stripe payments
Upgrade your integration
Payments analytics
Online payments
OverviewFind your use caseManaged Payments
Use Payment Links
Build a checkout page
Build an advanced integration
Build an in-app integration
Payment Methods
Add payment methods
Manage payment methods
Faster checkout with Link
    Overview
    Instant Bank Payments
    At a glance
    Link with Checkout
    Link with Web Elements
    Link with Mobile Elements
    Link with Invoicing
    Integration guides
    Link payment integrations
    Build a custom checkout page that includes Link
    Set up future payments using Elements and Link
Payment interfaces
Payment Links
Checkout
Web Elements
In-app Elements
Payment scenarios
Custom payment flows
Flexible acquiring
Orchestration
In-person payments
Terminal
Other Stripe products
Financial Connections
Crypto
Climate
HomePaymentsFaster checkout with Link

Link with Checkout

Use Link with Stripe's prebuilt checkout page.

Copy page

Link in Payment Links

You can also use Link with Payment Links.

Checkout is a prebuilt payment form that you can embed on your site or use as a Stripe-hosted payment page. Use Link with Checkout to allow your customers to securely save and reuse their payment information. For logged-in customers already using Link, it autofills this information regardless of whether they initially saved it on a different business’s checkout page.

Checkout supports Link with no additional fees, and the same pricing applies as for other card payments. For information about how your payment integration affects Link, see Link in different payment integrations.

Add Link to your prebuilt checkout page

Add Link to your prebuilt checkout page

Before you begin

Build an integration to accept a payment using Checkout.

Enable Link in Checkout

Accept payments with Link using information your customer stores in the Link app. When you receive a payment from a customer using Link in Checkout, the payment_method.type listed for the payment is link. To add Link to your Checkout integration, create a Checkout Session with link as a payment method type.

Use dynamic payment methods to increase conversion by showing the most relevant payment methods to your customers. If you collect card details for future usage with Setup Intents, list payment methods manually instead of using dynamic payment methods.

To add Link as a payment method:

  1. Enable the Link payment method from your payment method settings.
  2. If you have an existing integration that manually lists payment methods, remove the payment_method_types parameter from your integration.
Preview of Link enabled as payment method in the Stripe Dashboard

Link enabled as a payment method in the Stripe Dashboard

After you remove the payment_method_types parameter from your integration, some payment methods turn on automatically, including cards and wallets. The currency parameter restricts the payment methods that the customer sees during the checkout session.

Command Line
cURL
curl https://api.stripe.com/v1/checkout/sessions \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d "line_items[0][price_data][unit_amount]"=2000 \ -d "line_items[0][price_data][product_data][name]"=T-shirt \ -d "line_items[0][price_data][currency]"=usd \ -d "line_items[0][quantity]"=1 \ -d mode=payment \ --data-urlencode success_url="https://example.com/success" \ --data-urlencode cancel_url="https://example.com/cancel"

Test the integration

Caution

Don’t store real user data in sandbox Link accounts. Treat them as if they’re publicly available, because these test accounts are associated with your publishable key.

Currently, Link only works with credit cards, debit cards, and qualified US bank account purchases. Link requires domain registration.

You can create sandbox accounts for Link using any valid email address. The following table shows the fixed one-time passcode values that Stripe accepts for authenticating sandbox accounts:

ValueOutcome
Any other 6 digits not listed belowSuccess
000001Error, code invalid
000002Error, code expired
000003Error, max attempts exceeded

Multiple funding sources

As Stripe adds additional funding source support, you don’t need to update your integration. Stripe automatically supports them with the same transaction settlement time and guarantees as card and bank account payments.

Link for Connect platforms

Link is automatically available to any connected account that uses Checkout through a Connect platform integration.

  • If you’re a Connect platform, you can manage Link for your platform account through Link settings in your Dashboard. Your connected accounts manage Link from within their own Dashboard settings.
  • If you’re a connected account processing payments through a Connect platform, you can manage Link for both payments processed through a platform and payments processed without a platform in your Link settings in the Dashboard.

Disable Link

You can disable Link in the Stripe Dashboard payment method settings. You must change the settings for Link individually for each payment method configuration.

After you disable Link for a payment method configuration, the change might take a few minutes to take effect on your website.

See also

  • Stripe Checkout
  • How Checkout works
  • Quickstart
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access programme.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc