Add account self-delete and subscription lifecycle sync (#34) #39

Merged
westfarn merged 2 commits from feature/account-self-delete-and-subscription-mgmt into master 2026-08-01 12:24:17 -07:00
2 Commits
Author SHA1 Message Date
westfarn d01f3a2696 Log account delete and subscription changes in UserAuthEvent
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 10s
Add account_deleted, subscription_started, and subscription_updated
event types. Soft-delete, Checkout/Backer assign, and Stripe portal
lifecycle webhooks write audit rows visible on the user admin.
2026-08-01 14:21:53 -05:00
westfarn b3203f755d Add account self-delete and subscription lifecycle sync (#34)
CI / test (pull_request) Successful in 10s
Unit Tests / test (pull_request) Successful in 9s
Soft-delete DELETE /api/user/ for authenticated users (hide conversations,
blacklist tokens, block staff self-delete). Sync Stripe portal cancel/change
via subscription.updated/deleted webhooks and expose cancel_at_period_end for
Account UI (chat_web_app#75 companion).
2026-08-01 14:15:09 -05:00