ThomboFoundation

Secure donation processing powered by Hubtel

Quick Start - Direct Checkout

Share this link with donors for immediate payment processing:

API Documentation

Integrate payments into your application using our REST API:

POST /api/payments/initialize { "totalAmount": 100.00, "description": "Donation for ThomboFoundation", "customerEmail": "donor@example.com", "customerPhoneNumber": "0244123456", "customerName": "John Doe" }

Features

Our payment platform provides:

  • Secure payment processing via Hubtel
  • Mobile money integration (MTN, Vodafone, AirtelTigo)
  • Real-time webhook notifications
  • Transaction status tracking
  • JWT-secured admin access
  • Automated status verification

Example Integration

// Initialize PaymentConst response = await fetch('/api/payments/initialize', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ totalAmount: 100.00, description: 'Donation', customerEmail: 'donor@example.com' }) }); const { checkoutUrl } = await response.json(); window.location.href = checkoutUrl;