Admin
Mark Annual Pro
2026-07-27: manual stand-in for a real payment webhook -- confirms user_id paid for an ANNUAL Pro subscription (there is no live Stripe/ PayPal integration yet). Sets their real plan to Pro with a genuine 1-year expiry, and -- if they were referred -- grants the referrer 1 year of Pro (or Pro+, once they've referred REFERRAL_PROPLUS_THRESHOLD paying annual-Pro conversions) via services/referral_service.py. Once a real payment gateway exists, its webhook should call ReferralService.mark_annual_pro_payment() directly instead of this endpoint; the reward logic itself doesn't change.
post/api/admin/users/{user_id}/mark-annual-pro
Request
- Base URL: https://api.xfinlab.com (the document declares no server; this is the origin it was published from)
- URL: https://api.xfinlab.com/api/admin/users/{user_id}/mark-annual-pro
- Auth: none declared
Path parameters
user_idinteger required
Query parameters
tokenstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.