Admin

Set Referral Config

Growth OS Phase 6 -- toggle one referral reward amount (points bonuses, Pro-grant days, or the Pro+ threshold) live, no redeploy. value is a plain int query/body param (FastAPI accepts it as a query param here, matching this file's existing convention for simple scalar admin actions -- see issue_key()/mark_annual_pro() above). Validated against the known key whitelist in services/referral_service.py's set_config().

post/api/admin/referral/config/{key}

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/referral/config/{key}
  • Auth: none declared

Path parameters

keystring required

Query parameters

valueinteger required
tokenstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.