ステーブルコイン決済の受け付け公開プレビュー
仮想通貨支払い方法を有効にして、ステーブルコインの受け入れを開始します。
stablecoin による決済は、Payment Links、Checkout、Elements、または Payment Intents API で受け付けることができます。USDC などのステーブルコインで支払う場合、顧客は crypto.stripe.com にリダイレクトされ、仮想通貨ウォレットを接続して取引を完了します。資金は Stripe の残高として USD で処理されます。
はじめに
地域的な考慮事項アメリカ
顧客は世界中でステーブルコインを支払いに利用できますが、現在、ステーブルコインの決済を受け付けることができるのはアメリカ企業のみです。
パブリックプレビュー期間中、ステーブルコインの決済を受け付けるにはアクセスリクエストが必要です。
- Stripe アカウントがアクティブ になっていることをご確認ください。
- 設定 > 支払い >支払い方法 にアクセスし、仮想通貨 支払い方法をリクエストしてください。
- Stripe がアクセスリクエストをレビューし、必要に応じて詳細をご連絡する場合があります。リクエストをレビューする間、支払い方法は保留中と表示されます。
- 承認されると、ダッシュボードで仮想通貨が有効になります。
仮想通貨による支払い方法が有効になると、対象となる顧客は仮想通貨による支払いを選択できるようになります。
動的支払い方法での使用 Recommended
Stripe のデフォルト動的支払い方法 を Payment Links、Hosted Checkout、Embedded Checkout Forms、または Elements でご利用の場合、これ以上のアップデートは必要ありません。Stripe は、対象となる顧客にステーブルコインの支払いオプションを自動的に表示します。
カスタム導入する場合
必要に応じて、支払い導入に仮想通貨支払い方法を手動で追加することができます。
新しい Checkout セッションを作成する際は、次のことを行う必要があります。
crypto
をpayment_
のリストに追加します。method_ types すべての
line_
がitems usd
を使用していることを確認してください。
実装内容をテストする
Test your crypto payment integration by opening the payment redirect page using your test API keys. You can test a successful payment flow at no cost using testnet assets.
- In a sandbox, create a new transaction using your chosen integration method, and open its redirect URL.
- Connect your preferred wallet and payment network.
- Complete the payment, and validate that you’re redirected to the expected URL.
Test payments with testnet assets
Most cryptocurrencies offer testnet assets, or tokens that have no monetary value, that you can use to test blockchain transactions. Stripe recommends the MetaMask wallet, Polygon Amoy testnet, and Circle faucet for testing, but you can use your own preferred services.
Install a wallet
- Download the MetaMask extension for your web browser.
- Create a new wallet or import an existing one.
Enable a testnet
- In your MetaMask wallet, select Networks from the main menu.
- Click Add custom network.
- Enter the following details:
- Network name:
Polygon Amoy
- Default RPC URL:
https://rpc-amoy.
polygon. technology/ - Chain ID:
80002
- Currency symbol:
POL
- Block explorer URL:
https://amoy.
polygonscan. com/
- Network name:
- 保存 をクリックします。
Import a token
- In your MetaMask wallet, under Tokens, select Polygon Amoy from the network dropdown.
- Click the overflow menu (), and select Import tokens.
- Click Select a network > Polygon Amoy.
- Under Token contract address, paste the Polygon Amoy testnet contract address:The Token symbol field automatically updates with
USDC
and the Decimals field with6
. - 次へ をクリックします。
- Verify that you’re importing the
USDC
token, and then click Import.
Your MetaMask wallet now shows Polygon Amoy and USDC in the tokens list.
Get testnet assets
- Open faucet.circle.com
- Click USDC.
- Under Network, select Polygon PoS Amoy.
- Under Send to, paste your wallet address.
- Click Send 10 USDC.
In addition to USDC for making payments, you need POL to pay transaction costs:
- Open faucet.polygon.technology.
- Under Select Chain & Token, select Polygon Amoy and POL.
- Under Verify your identity, click the third-party platform you want to authenticate with, and complete the login process.
- Under Enter Wallet Address, paste your wallet address.
- Click Claim.
Testnet transactions can take a few minutes to complete. Check your wallet to confirm that the USDC and POL has transferred.
More testnet faucets
Check these faucet services for more testing token options: