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:
- Visit mnnr.app
- Click "Sign Up" and create your account
- Verify your email address
- Set up your payment method
2
Get API Keys
Generate your API credentials:
- Go to your Account settings
- Navigate to "API Keys" section
- Click "Generate New Key"
- 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