> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://mmg-sdk.wetechnologygroup.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mmg-sdk.wetechnologygroup.com/_mcp/server.

# Quickstart

> Get started with the MMG TypeScript SDK

The MMG TypeScript library provides convenient access to the MMG APIs from TypeScript.

## Installation

Install the SDK using your preferred package manager:

```sh
npm i -s mobile-money-sdk
```

## Basic Usage

Instantiate and use the client with your credentials:

```typescript
import { MMGClient } from "mobile-money-sdk";

const client = new MMGClient({ 
    wssMid: "YOUR_WSS_MID", 
    wssMkey: "YOUR_WSS_MKEY", 
    wssMsecret: "YOUR_WSS_MSECRET", 
    apiKey: "YOUR_API_KEY", 
    wssCorrelationid: "YOUR_WSS_CORRELATIONID", 
    wssToken: "YOUR_WSS_TOKEN" 
});

await client.authentication.loginResourceTokenApi();
```