> For the complete documentation index, see [llms.txt](https://docs.pesastream.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pesastream.com/pesastream.md).

# Pesastream

## 🏦 PesaStream — Modern Payment Infrastructure for Africa

**PesaStream** is a lightweight, developer-friendly payment gateway designed to simplify how businesses in Africa send, receive, and manage money. Built with performance and transparency in mind, it enables seamless integration with mobile money, banks, and card systems through a unified API.

### 🚀 What is PesaStream?

PesaStream provides a **single payment layer** that abstracts the complexities of dealing with multiple providers. Whether you’re building a fintech app, e-commerce platform, or subscription service, PesaStream gives you real-time access to:

* Mobile Money (M-Pesa, Airtel Money, T-Kash)
* Bank Transfers
* Card Payments (Visa, Mastercard)
* Payouts & Disbursements

### 💡 Why PesaStream?

* **Unified API** – One integration for all major payment channels.
* **Instant Settlements** – Real-time updates and reconciliation.
* **Transparent Fees** – Clear pricing, no hidden deductions.
* **Developer First** – Built for speed, clarity, and simplicity.
* **Scalable** – Works seamlessly for startups and enterprises.

### ⚙️ How It Works

1. **Integrate** PesaStream via REST API or SDKs.
2. **Authenticate** using secure tokens or API keys.
3. **Initiate** a payment request.
4. **Track** transactions and receive real-time webhooks.
5. **Settle** funds directly to your preferred account.

### 📦 Example Use Cases

* E-commerce checkout integration
* Subscription or SaaS billing
* Mobile money collection
* Bulk payouts and salary disbursements
* Marketplace escrow and settlements

### 🧩 Tech Stack

PesaStream’s core is built for high reliability and low latency, leveraging:

* **Go** for backend APIs
* **PostgreSQL** for transactional consistency
* **Redis** for caching and queue management
* **Docker & Kubernetes** for scalable deployment


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pesastream.com/pesastream.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
