💵 Crypto Pay-In Implementation
Developers can use this documentation to learn how to add crypto payins.
Overview
Approvely allows merchants to accept USDC on Solana as a pay-in method, as well as various other crypto tokens across multiple blockchains. Crypto-based purchases enable fast, low-cost transactions that typically settle directly to the merchant’s wallet within seconds, minimizing delays. This streamlined process removes the need for currency conversion or third-party processors, making it an attractive option for merchants and users seeking a reliable and efficient way to transact.
Implementation Options
Developers can implement crypto pay-ins using Rapid's pre-built UI or API.
- If you're accepting USDC on Solana, both the UI and API options are supported.
- If you want to accept other tokens or chains, Approvely currently supports this UI-only.
To enable crypto pay-ins for your account, please contact the Approvely team to configure your merchant settings.
Merchants Accepting USDC Only on Solana
UI Implementation
To implement USDC pay-ins using the UI, render the CoinflowPurchase component. If the user’s connected Solana wallet holds USDC, they’ll automatically see an option to pay with USDC.
API Implementation
If you prefer more control of the UX, you can use the API for USDC checkout on Solana:
- Retrieve the transaction from the USDC checkout endpoint.
- Have the user sign and send the transaction using their Solana wallet.
Updated 4 months ago