1 申请令牌
POST
[域名] /apiv2/oauth/token
接口描述
获取token令牌,生产环境永不过期。
请求头
参数名
类型
描述
必填
Content-Type
string
请求类型: application/x-www-form-urlencoded
必填
请求参数
参数名
类型
描述
必填
client_id
String
传固定值:apiuser
必填
client_secret
String
传固定值:secret
必填
grant_type
String
传固定值:password
必填
username
String
纳税人识别号/手机账号;例如:440300087980444
必填
password
String
登录易票云的密码;例如:123456
必填
返回示例
返回参数说明
参数名
类型
描述
必填
access_token
String
永不过期,用户自行控制其作用周期
可选
token_type
String
令牌类型
可选
refresh_token
String
刷新令牌时,需要此令牌作为验证
可选
scope
String
令牌作用域
可选