Admin
Admin: set referral slug
Changed onSet a wallet's referral vanity slug on their behalf. Only allowed when address already has a row in affiliates — this is an affiliate-onboarding override, not a general account tool. Same grammar as the self-service UpdateReferralSlug (3-32 chars, lowercase/digits/hyphen/underscore), but skips the EIP-191 signature since admin auth substitutes for wallet-ownership proof. Pass an empty slug to generate a random one.
post/admin/accounts/{address}/referral-slug
Request
- Base URLhttps://api.testnet.rise.trade
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
addressstring required
path param, "0x"-prefixed hex; must already have an affiliates row
Request body
Response
A successful response.
Changes
- info
endpoint added
- info