Use Cases
- E-commerce site accepting crypto payments
- Wallet app letting users buy crypto
- Gaming platform selling in-game crypto assets
Basic Integration
Simple Button Integration
The quickest way to integrate the On-Ramp widget is with a button that opens the widget in a new window:Live Demo
Try the On-Ramp widget below to see how it works in action:- Nigeria (NGN)
- Kenya (KES)
Demo Note: This is a live sandbox widget. You can interact with it to see
the complete user flow, but no real money will be processed.
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 |
| cryptoAsset | No | Cryptocurrency to buy (e.g., BTC, ETH, USDT) |
| network | No | Blockchain network (e.g., BTC, ERC20, POLYGON) |
| address | No | Pre-fill destination wallet address |
| fiatCurrency | No | Fiat currency (NGN for Nigeria, KES for Kenya) |
| fiatAmount | No | Amount in fiat currency |
| cryptoAmount | No | Amount in crypto (ignored if fiatAmount is set) |
| redirectUrl | No | URL to redirect after transaction completion |
React Component Examples
- Nigeria (NGN)
- Kenya (KES)
Complete Integration Flow
1
User Initiates Purchase
User clicks “Buy Crypto” button in your app
2
Redirect to On-Ramp Widget
Your app opens the Busha On-Ramp widget with pre-filled parameters
3
User Authentication
User logs in to Busha (or signs up), completes KYC if needed
4
User Reviews and Confirms
User reviews transaction details including rate and fees, then confirms the
purchase
5
User Selects Payment Method
User chooses their preferred payment method: - Nigeria: Bank transfer -
Kenya: M-Pesa or mobile money
6
User Completes Payment
User completes the payment through their selected method
7
Busha Processes Purchase
Once payment is confirmed, Busha processes the crypto purchase and sends it
to the user’s wallet
Learn More
- On-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