Referrals
Register Code
Changed onRegisters a referral code from an EIP-712 RegisterCode signature. No API key; the signature is the sole authority. The same operation is available over GET with the message base64url-encoded in a message query parameter, for clients behind an edge that blocks POST.
post/api/referrals/code
Request
- Base URLhttps://backend-global.gains.trade
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Applied
Changes
- info
endpoint added
- info