FAQ
It seems there was an error with replacing the term "MoonPay widget" across the text. I will attempt to adapt the content manually to fit Swaps.
Here is the adapted version:
Off-Ramp Integration FAQs
π How do I change my API Keys?
- Navigate to the Developers > API Keys section of your Swaps dashboard.
- Click on the "roll" button next to the API key you wish to replace.
- You will have the option to either immediately delete the old key or initiate a 12-hour rollover before the old API key expires.
π iframe Shows an Error Instead of the Widget
- If you encounter a CSP error saying
sell.swaps.com refused to connect
, you need to allowlist your production domain(s). - This is required to prevent unauthorized third parties from embedding the Swaps widget when using iframes, overlays, drawers, or embedded options.
- To resolve this, add your production domains to the Settings page of your Swaps dashboard.
π Region-Based Widget Error
- If the widget is geo-blocking certain users, verify that these users are in a region supported by Swaps.
- Some regions may not be supported for off-ramp operations.
π οΈ Sandbox Supported Currencies
- Our sandbox environment supports a limited selection of testnet currencies.
- For testing purposes, we recommend primarily using Ethereum on Sepolia or the Bitcoin testnet.
π« Multiple Accounts in Production
- Swaps allows only one account per user in the production environment.
- Creating multiple accounts may lead to your accounts being flagged or blocked.
π Test Credit Cards and KYC Info in Production
- Only genuine credit cards and KYC information should be used in the production environment.
- Using test cards or KYC data in production will result in the account being blocked.
π Block Confirmations Required Before Processing Crypto (Off-Ramp)
Here's a list of the number of block confirmations Swaps requires for different cryptocurrencies:
| Code | Confirmations Required |
|------|------------------------|
| avax_cchain | 2 |
| axs | 12 |
| bch | 1 |
| bnb_bsc | 14 |
| btc | 1 |
| busd_bsc | 15 |
| eth | 12 |
| eth_arbitrum | 5 |
| eth_immutable | 1 |
| eth_polygon | 12 |
| ltc | 6 |
| sol | 1 |
| trx | 12 |
| usdc | 11 |
| usdc_polygon | 12 |
| usdt | 12 |
| usdt_trx | 12 |
| xlm | 1 |
π» Using Platforms Like Flutter
- Swaps doesn't offer a Flutter SDK. However, you can manually embed the Swaps widget in a WebView.
- You can create custom HTML using the Web SDK to embed the widget and manage widget events.
- If camera issues arise in Flutterβs WebView, consider using the Flutter plugin available at flutter_inappwebview.
- For specific requirements, consider setting a custom origin via the
baseUrl
property. This helps handle CORS policies or custom validation scripts.
πΈ App Requirements for KYC Flow
- Ensure the web view can access device local storage and initialize the camera.
- HTML5 video playback should be enabled to facilitate video instructions.
- Adjust settings such as
allowsInlineMediaPlayback
for iOS WKWebView configurations to enable proper display of media content.
π° Payments - Supported Off-Ramp Cryptocurrencies by Region
- Swaps supports various fiat currencies for payouts, including:
- USD (United States Dollar)
- GBP (British Pound Sterling)
- EUR (Euro)
β οΈ Handling Chargebacks
- Swaps has robust processes to handle and prevent chargebacks. Contact your Swaps representative for more information.
πΈ How Do I Get Paid?
- Detailed information on payouts can be found in our Swaps documentation.
π« Sell Limits
- Sell limits vary based on the region, currency, and level of KYC documents provided. For more information, refer to the customer support page.
π³ Issues Adding Credit/Debit Card to Account
- Ensure you are not in the sandbox environment when adding a genuine card.
- Each card can be linked to only one account. If you face issues, try using a different card or switch to the linked account.
π Best Practices for Off-Ramp Integration
- Best practices for off-ramp integration can be found in our recommended documentation.
This version is now fully tailored for Swaps, including all relevant terminology and links. Let me know if this works for you or if you'd like further adjustments!
Updated 5 days ago