Documentation

⚡ Quick Start Guide

Get up and running with MNNR in under 5 minutes

1

Create Account

Sign up for a MNNR account to get started:

  1. Visit mnnr.app
  2. Click "Sign Up" and create your account
  3. Verify your email address
  4. Set up your payment method
2

Get API Keys

Generate your API credentials:

  1. Go to your Account settings
  2. Navigate to "API Keys" section
  3. Click "Generate New Key"
  4. Copy your API key (keep it secure!)

⚠️ Security Note: Never share your API keys publicly. Store them securely in environment variables.

3

Install SDK

Choose your preferred SDK:

Python

pip install mnnr-sdk

import mnnr
client = mnnr.Client(api_key="your-api-key")

JavaScript/TypeScript

npm install @mnnr/sdk

import { MNNR } from '@mnnr/sdk';
const client = new MNNR({ apiKey: 'your-api-key' });
4

Make Your First Payment

Create your first payment:

Python

payment = client.create_payment(
    amount=100,  # Amount in cents
    currency="USD",
    description="Test payment"
)

print(f"Payment ID: {payment.id}")
print(f"Status: {payment.status}")

JavaScript

const payment = await client.payments.create({
  amount: 100,  // Amount in cents
  currency: 'USD',
  description: 'Test payment'
});

console.log(`Payment ID: ${payment.id}`);
console.log(`Status: ${payment.status}`);
5

Handle Webhooks

Set up webhook handling for payment events:

Configure Webhook Endpoint

# In your Account settings
Webhook URL: https://your-app.com/webhooks/mnnr

# Handle these events:
- payment.succeeded
- payment.failed
- payment.refunded

Example Webhook Handler

@app.post('/webhooks/mnnr')
def handle_webhook(request):
    event = mnnr.Webhook.construct_event(
        request.body, request.headers['signature'],
        'your-webhook-secret'
    )

    if event.type == 'payment.succeeded':
        # Handle successful payment
        print(f"Payment {event.data.id} succeeded!")

    return {'status': 'ok'}

🎉 You're All Set!

Your MNNR integration is ready. Start processing payments with confidence.

Need Help?

Our support team is here to help you get started. Don't hesitate to reach out!

| 📚 Docs: docs.mnnr.app