post
https://sandboxapi.legendtrading.com/app/lite/token
generate Legend lite token and url
Token generate rules
English
- Each user can have only one available token for each
type. The old token will become invalid when a new one is generated. - The initial expiration time is 30 minutes.
expires=1800 - If the request parameters
callback_urlandpayloadare changed, a new token will be generated. Otherwise, the valid token will be reused. - The
expires_atfield represents the token's expiration time in UTC.
中文
- 每个用户在单个 type 中,同一时间只有一个有效 token,生成新 token 时,旧 token 将会自动失效;
- token 默认有效期是 30分钟,
expires=1800; - 如果请求参数
callback_url和payload有变化,将会生成新 token,否则将复用有效 token; - 接口返回
expires_at为 token 的 UTC 过期时间。
