Mobile money for Deriv sites.
Let your customers deposit to and withdraw from their Deriv account with M-Pesa, MTN MoMo or Airtel Money, straight from your site. One REST API, signed webhooks, and an MCP server so your AI coding agent can wire it up for you.
const res = await fetch("https://deriapi.site/api/v2/deposits", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.DERIPAY_API_KEY}`,
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
connection_id: "con_6720f1…",
country: "KE",
amount: 1500, // KES, whole units
phone_number: "0712345678",
}),
});
// → { success: true, data: { id: "txn_…", state: "pending", … } }Four steps to a working cashier.
Add your Deriv OAuth client ID and create a scoped server key.
Your site signs the customer in with Deriv and sends us the token once.
Start deposits and withdrawals in the customer's own currency and operator.
Signed webhooks and a live status stream, so you never guess.
Local currency, local operators.
Amounts are whole units of the customer's currency. Rates and limits come live from GET /api/v2/rates.
- KenyaKESM-Pesa
- TanzaniaTZSM-Pesa (Vodacom), Airtel Money, Tigo Pesa, HaloPesa
- UgandaUGXMTN MoMo, Airtel Money
Built for AI coding agents
Add https://deriapi.site/mcp to Claude Code, Codex or Cursor. Sign in once and the agent can read the docs, register your Deriv app, create keys and webhooks, and check your integration. It can never move money.
Earn on every transaction
You keep 22% of the exchange margin on every completed deposit and withdrawal, paid to your M-Pesa on the 1st and 16th.