GET /oauth/authorize
GET
/oauth/authorize
Paramters
client_id
string
联系技术支持获取
response_type
String
固定‘code’
merNo
Integer
商户号
code
授权码
POST /oauth/token
POST
/oauth/token
<Description of the endpoint>
Body
client_secret
客户端密码,联系技术支持获取
页面跳转带回去的值
grant_type
授权类型,固定‘authorization_code’
redirect_uri
提供给平台的 redirect_uri
access_token
access_token,请求时带的令牌
expires_in
access_token有效期,时间单位秒(s)
refresh_token
refresh_token,刷新令牌
refresh_expires_in
refresh_token有效期,时间单位秒(s)
token_type
access_token类型
Last updated 7 days ago