Accept stablecoin payments公開プレビュー
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.
はじめに
地域的な考慮事項アメリカ
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.
When creating a new Checkout Session, you need to:
Add
crypto
to the list ofpayment_
.method_ types Make sure all
line_
useitems usd
.
curl https://api.stripe.com/v1/checkout/sessions \ -u
: \ -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"sk_test_BQokikJOvBiI2HlWgH4olfQ2
Test your integration 
Pay with Crypto の実装をテストするには、テスト API キーを使用して、リダイレクトページを表示します。リダイレクトページで支払いを認証することによって、支払い成功のケースをテストできます。PaymentIntent は requires_
から succeeded
に移行します。
サンドボックスでは、リダイレクト先の支払いページでテストネットの仮想通貨を使用して支払います。
支払いを行うテストネットワークにウォレットを設定します。たとえば、イーサリアムで USDC による支払いを行う場合は、ウォレットがイーサリアムの Sepolia テストネットワークに設定されていることを確認します。
テスト用通貨でウォレットに資金を追加する
テストネットの「フォーセット」を使用して、ウォレットに資金を追加できます。以下はその例です。