The Payment Gateway For Developers

One API. Every provider. Collect and disburse payments across Mobile Money and Cards.

Works with
MTNAirtelIotecRelworxStripeWordPressWooCommerceFramerNext.js

Getting Started

Integrate in minutes,
not weeks.

A single REST endpoint handles collection and disbursement across MTN, Airtel, and Stripe. Get your API key and start accepting payments in under 5 minutes.

1// app/api/checkout/route.ts
2import { NextResponse } from "next/server";
3
4export async function POST(req: Request) {
5 const { amount, phone } = await req.json();
6
7 const res = await fetch(
8 "https://dgatewayapi.desispay.com/v1/payments/collect",
9 {
10 method: "POST",
11 headers: {
12 "X-API-Key": process.env.DGATEWAY_API_KEY!,
13 "Content-Type": "application/json",
14 },
15 body: JSON.stringify({
16 amount,
17 currency: "UGX",
18 phone_number: phone,
19 provider: "iotec",
20 }),
21 }
22 );
23
24 const data = await res.json();
25 return NextResponse.json(data);
26}

How it works

Six steps from signup to first payment

Most apps go from zero to live transactions in under 24 hours. Test mode is free — you only pay once you flip the switch on real money.

Step 1

Sign up & verify your email

Create a free DGateway account at dgatewayadmin.desispay.com/store/signup. Verify your email via OTP. Create your first App from the dashboard — this is the project that will hold your API keys, transactions, and store. Takes 2 minutes, no card required.

Step 2

Submit KYC documents

Open your Verification page and upload: front + back of your national ID (or passport), your phone number registered to the same name, and your business name + location. Standard regulatory KYC — required before you can accept real money in Uganda.

Step 3

WhatsApp support for fast-track

Message JB on WhatsApp to schedule a 15-minute video call covering KYC, Big Withdraw, and Bank Transfer approvals — collapses 3 review cycles into one. Most apps get fully verified the same day. Also join the DGateway WhatsApp group where the team and other builders answer questions in real time.

Step 4

Get verified — test API immediately

Once approved you can generate test API keys (dgw_test_*) and run the full integration end-to-end. STK pushes work with our sandbox numbers, webhooks fire, status polling works. Build and verify everything without paying anything yet.

Step 5

Pay the UGX 150,000 platform fee — only if you're using the API

Selling through the hosted store? Skip this step entirely — products, payment links, courses, events, link-in-bio, and org payments work the moment your KYC clears. You only pay the per-transaction commission.

Integrating via the v1 API? This one-time connection fee activates live dgw_live_* keys. Pay it from Dashboard → your app → Billing (mobile money or card). Covers provider onboarding paperwork — Iotec, Relworx, and Stripe each require separate KYB per app. Paid once per app, never again; test API calls keep working without it. After paying, please WhatsApp JB a screenshot so we can confirm + flip your app to live immediately.

Step 6

Integrate via docs or AI

Read the /docs guides for hand-coded integration in any language, or visit /docs/ai-integration to generate a copy-paste prompt for Claude Code, Cursor, Lovable, or Bolt. Swap your DGATEWAY_API_KEY to dgw_live_* and deploy. Same endpoints, same webhooks — only the key prefix changes.

Building with AI?

Let Claude Code, Cursor, or Lovable
wire DGateway for you.

Answer three quick questions — what platform, what payment type, what currencies — and we generate a copy-paste prompt your AI coding agent can drop straight into your project. Endpoints, webhooks, env vars, error handling, all spelled out — and the prompt tells the agent to ask you clarifying questions about your stack before writing any code, so the integration matches your conventions instead of inventing new ones.

Generate my prompt Free · No signup required · ~30 seconds
Works withClaude CodeCursorWindsurfLovablev0BoltReplit
Three quick questions1 / 3

Web app

Next.js, Remix, SvelteKit, Laravel…

Mobile app

React Native, Expo, Flutter…

Both

Shared backend, separate clients

Step 1 of 3

One API, multiple providers

Unified billing and transaction handling across Iotec, Relworx, and Stripe. Collect via Mobile Money or Card through a single endpoint.

Built-in failovers, better uptime

Automatic provider health monitoring and smart routing. If one provider goes down, traffic reroutes seamlessly.

Transparent pricing, no hidden fees

Pay only when you earn. A flat commission per transaction — no monthly fees, no minimums, no surprises.

Everything you need

Build, sell, and get paid

Whether you're a developer integrating our API, a creator selling products, or an educator launching courses — DGateway has you covered.

Collect & disburse with a single API

Integrate DGateway's REST API into any app. Collect payments via Mobile Money (MTN, Airtel) or Cards (Stripe). Disburse to any phone or bank account. Real-time webhooks, status polling, and comprehensive error reporting.

  • Live & test API keys
  • Webhook callbacks with retry
  • Auto provider selection by currency
  • Transaction status polling
API Access

Supported Providers

Accept payments from every major mobile money and card network in East Africa

Iotec

Iotec

Uganda

MTN & Airtel Mobile Money

UGX
Relworx

Relworx

East Africa

Multi-country mobile payments

UGXKESTZSRWF
Stripe

Stripe

Worldwide

Global card payments

USDEURGBPKESUGX

3

Payment Providers

7+

Currencies Supported

4

East African Countries

< 5 min

Integration Time

Integrations

Works with your stack

Native plugins for WordPress and WooCommerce. SDK examples for Next.js, React, and any HTTP client. Accept payments wherever your customers are.

WordPress
WordPress
WooCommerce
WooCommerce
Framer
Framer
Next.js
Next.js

Frequently
Asked Questions

The ones we get asked most. Browse all 30+ FAQs →

Got more questions?

Search 30+ answers across 9 categories — env vars, webhooks, withdrawals, KYC, the lot.

See all FAQs
Muke Johnbaptist (JB)

I built DGateway because every payment gateway I tried got in my way. Docs were sketchy, verification dragged on for weeks, and as someone who teaches code on the side, I had nowhere clean to sell my courses without losing a chunk to a third-party platform. So I built one. One API, honest docs, fast verification, and a built-in store for courses, products, and events. That's the gateway I wanted to use.

Muke Johnbaptist

Creator of DGateway

Ready to get started?

Create your free account and start accepting payments in minutes. No credit card required.