Adds the token-scoped VIP unlock surface and mounts it: - client routes (X-VIP-Token header auth): list vip_unlock_enabled methods (mirrors the footer's managed list), create/list/get unlock intents with per-method payment instructions and a memo code for reconciliation. - admin routes (service-token, guarded at /vip/unlock-admin/*): confirm a received payment -> records a paid vip_billing ledger entry exactly once via the atomic transition; cancel an open intent. Registers unlockIntentMigrations after paymentMethodMigrations (FK ordering) and adds the /vip/unlock-admin/* serviceTokenAuth guard alongside billing-admin. Methods are off by default and only handle/label are surfaced — never a legal name — so CashApp stays gated until the name change via a single admin toggle. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| @features | ||
| @packages | ||
| config.yaml | ||
| package.json | ||
| tsconfig.base.json | ||