Use Cases
- Wallet app letting users cash out crypto
- Marketplace vendor payouts
- P2P trading platform
- Gaming platform withdrawals to local currency
Basic Integration
Simple Button Integration
The quickest way to integrate the Off-Ramp widget is with a button that opens the widget in a new window:Iframe Integration
For a more embedded experience, use an iframe:Pre-filled Integration Examples
Configuration Parameters
| Parameter | Required | Description |
|---|---|---|
| publicKey | Yes | Your Busha Public API Key |
| side | Yes | Must be “sell” for off-ramp |
| redirectUrl | Yes | URL to redirect after transaction setup |
| cryptoAsset | No | Cryptocurrency to sell (e.g., BTC, ETH, USDT) |
| network | No | Blockchain network (e.g., BTC, ETH, POLYGON) |
| fiatCurrency | No | Target fiat currency (NGN for Nigeria, KES for Kenya) |
| cryptoAmount | No | Amount of crypto to sell |
| fiatAmount | No | Target fiat amount (ignores cryptoAmount if set) |
React Component Examples
- Nigeria (NGN)
- Kenya (KES)
Complete Integration Flow
User Configures Payout
User logs in to Busha, completes KYC if needed, and selects their payout
method: - Nigeria: Bank account - Kenya: M-Pesa or bank account
Redirect Back with Deposit Instructions
Busha redirects user back to your app with deposit address and amount
User Confirms and Sends Crypto
Your app displays the deposit instructions. User confirms and sends crypto
to the provided address
Learn More
- Off-Ramp Widget Overview - Understand how the widget works
- Integration Guide - Detailed integration steps
- Supported Currencies - See all supported assets
- Webhooks Setup - Monitor transactions in real-time
- Test Addresses - Get test crypto addresses for sandbox testing