10 Things You Probably Didn't Know About DGateway
DGateway is a unified payment and commerce platform for Africa that lets developers and businesses accept mobile money (MTN, Airtel) and card payments through a single API. But beyond payments, it has quietly evolved into a full commerce platform with tools to sell digital products, courses, templates, and more. If you think it is just an API for collecting and disbursing money, you are in for a surprise.
Here are 10 features that most people have no idea exist.
1. A Complete Course Platform with HLS Video Streaming
DGateway has a built-in course platform — not a simple file host, but a proper learning management system. Course creators can build structured courses with modules, lessons, and multiple content types: video, text, PDF, embeds, and downloadable files.
The standout? Video lessons are powered by MediaKit, our self-hosted video streaming engine. Videos are automatically transcoded into multi-quality HLS streams (480p, 720p, 1080p) with adaptive bitrate switching. Students get Netflix-like playback quality — the player adjusts to their internet speed in real time.
Free courses can be set to fully public — anyone with the link can watch without signing up. Or creators can enable an email gate to collect leads before granting access. Paid courses accept mobile money payments directly, and students are auto-enrolled after payment confirmation.
2. Digital Products with 3D Ebook Flip Preview
DGateway supports selling digital products — ebooks, software, design assets, audio files, and more. But the ebook experience is something special.
When a seller lists an ebook, they can upload preview pages (either manually or by auto-extracting from the PDF). Buyers see these pages in a realistic 3D book flipper — complete with page curl animations, book spine, edge depth, and shadows. It feels like flipping through a physical book in your browser.
The seller controls exactly how many pages are free preview. After the preview ends, a "locked" page appears prompting the buyer to purchase and unlock the full book. It is the kind of polish you would expect from a dedicated ebook platform, not a payment gateway.
3. A Templates & UI Blocks Marketplace
DGateway is not just for payments and courses. It has a full templates marketplace where sellers can list:
- Website and app templates — Next.js, React, HTML/CSS, WordPress themes
- Design templates — Canva, Figma, Photoshop, Illustrator, After Effects, Premiere Pro
- Presentation templates — Google Slides, Keynote, PowerPoint
- UI component blocks — Hero sections, pricing tables, feature grids, navbars
Templates support screenshot galleries, live preview URLs, video demos, tech stack tags, and file downloads. UI blocks can include copyable code snippets — buyers can copy individual component code directly from the browser after purchase, similar to shadcn/ui or Aceternity UI.
The commission rate for templates is 13%, and sellers can list items for free (requiring email to download) or at any price they choose.
4. White-Label Shops with Custom Branding
Every DGateway user gets a customizable storefront at their own URL. You can set your shop name, upload desktop and mobile banners, choose colors, and organize your products, courses, and payment links — all without writing code.
But here is the part most people miss: you can share filtered shop links. Want to advertise only your courses on social media? Share yourshop?courses and visitors see only courses — no products, no payment links. Same for ?products or ?templates. Each filtered view has its own clean layout optimized for that content type, with a "Back to Shop" button for full browsing.
5. Payment Links That Accept Any Amount
Payment links are the fastest way to get paid — create a link, share it, done. But DGateway payment links go beyond fixed prices.
Sellers can create open-amount payment links where the buyer specifies how much to pay, with a minimum amount set by the seller. This is perfect for donations, tips, pay-what-you-want products, or invoices where the amount varies.
Each payment link also tracks how many times it has been used, total revenue generated, and buyer information — turning a simple link into a lightweight sales analytics tool.
6. Smart Provider Health Monitoring with Auto-Alerts
DGateway runs automated health checks on every payment provider line — Iotec MTN, Iotec Airtel, Relworx MTN, Relworx Airtel, and Stripe. A daily cron job at 6 AM tests each line by attempting a small balance check, and the results are stored with timestamps.
When a line goes down, DGateway does three things automatically:
- Blocks requests on the faulty line with a clear error message so API consumers can handle it gracefully
- Shows a banner on the member dashboard warning users about the outage
- Sends email notifications to all affected app owners (batched into a single email covering all down lines)
When the line recovers, another notification goes out confirming restoration. The entire system health — including PostgreSQL, Redis, API server, background jobs, and email service — is visible on a single System Health dashboard in the admin panel.
7. A WordPress and WooCommerce Plugin
If your site runs on WordPress, DGateway has a dedicated plugin that adds mobile money payments to WooCommerce checkout. Install it, paste your API credentials, and your store accepts MTN MoMo, Airtel Money, and card payments.
The plugin supports WooCommerce Blocks (the new block-based checkout) and the classic checkout. It handles the full flow: payment initiation, phone prompt, webhook confirmation, and order status updates. No custom code required — it is a drop-in solution.
The plugin is versioned, downloadable from the DGateway docs page, and regularly updated.
8. API-First Architecture with Real-Time Webhooks
DGateway was built API-first. Every feature — collections, disbursements, subscriptions, store checkout — is accessible through a clean REST API with consistent response formats.
The webhook system deserves special mention. When a transaction status changes, DGateway sends a signed webhook to your configured URL with the full transaction payload. Webhooks include retry logic with exponential backoff, and every delivery attempt is logged.
For developers building on DGateway, the API includes:
- Phone number validation — only accepts
256XXXXXXXXXor0XXXXXXXXXformats - Currency and provider validation on every endpoint
- Failure reasons — when a transaction fails, the exact reason is stored and returned so integrators can display proper error messages
- Test mode — use test API keys and the test phone number
256111777777to simulate transactions without real money (DGateway blocks test numbers on live keys to prevent accidental test transactions counting as revenue)
9. Built-In Audit Trail for Every Action
Every significant action in DGateway is logged in a comprehensive audit trail: transactions created, completed, or failed; withdrawals requested, approved, or rejected; settings changed; API keys generated.
Each audit log captures:
- What happened (action and entity type)
- Before and after payloads (so you can see exactly what changed)
- Who did it (user, API key, or system)
- When and from where (timestamp and IP address)
The audit trail is searchable, filterable by action type and entity, and available to both app admins and the super admin. For compliance, dispute resolution, and debugging, it is invaluable.
10. An Image-Optimized Media Pipeline
DGateway integrates with MediaKit — a self-hosted media platform that handles both video streaming and image optimization.
For images, this means every thumbnail, product photo, course cover, and banner is served through an on-demand transform API. Images are automatically resized, cropped, converted to WebP or AVIF, and cached at the edge. A 4MB PNG uploaded by a seller becomes a 50KB WebP served to buyers — without the seller doing anything.
For videos, MediaKit provides HLS adaptive streaming with multi-quality transcoding, sprite hover previews for scrubbing, and AI-powered video analysis for chapter generation. All of this runs on your own infrastructure — no Mux or Cloudinary bills.
More Than a Payment Gateway
DGateway started as a way to simplify mobile money payments for East African developers. It has grown into a full commerce infrastructure platform — payments, courses, digital products, templates, storefronts, subscriptions, media streaming, and developer tools, all in one.
If any of these features caught your eye, create an account and explore. You might be surprised by what you have been missing.