Skip to main content
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.
What You’ll Achieve:
  • Get working code examples you can copy and use immediately in your application
  • See complete end-to-end implementations with real API requests and responses
  • Learn best practices through practical, production-ready patterns
  • Quickly integrate Busha features without reading through lengthy documentation

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

  1. Copy the code - Each example is complete and ready to use
  2. Replace credentials - Update YOUR_SECRET_KEY, YOUR_BASE_URL, etc. with your actual values
  3. Test in sandbox - Always test in the sandbox environment first
  4. Adapt to your needs - Modify parameters to fit your specific use case
  5. Read the guides - Each example links to detailed guides for deeper understanding

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?

All examples use sandbox URLs and test data. Remember to switch to production URLs and real API keys when going live.