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
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
    Overview
    Stablecoin payments
      Accept a payment
    Fiat-to-crypto onramp
    Stablecoin payouts
    Stablecoin Financial Accounts
Climate
HomePaymentsCryptoStablecoin payments

Accept a stablecoin paymentPublic preview

Start accepting stablecoins by integrating the Crypto payment method.

Copy page

You can accept stablecoin payments with Checkout, Elements, or can be directly integrated through the Payment Intents API. If you’re a Connect platform, see Connect support.

When integrated, the option to pay with crypto appears in your checkout page, redirecting customers to a page hosted by crypto.link.com for payment completion. There, your customers can connect their wallet, and save and reuse their account using Link. You’re immediately notified if the payment succeeds or fails. Before you get started, see our demo.

Let your users pay with crypto

Let your users pay with crypto

Before you can use crypto as a payment method in the prebuilt checkout page, it needs to be enabled for your account. Navigate to your payment methods settings and click Turn on for the Crypto option. After we review your information and approve you as a user, the Crypto payment method is active in the Dashboard.

When creating a new Checkout Session, you need to:

  1. Add crypto to the list of payment_method_types.

  2. Make sure all line_items use usd.

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

Test your integration

Test your Pay with Crypto integration with your test API keys by viewing the redirect page. You can test the successful payment case by authenticating the payment on the redirect page. The PaymentIntent transitions from requires_action to succeeded.

  1. In sandbox, pay with testnet crypto assets on the payment page you’re redirected to.

  2. Configure your wallet to the test network you intend to pay over. For example, if you want to pay with USDC on Ethereum, make sure your wallet is set to Ethereum’s Sepolia test network.

Fund your wallet with test assets

You can use testnet “faucets” to top up your wallet. Here are a few:

  • Circle USDC
  • Paxos USDP
  • Devnet SOL
  • Sepolia ETH
  • Amoy POL
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc