Documentation

📡 API Reference

Complete API documentation for MNNR platform integration

Health Check

GET /api/health

Check system health and connectivity status.

Response:

{
  "status": "healthy",
  "timestamp": "2024-01-01T00:00:00Z",
  "services": {
    "database": "connected",
    "redis": "connected"
  }
}

Authentication

WebAuthn Passkey Registration:

POST /api/auth/passkey/register/options

Get registration options for passkey setup.

WebAuthn Passkey Authentication:

POST /api/auth/passkey/authenticate/options

Get authentication options for passkey login.

Payments & Subscriptions

Stripe Webhooks:

POST /api/webhooks/stripe

Handle Stripe webhook events for subscription management.

Supported Events:

  • customer.subscription.created
  • customer.subscription.updated
  • customer.subscription.deleted
  • invoice.payment_succeeded
  • invoice.payment_failed

SDK Integration

Python SDK:

import mnnr

client = mnnr.Client(api_key="your-api-key")
payment = client.create_payment(amount=100, currency="USD")

JavaScript SDK:

import { MNNR } from '@mnnr/sdk';

const client = new MNNR({ apiKey: 'your-api-key' });
const payment = await client.payments.create({
  amount: 100,
  currency: 'USD'
});

API Status: Operational

All API endpoints are functioning normally with 99.9% uptime SLA.

For API support or integration questions, please contact our developer team.