ZenoPay API Documentation

Comprehensive guides for integrating mobile money payments in Tanzania

payment.php
// Initiate payment with ZenoPay
$response = $client->post('https://zenoapi.com/api/payments', [
    'headers' => [
        'x-api-key' => 'YOUR_API_KEY',
        'Content-Type' => 'application/json'
    ],
    'json' => [
        'order_id' => uniqid(),
        'amount' => 1000,
        'phone' => '255744000000'
    ]
]);

Why ZenoPay API?

Fast Integration

Get up and running with our API in minutes with clear documentation and examples.

Secure Transactions

Bank-grade security with API keys and HTTPS encryption for all transactions.

Mobile Money

Seamless integration with Tanzanian mobile money providers (M-Pesa, Tigo Pesa, Airtel Money).

Webhook Support

Real-time payment notifications with secure webhook callbacks to your server.

Choose Your Implementation

Select the PHP integration method that best fits your needs

PHP Guzzle

Recommended

The most robust and feature-rich HTTP client for PHP. Ideal for modern PHP applications.

  • Object-oriented interface
  • Middleware support
  • Async requests
  • Comprehensive error handling

PHP cURL

Native PHP cURL extension for making HTTP requests. No external dependencies required.

  • Built into PHP
  • Good performance
  • Widely supported
  • More verbose than Guzzle

Native PHP

Basic implementation using file_get_contents(). Simple but limited functionality.

  • No dependencies
  • Simple implementation
  • Limited features
  • Basic error handling

Additional Resources

API Reference

Complete technical reference for all API endpoints and parameters.

View Reference

Payment Simulation

Interactive demo to test the payment flow without real money.

Try Simulation

Support

Get help with integration issues and troubleshooting.

Get Support

Ready to Integrate?

Start accepting mobile money payments in Tanzania today