Accept stablecoin paymentsPublic preview
Start accepting stablecoins by enabling the Crypto payment method.
You can accept stablecoin payments through Payment Links, Checkout, Elements, or the Payment Intents API. When paying with stablecoins such as USDC, customers get redirected to crypto.link.com to connect their crypto wallet and complete the transaction. Funds settle in your Stripe balance in USD.
Before you begin
Regional considerationsUnited States
Customers can use stablecoins as payment globally, but currently only US businesses can accept stablecoin payments.
During the public preview, you’ll need to request access to start accepting stablecoin payments.
- Make sure your Stripe account is Active.
- Go to Settings > Payments > Payment methods and request the Crypto payment method.
- Stripe reviews your access request, and might contact you for more details if necessary. The payment method appears as Pending while we review your request.
- If you’re approved, then Crypto becomes active in the Dashboard.
Once the crypto payment method is enabled, eligible customers have the option to pay with crypto.
Use with dynamic payment methods Recommended
If you use Stripe’s default dynamic payment methods with Payment Links, Hosted Checkout, Embedded Checkout Forms, or Elements, then you don’t need to make any further updates. Stripe automatically displays stablecoin payment options to eligible customers.
Use with a custom integration
If necessary, you can add the crypto payment method to your payment integration manually.
Integrate Pay with Crypto directly through the Payment Intents API.
Set up StripeServer-side
First, create a Stripe account or sign in.
Use our official libraries to access the Stripe API from your application:
Create a PaymentIntent and retrieve the client secretServer-side
The PaymentIntent object represents your intent to collect payment from your customer and tracks the lifecycle of the payment process. Create a PaymentIntent on your server and specify the amount to collect and a supported currency. If you have an existing PaymentIntents integration, add crypto
to the list of payment_method_types.
Retrieve the client secret
The PaymentIntent includes a client secret that the client side uses to securely complete the payment process. You can use different approaches to pass the client secret to the client side.
Redirect to the stablecoin payments page
Use Stripe.js to submit the payment to Stripe when a customer chooses Crypto as a payment method. Stripe.js is the foundational JavaScript library for building payment flows. It automatically handles complexities like the redirect described below, and lets you extend your integration to other payment methods. Include the Stripe.js script on your checkout page by adding it to the <head>
of your HTML file.
<head> <title>Checkout</title> <script src="https://js.stripe.com/basil/stripe.js"></script> </head>
Create an instance of Stripe.js with the following JavaScript on your checkout page:
// Set your publishable key. Remember to change this to your live publishable key in production! // See your keys here: https://dashboard.stripe.com/apikeys const stripe = Stripe(
);'pk_test_TYooMQauvdEDq54NiTphI7jx'
Use the PaymentIntent client secret and call stripe.
to handle the Pay with Crypto redirect. Add a return_
to determine where Stripe redirects the customer after they complete the payment:
const form = document.getElementById('payment-form'); form.addEventListener('submit', async function(event) { event.preventDefault(); // Set the clientSecret of the PaymentIntent const { error } = await stripe.confirmPayment({ clientSecret: clientSecret, confirmParams: { payment_method_data: { type: 'crypto', }, // Return URL where the customer should be redirected after the authorization return_url: `${window.location.href}`, }, }); if (error) { // Inform the customer that there was an error. const errorElement = document.getElementById('error-message'); errorElement.textContent = result.error.message; } });
The return_
corresponds to a page on your website that displays the result of the payment. You can determine what to display by verifying the status of the PaymentIntent. To verify the status, the Stripe redirect to the return_
includes the following URL query parameters. You can also append your own query parameters to the return_
. They persist throughout the redirect process.
payment_ | The unique identifier for the PaymentIntent . |
payment_ | The client secret of the PaymentIntent object. |
OptionalHandle post-payment events
Stripe sends a payment_intent.succeeded event when the payment completes. Use the Dashboard, a custom webhook, or a partner solution to receive these events and run actions, like sending an order confirmation email to your customer, logging the sale in a database, or starting a shipping workflow.
Listen for these events rather than waiting on a callback from the client. On the client, the customer might close the browser window or quit the app before the callback executes, and malicious clients could manipulate the response. Setting up your integration to listen for asynchronous events can also help you accept more payment methods in the future. To see the differences between all supported payment methods, see our payment methods guide.
Receive events and run business actions 
There are a few options for receiving and running business actions:
- Manually: Use the Stripe Dashboard to view all your Stripe payments, send email receipts, handle payouts, or retry failed payments.
- Custom code: Build a webhook handler to listen for events and build custom asynchronous payment flows. Test and debug your webhook integration locally with the Stripe CLI.
- Prebuilt apps: Handle common business events, like automation or marketing and sales, by integrating a partner application.
Supported currencies 
You can create crypto payments in the currencies that map to your country. The default local currency for crypto is USD, with customers also seeing their purchase amount in this currency.
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_
to succeeded
.
In sandbox, pay with testnet crypto assets on the payment page you’re redirected to.
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: