Skip to main content
Monei Connect lets you build third-party apps that interact with a user’s Monei wallet with their explicit approval. It’s Monei’s OAuth 2.0 layer. Think of it like “Sign in with Google” but for financial operations. Instead of reading an email or profile, your app can read balances, send money, pay bills, or execute swaps, all on the user’s behalf, with only the permissions they choose to grant.
Monei Connect is for third-party developers building apps on top of Monei. If you’re building your own product directly with Monei APIs, use an API key instead.

When to use Connect

Use caseAuth method
Building your own product with Monei infrastructureAPI key
Building an app that accesses another user’s Monei accountMonei Connect
Examples of Connect use cases:
  • A budgeting app that reads a user’s Monei transaction history
  • A payroll platform that sends Naira from an employer’s Monei wallet to employees
  • A DeFi dashboard that executes swaps on behalf of a user
  • A savings app that moves funds between a user’s sub-wallets

How it works

Monei Connect follows the standard OAuth 2.0 Authorization Code Flow:
1

Your app redirects the user to Monei

You send the user to monei.cc/connect/authorize with your client_id, requested scopes, and a state value.
2

User reviews and approves permissions

Monei shows the user a consent screen listing exactly what your app is asking to do. The user can approve all scopes, or only some of them.
3

Monei redirects back to your app

After approval, Monei redirects to your redirect_uri with a short-lived code in the query string.
4

Your server exchanges the code for tokens

Your backend makes a server-to-server call to exchange the code for an access_token and refresh_token. This must happen server-side never in the browser.
5

Call Monei APIs on behalf of the user

Use the access token as a Bearer token on any API call. The token only works for the scopes the user approved.

Key concepts

Scopes: permissions your app requests. Each scope unlocks a specific set of API endpoints. Request only what you need, users are more likely to approve minimal, specific requests. See the full Scopes reference. Partial grants: users control which scopes they approve individually. Your app must handle receiving fewer scopes than it requested. See Handling Partial Grants. Access tokens: short-lived tokens (1 hour) used to call Monei APIs as the user. Prefix: mct_ Refresh tokens: long-lived tokens used to get a new access token without the user re-authorizing. Prefix: mcr_ Client credentials: your app’s identity. client_id is public (mc_). client_secret is secret (mcs_) and only shown once at registration.

What’s different from a regular API key

API KeyConnect Token
Who it representsYou (the developer)A specific Monei user
ScopeFull access to your own accountOnly what the user approved
User consent requiredNoYes
ExpiryUntil revoked1 hour (refreshable)
Use caseYour own productThird-party access

Register Your App

Create a developer account and register your app to get credentials

Quickstart

Full working integration in under 10 minutes

Scopes Reference

Every scope, what it unlocks, and which endpoints it covers

OAuth Flow

Deep dive into each step of the authorization flow