> ## 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.

# Introduction to Examples

> Explore practical code examples and integration patterns for common Busha use cases.

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.

> [!TIP]
>
> **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](https://dash.busha.io/business/signup))
* [API Keys (Secret and Public) from your dashboard](https://docs.busha.io/guides/getting-started/generate-api-key.md)

## 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

## Quick Links

> [card] [Fiat to Crypto](https://docs.busha.io/examples/fiat-to-crypto.md)
>
> Convert NGN/KES to USDT, BTC, and other cryptocurrencies

> [card] [Crypto to Fiat](https://docs.busha.io/examples/crypto-to-fiat.md)
>
> Cash out crypto to bank accounts or mobile money

> [card] [On-Ramp Widget](https://docs.busha.io/examples/on-ramp-integration.md)
>
> Let customers buy crypto directly in your app

> [card] [Off-Ramp Widget](https://docs.busha.io/examples/off-ramp-integration.md)
>
> Let customers sell crypto directly in your app

> [card] [Customer Payouts](https://docs.busha.io/examples/customer-payouts.md)
>
> Process crypto-to-fiat payouts to bank accounts and mobile money

> [card] [Payment Links](https://docs.busha.io/examples/payment-links.md)
>
> Create shareable payment links for invoices and products

## Need More Help?

* **Detailed Guides:** Check our [Guides section](https://docs.busha.io/guides) for step-by-step tutorials
* **API Reference:** See the [API Reference](https://docs.busha.io/api-reference) for complete endpoint documentation
* **Support:** Contact us at [developers@busha.co](mailto:developers@busha.co)

> [!NOTE]
>
> All examples use sandbox URLs and test data. Remember to switch to production
> URLs and real API keys when going live.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.