Marketplace Developer Documentation

This page is the v1.0 starter doc set. Marketplace Developer certification curriculum (per DEC-2026-04-27-010) lands as a separate course on learn.brrain.io when authored.

1. Marketplace overview

The bRRAIn marketplace is a certification-gated catalog of apps that customer bRRAIn instances can install in seconds. As a vendor, you publish a listing with one or more endpoints, declare your endpoint posture (TLS, auth scopes, data flows, latency SLA, BC commitments), and submit for certification. After review you set per-listing plans (free / flat / per-seat / usage). Customers license your app per-org per DEC-008; revenue is split 30% MHJ / 70% you.

2. Onboarding

  1. Sign up at /vendor-signup.
  2. Verify your email by replaying the token from the sign-up response.
  3. Wait for MHJ admin to flip your account to admin_approved.
  4. Visit /vendor-portal/{your-slug} for your dashboard.
  5. Publish your first listing via the portal (or directly via POST /api/vendor/{slug}/listings).

3. Listing schema

Every listing carries:

4. Certification

See /certification-criteria for the complete v1.0 rubric. TL;DR:

5. Licensing & revenue

Plans are per-listing. Customers pick a plan when they start a license. Trial periods (trial_days on the plan) flip the license trialingactive on conversion. Cancel keeps access through current_period_end; expire fires when a trial elapses without conversion.

Every charge appends a RevenueEvent split 30% MHJ / 70% vendor. Settlement is monthly (GET /api/admin/revenue?month=YYYY-MM).

6. Version management

7. Marketplace Developer certification (DEC-010)

A free Marketplace Developer course runs on learn.brrain.io/marketplace-developer when the curriculum is authored. It covers schema, signing keys, the certification process, billing webhooks, and revenue reporting. Until then, this docs page is the canonical reference.

8. Support

Open a ticket via POST /api/vendor/{slug}/tickets. Tickets show up in your dashboard at /vendor-portal/{slug}.