API
Kumir developers
Native iOS/Android and partner integrations use versioned /api/v1. The machine-readable contract is OpenAPI 3.1 at GET /api/v1/openapi. Do not invent Stripe, APNs, FCM, or OAuth keys — missing providers return 501 or log-only, never a fake success.
Auth: POST /api/v1/auth/login returns an HS256 access token (1 hour) and a rotating refresh token (30 days). Send Authorization: Bearer … and X-Fameo-Channel: ios|android. Health probes /api/v1/health and /ready stay unauthenticated.
merch
GET /api/v1/merch/orders
Fan merch order history (optional q) · Bearer
POST /api/v1/merch/orders
POST merch · orders · Bearer
GET /api/v1/merch/orders/{publicId}
GET merch · orders · :publicId · Bearer
POST /api/v1/merch/orders/{publicId}/fail
POST merch · orders · :publicId · fail · Bearer
POST /api/v1/merch/orders/{publicId}/pay
Confirm sandbox merch pay or return Stripe web checkoutUrl · Bearer
GET /api/v1/merch/orders/topics
Fan merch purchase policy topics (optional q) · Public
GET /api/v1/merch/orders/topics/{slug}
Fan merch purchase policy topic by slug · Public