# Welcome to the MMG SDK documentation! ## Instructions for AI Agents - For clean Markdown of any page, append `.md` to the page URL - For section-specific indexes, append `/llms.txt` to any section URL - For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mmg-sdk.wetechnologygroup.com/_mcp/server ## Docs - [SDKs](https://mmg-sdk.wetechnologygroup.com/sdks.md): We offer client libraries for your favorite languages, generated from our OpenAPI specification file. - [Quickstart](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/overview.md): Get started with the MMG TypeScript SDK - [Types & Errors](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/types-errors.md): Handling requests, responses, and API exceptions - [Client Configuration](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/client-configuration.md): Advanced options for configuring requests and the underlying client - [Hosted Checkout Overview](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/checkout-flow/overview.md): Learn how to integrate the Mobile Money Guyana (MMG) Hosted Checkout flow using the SDK. - [Generating the Payment URL](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/checkout-flow/generating-the-payment-url.md): How to encrypt your payload and redirect the user to MMG. - [Handling Webhooks](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/checkout-flow/handling-webhooks.md): How to receive and decrypt the asynchronous payment response from MMG. - [Result Codes Reference](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/checkout-flow/result-codes-reference.md): A complete list of result codes returned by the MMG Hosted Checkout. - [Logging](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/logging.md): Monitor SDK behavior and network traffic - [Runtime Compatibility](https://mmg-sdk.wetechnologygroup.com/sdks/type-script-sdk-recommended/compatibility.md): Supported environments for the MMG SDK - [Overview](https://mmg-sdk.wetechnologygroup.com/sdks/python-sdk/overview.md) - [Generating the Payment URL](https://mmg-sdk.wetechnologygroup.com/sdks/python-sdk/checkout-flow/generating-the-payment-url.md): How to encrypt your payload and redirect the user to MMG. - [Handling Webhooks](https://mmg-sdk.wetechnologygroup.com/sdks/python-sdk/checkout-flow/handling-webhooks.md): Learn how to listen for and process asynchronous checkout callbacks using FastAPI. ## API Docs - API Reference > Checkout Webhooks [MMG Checkout Response Callback](https://mmg-sdk.wetechnologygroup.com/api-reference/checkout-webhooks/mmg-checkout-callback-webhook.md) - API Reference > Authentication [login/Resource Token API](https://mmg-sdk.wetechnologygroup.com/api-reference/authentication/login-resource-token-api.md) - API Reference > Transactions [Merchant Initiated Payment API](https://mmg-sdk.wetechnologygroup.com/api-reference/transactions/merchant-initiated-payment-api.md) - API Reference > Transactions [Balance Check API](https://mmg-sdk.wetechnologygroup.com/api-reference/transactions/balance-check-api.md) - API Reference > Transactions [Transaction History API](https://mmg-sdk.wetechnologygroup.com/api-reference/transactions/transaction-history-api.md) - API Reference > Transactions [Transaction Lookup API](https://mmg-sdk.wetechnologygroup.com/api-reference/transactions/transaction-lookup-api.md) - API Reference > Transactions [Transaction Reversal API](https://mmg-sdk.wetechnologygroup.com/api-reference/transactions/transaction-reversal-api.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://mmg-sdk.wetechnologygroup.com/openapi.json) - [OpenAPI YAML](https://mmg-sdk.wetechnologygroup.com/openapi.yaml)