Real Testing API for Payments & Collections

Seamlessly test payments, collections, and transaction inquiries with our powerful API.

Features

Core API Services

Our platform provides everything you need to integrate mobile money payments into your application.

API Authentication

Secure API access with token-based authentication.

  • Generate API tokens
  • Username/Token authentication
  • Token expiry management
  • Secure credential storage

Payments

Initiate and receive mobile money payments with our simple API.

  • One-time payments
  • Bulk payments
  • Payment status tracking

Collections

Collect payments from customers via mobile money.

  • Request payments
  • Collect from multiple networks
  • Secure transaction handling

Transaction Inquiries

Get real-time status of any transaction in your system.

  • Transaction status checks
  • Detailed transaction history
  • Webhook notifications
  • Exportable reports

Integration

How It Works

Integrate our API in just a few simple steps.

1

Get API Credentials

Sign up to get your API keys and access our sandbox environment for testing.

curl -X POST "/api/tokens" -H "Content-Type: application/json" -d '{"name": "YOUR TOKEN NAME", "expiry": "NUMBER OF DAYS | NULL"}'

You can also generate the tokens by clicking on your profile while logged in on the navabar on the right.

2

Make Your First API Call

Use our comprehensive documentation to initiate your first payment or collection.

curl -X POST "/api/initiatePayments" -H "x-api-token: your_token" -H "x-api-username: your_username" -H "Content-Type: application/json" -d '{"amount": "1000", "currency": "TZS", "provider": "Tigo | Airtel | Halopesa | Azampesa", "phone": "255700000000"}'

Payments

QR Code Payments

Generate and scan QR codes for instant mobile money payments.

Generate Payment QR Code

Create QR codes for easy mobile payments

Your Payment QR Code

Scan with any mobile money app

QR code will appear here

Scan this QR code with any mobile money app to make payment

Recent Transactions

Support

Contact Our Team

Have questions? Our support team is here to help.

Send us a message

Contact Information

1234 Developer Street

Dar es Salaam, Tanzania

+255 700 000 000

support@flexpay.com

Monday - Friday: 9:00 AM - 5:00 PM

Follow Us