Shared identity + merchant scoping

Discovery Operations

pending_reviewOwner session
Signed in as
Ava Perera
Available organisations
Skyward · Harbor House
Merchant status
pending_verification
Pending verification approval
Published discovery brands
1
Shared feed exposed for RN discovery consumption
Promotion queue
1
Draft and moderation states tracked server-side
Linked merchant roles
2
Owner · Marketing Manager
Verification status
pending_review
Brand locations
1
Queued promotions
1

Access resolution

The API returns `GET /api/v1/me` with the active merchant link, available merchant switcher options, and the current short-lived access/refresh session pair.

  • Shared identity source: existing PayPex `users` table.
  • Merchant scope source: `merchant_user_links` with portal role enforcement.
  • Session controls: listable browser sessions with refresh rotation and revoke support.

Go-live blockers

  • Verification must move from `pending_review` to `approved`.
  • Brand must be published before the first promotion can be submitted.
  • Discovery feed will include 1 published brand(s) once both conditions are met.

Recent portal activity

  • Verification evidence submittedwarning
    2026-06-07T00:30:00.000Z
  • Brand preview contract generatedsuccess
    1 location(s) and 1 social link(s) included
  • Discovery payload readysuccess
    1 public store profile(s) currently renderable