The payment gateway
for developers.
One API. Every provider. Collect and disburse across MTN, Airtel, M-Pesa and cards, with failover built in, from Uganda to the rest of East Africa.
curl -X POST $DGATEWAY_API_URL/v1/payments/collectTest keys are free · no card required · live in under 5 minutes
your-app/api/checkout
POST /v1/payments/collect
X-Api-Key: dgw_live_••••
{ amount: 5000, currency: "UGX" }
DGateway
routing: UGX → iotec
Iotec
healthyUganda · mobile money
Relworx
healthyEast Africa · mobile money
Stripe
healthyWorldwide · cards
UGX mobile money routes through Iotec by default.
{ WORKS WITH }
{ QUICK START }
Integrate
in minutes,
not weeks.
One REST endpoint collects and disburses across MTN, Airtel and Stripe. Your server holds the key; the browser never talks to DGateway directly.
- Same request for every provider. Pass
provideror let DGateway pick by currency. - Test with
dgw_test_keys and test numbers, then swap the prefix todgw_live_. - Get the result by webhook, or poll the status every 10 seconds.
// Server-side only: the API key never reaches the browser
export async function POST(req: Request) {
const { amount, phone } = await req.json();
const res = await fetch(`${process.env.DGATEWAY_API_URL}/v1/payments/collect`, {
method: "POST",
headers: {
"X-Api-Key": process.env.DGATEWAY_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({ amount, currency: "UGX", phone_number: phone, provider: "iotec" }),
});
return Response.json(await res.json());
}200 · response
{
"data": {
"reference": "dgw_ref_8f2c…",
"status": "pending",
"provider": "iotec"
}
}webhook · callback_url
… status: pending · sent to vendor
{ HOW IT WORKS }
From sign-up to live payments.
Six steps, most of them done in an afternoon. Verification can be fast-tracked on a short WhatsApp call.
Sign up
Verify your email and create your first app. No card required.
Submit KYC
National ID or passport, a phone number in your name and business details.
Fast-track on WhatsApp
Optional 15-minute video call covering KYC and withdrawal approval.
Test for free
Generate dgw_test_ keys and run the full flow with test numbers.
Activate the API
One-time UGX 150,000 per app. Hosted-store sellers skip this.
Go live
Swap dgw_test_ for dgw_live_. Only the key prefix changes.
DGATEWAY_API_KEY= dgw_test_4f9a…c21e
the only line that changes
{ PROVIDERS }
Three providers.
One integration.
DGateway holds the provider credentials and contracts. You get every rail through the same request and the same webhook.
Iotec Uganda
MTN and Airtel Mobile Money
Relworx East Africa
Multi-country mobile money, including M-Pesa
Stripe Worldwide
Visa, Mastercard and other cards
3
PAYMENT PROVIDERS
7+
CURRENCIES
4
EAST AFRICAN COUNTRIES
<5 min
TO INTEGRATE
{ FEATURES }
Payments that keep working
when a provider doesn't.
Health checks, automatic failover, signed webhooks with retries and a sandbox that behaves like production.
Built-in failover
DGateway monitors every provider line and reroutes traffic when one goes down. Check it yourself: GET /api/provider-health, no auth needed.
Webhooks with retry
Pass a callback_url on collect or disburse. The final event is retried until your endpoint returns 200.
A sandbox with test numbers
Every outcome on demand, with test keys only.
Status polling
No webhook endpoint yet? Poll by reference every 10 seconds, up to 30 attempts.
attempt 7 → completed
Subscriptions
Daily, weekly, monthly or yearly plans. Resume, cancel and charge each cycle by API.
Payouts and withdrawals
Disburse to phones or bank accounts. Withdrawals are paid out immediately and listed with filters and pagination.
Errors you can act on
One error envelope, explicit codes and a failure_reason on every failed transaction.
{ BUILD WITH AI }
Let your
coding agent
wire it for you.
Answer three questions and copy a prompt for Claude Code, Cursor or any coding agent — it asks about your stack before it writes any code.
1 · Platform
2 · Payment type
3 · Currencies
Integrate DGateway into my web app to collect payments from customers in UGX.
Before writing code, ask me:
1. My framework and backend language
2. Where the server-side API routes live
3. Whether I can expose a public webhook URL
Rules:
- Keep DGATEWAY_API_KEY server-side only (never NEXT_PUBLIC_)
- Use dgw_test_ keys and the test numbers first
- Handle webhooks idempotently; poll status no faster than every 10s
Docs: https://dgateway.desispay.com/docs/llms▌Paste into your agent. It asks about your stack first.
{ NO CODE NEEDED }
Not a developer?
Sell anyway.
The hosted store gives creators, schools and NGOs a ready storefront on the same rails: no connection fee, just a commission on each successful sale.
{ PRICING }
Pay when you get paid. Nothing monthly.
Commission applies only to successful transactions. Failed or pending payments are never charged. Test mode is free.
Hosted store
Freeto start
No setup or connection fee. Pay commission per successful sale.
- Products, courses, events, templates
- Payment links and link in bio
- Customer portal and email marketing
API connection
For developersUGX 150,000one-time / app
Unlocks live dgw_live_ keys. Then 8% per successful transaction.
- Collections, disbursements, subscriptions
- All providers through one API
- Unlimited key rotation
- Test keys always free
Integration support
From UGX 350,000per project
We integrate DGateway into your product for you. Quote depends on complexity.
- Full integration and checkout UI
- Testing and QA
- Post-launch support
Commission per successful transaction
8%
API
10%
Events
12%
Store products
13%
Templates
15%
Courses
{ INTEGRATIONS }
Already on WordPress or Framer? Install and go.
Plugins for the platforms our customers already use, plus a REST API and webhooks for everything else.
WordPress plugin
Shortcodes for any page, or full WooCommerce checkout.
Plugin guideFFramer plugin
Pay button, donation form, product card and subscribe button.
Plugin guideREST API
Collect, disburse and subscribe from any language.
API referenceWebhooks
Real-time notifications for every final payment state.
Webhook guide{ FAQ }
Questions,
answered.
The ones developers ask before their first payment. There are 30+ more on the FAQ page.
All FAQsCreate an app and generate a dgw_test_ key. Test keys work with the test phone numbers (for example 0111777771 succeeds and 0111777991 fails). When you are ready, swap the key prefix to dgw_live_; nothing else changes.
Support
{ WHY IT EXISTS }
“I built DGateway because every payment gateway I tried got in my way.”
Poor docs, slow verification, and a cut taken from every course sale. So the docs come first, verification can happen on a 15-minute call, and the pricing is on this page.
Your first payment,
before lunch.
Create an app, grab a test key and run a collection against a test number. No card, no call needed.


