Welcome to the Busha Examples section. Here you’ll find production-ready code snippets for the most common integration patterns. Each example is designed to be copied and adapted to your use case.Documentation Index
Fetch the complete documentation index at: https://docs.busha.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before using these examples, ensure you have:- A Busha Business Account (Sign up here)
- API Keys (Secret and Public) from your dashboard
How to Use These Examples
- Copy the code - Each example is complete and ready to use
- Replace credentials - Update
YOUR_SECRET_KEY,YOUR_BASE_URL, etc. with your actual values - Test in sandbox - Always test in the sandbox environment first
- Adapt to your needs - Modify parameters to fit your specific use case
- Read the guides - Each example links to detailed guides for deeper understanding
Quick Links
Fiat to Crypto
Convert NGN/KES to USDT, BTC, and other cryptocurrencies
Crypto to Fiat
Cash out crypto to bank accounts or mobile money
On-Ramp Widget
Let customers buy crypto directly in your app
Payment Links
Create shareable payment links for invoices and products
Need More Help?
- Detailed Guides: Check our Guides section for step-by-step tutorials
- API Reference: See the API Reference for complete endpoint documentation
- Support: Contact us at developers@busha.co
All examples use sandbox URLs and test data. Remember to switch to production
URLs and real API keys when going live.