HivePay Docs v1.0
Sign In Get API Keys
Getting Started

API Overview & Quickstart

Welcome to the HivePay Developer Documentation. HivePay provides a high-performance RESTful payment infrastructure for businesses operating in Uganda and across East Africa.

Instant Collections

Trigger real-time USSD push notifications to MTN & Airtel mobile phones in Uganda.

Global USD Cards

Accept 3D-Secure Visa & Mastercard checkout sessions from customers worldwide.

Automated Payouts

Disburse funds directly to mobile wallets with PIN verification and instant failover refunds.

3-Minute Integration Guide

1

Get Your Merchant Account & API Keys

Sign up for a HivePay account. Verify your 6-digit email OTP, and an Account Number (e.g. HP2609562857) and production API Key are generated instantly.

2

Send Your First Collection Request

Initiate a mobile money collection via HTTP POST to prompt your customer's phone:

curl -X POST https://hivepay.site/api/v1/collect-money \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone_number": "0777123456",
    "amount": 50000,
    "description": "Order #1001",
    "reference": "ORD-1001"
  }'
3

Listen for Webhook Approvals

When the customer enters their PIN on their phone, HivePay dispatches an instant signed HMAC-SHA256 webhook to your server so you can mark the order as paid without polling. Read the Webhooks Guide →