Payments for Morocco.Local and international.
CorpoPay is the payments platform built for Moroccan merchants — accept CMI cards, Visa and Mastercard through one API, settled in MAD or USD, with a double-entry ledger that balances every dirham. Apple Pay and Google Pay arrive soon, via a licensed partner.
How it works
The money journey, end to end.
Four steps, one balanced ledger. CorpoPay routes, settles, and reconciles on your behalf — so you never touch settlement math.
Collect
Accept a one-off payment, subscription, or installment through a hosted link or the API. Funds land in CASH.
Settle
On capture, the ledger posts balanced entries: fee → FEES, reserve → RESERVE, and the net → AVAILABLE.
Reconcile
A three-way match — provider report vs ledger vs payouts. Any mismatch is flagged, never silently passed.
Pay out
Your PSP settles the net straight to your own bank account — CorpoPay mirrors it and keeps the ledger balanced.
What it is
Why teams choose CorpoPay.
Payment orchestration
Every PSP behind one interface. Add a provider without touching a single route.
Direct settlement
Payments route through VPS (MAD) and Stripe (USD) and settle straight to your bank account — CorpoPay never holds your funds.
Subscriptions & installments
Recurring billing and installments are first-class flows — dunning and statuses included.
Two ways to integrate
No-code hosted payment links for quick sales, or a server-to-server API for your product.
Developer experience
One line to ship your integration.
Install the SDK, configure it once with your base URL and tenant API key, then call typed methods — auth, money, and statuses are handled for you.
Start with the SDKimport { createCorpoPay, PaymentLinks } from "@corpopay/sdk";
const corpoPay = createCorpoPay({ baseUrl: "…", apiKey: "cp_live_…" });
const { data } = await PaymentLinks.createPaymentLink({
client: corpoPay.client,
body: { amount: 9900, currency: "MAD", description: "Workshop" },
});Security & trust
Built to be audited, not trusted on faith.
A payments platform is only as good as its guarantees. These are ours.
Double-entry ledger
Σ debits = Σ credits after every write. Balances are derived, so money cannot go missing silently.
HMAC-verified webhooks
Every webhook is signed and verified synchronously before processing, then deduped to prevent replays.
AES-256-GCM at rest
Provider credentials and card profiles are encrypted and never stored in plaintext.
Idempotent requests
Retry safely with idempotency keys — exactly-once money movement, even under replays.
Three-way reconciliation
Provider, ledger, and payouts are matched; a difference surfaces as a flag, not a silent pass.
Your funds stay yours
CorpoPay routes payments and settles directly to your own bank account — it never holds or pools your money.
Questions, answered
What merchants ask before going live.
Straight answers to the questions that matter before you connect your keys.
Built for Moroccan teams.
"CorpoPay let us authorize a guest's card at booking and capture it at check-in — across USD and MAD. The double-entry ledger is the first time we've fully trusted our settlement numbers."
"The wallet preset is exactly what parking needs — top up, pay-as-you-go, and reconcile automatically. HMAC-verified webhooks mean we never drop a payment event."
Start building today.
Accept MAD and international payments through one API — no per-seat fees. Pick a plan and take your first payment in minutes.