Docs Add Your App

Add Your App

Register your app, create products, and connect Stripe payouts.

Register App and Catalog

Use the dashboard at https://moonstore.nanodata.cloud/catalog/manage to create your app and catalog entries. For automated setup, use authenticated catalog sync from your backend.

POST /api/v1/catalog/register-auth
{
  "appId": "com.example.myapp",
  "developerName": "Example Studio",
  "splitPct": 85,
  "products": [
    {
      "id": "pro_monthly",
      "type": "sub",
      "providerPriceRef": "price_123",
      "featureKeys": ["pro.monthly"]
    }
  ]
}

Connect Stripe

Run Stripe Connect onboarding before accepting live purchases. MoonStore uses backend-mediated Stripe flows, so clients never handle secret keys.

POST /api/v1/pay/connect/onboard
POST /api/v1/pay/connect/status

Run Checkout

Checkout is authenticated by default and supports one-time or subscription products.

POST /api/v1/pay/checkout
{
  "appId": "com.example.myapp",
  "productId": "pro_monthly",
  "provider": "stripe",
  "successUrl": "https://store.example/success",
  "cancelUrl": "https://store.example/cancel"
}