> ## Documentation Index
> Fetch the complete documentation index at: https://docs.splashpay.co.tz/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Build modern payment experiences with SplashPay.

# Build payments with SplashPay

Accept payments, send disbursements, and receive real-time transaction updates through a single API.

<CardGroup cols={3}>
  <Card title="Collections" icon="credit-card">
    Accept payments from Mobile Money and bank channels.
  </Card>

  <Card title="Disbursements" icon="wallet">
    Send money to customers, agents, and merchants.
  </Card>

  <Card title="Webhooks" icon="webhook">
    Receive real-time notifications for transaction events.
  </Card>
</CardGroup>

***

## Why SplashPay?

<CardGroup cols={2}>
  <Card title="Fast Integration">
    Go live within minutes using our REST API.
  </Card>

  <Card title="Secure by Design">
    API authentication, webhook signing, and secure infrastructure.
  </Card>

  <Card title="Reliable Processing">
    High availability architecture built for mission-critical payments.
  </Card>

  <Card title="Developer Friendly">
    Simple APIs, clear documentation, and testing tools.
  </Card>
</CardGroup>

***

## Base URLs

<Tabs>
  <Tab title="Sandbox">
    ```bash theme={null}
    https://sandbox-api.splashpay.co.tz/api/v1
    ```

    Use this environment for development and testing.
  </Tab>

  <Tab title="Production">
    ```bash theme={null}
    https://api.splashpay.co.tz/api/v1
    ```

    Use this environment for live transactions.
  </Tab>
</Tabs>

***

## Quick Start

<Steps>
  <Step title="Create a Merchant Account">
    Register your SplashPay merchant account.
  </Step>

  <Step title="Complete Verification">
    Submit your business information and required KYC documents.
  </Step>

  <Step title="Generate API Credentials">
    Navigate to Merchant Portal → Developers → API Keys.
  </Step>

  <Step title="Make Your First Request">
    Authenticate using your API credentials.
  </Step>
</Steps>

***

## Example Request

```bash theme={null}
curl --request POST \
  --url https://api.splashpay.co.tz/api/v1/payments/mobile-money \
  --header "Content-Type: application/json" \
  --header "X-API-KEY: pk_live_xxxxxxxxxxxxx" \
  --header "X-API-SECRET: sk_live_xxxxxxxxxxxxx" \
  --header "Idempotency-Key: Unique-Request-ID" \
  --data '{
    "amount": 1000,
    "currency": "TZS",
    "reference": "INV-323",
    "phone": "255754000000",
    "customer_name": "John Doe",
    "customer_email": "john.doe@example.com",
    "metadata": {
      "order_id": "12345",
      "product": "Test Product"
    }
  }'
```

<Info>
  All requests must include valid API credentials.
</Info>

***

## Available APIs

<CardGroup cols={2}>
  <Card title="Collections API" href="/collections/initiate">
    Accept payments from customers.
  </Card>

  <Card title="Disbursement API" href="/disbursements/initiate">
    Send money to customers and partners.
  </Card>

  <Card title="Webhooks" href="/webhooks/overview">
    Receive real-time transaction updates.
  </Card>

  <Card title="Authentication" href="/authentication">
    Learn how to authenticate API requests.
  </Card>
</CardGroup>

***

## Support

<Card title="Need Help?" icon="life-ring">
  For integration assistance, contact our support team at **[support@splashpay.co.tz](mailto:support@splashpay.co.tz)**
</Card>
