授权接口
结果对象属性描述
property name
type
description
merNo
Integer
商户号
code
String
授权码
获取Access_token
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Query parameters
client_idanyRequired
分配给合作伙伴的client_id
client_secretanyRequired
客户端密码,分配给合作伙伴的client_secret
codeanyRequired
第四步跳转带回去的code值
grant_typeanyRequired
授权类型,固定值authorization_code
redirect_urianyRequired
商户后去授权码后跳转的地址
Responses
200
OK
*/*
get
/oauth/token200
OK
结果对象属性描述
property name
type
description
access_token
String
access_token,请求时带的令牌
expires_in
Integer
access_token有效期,时间单位秒(s)
refresh_token
String
refresh_token,刷新令牌
refresh_expires_in
Integer
refresh_token有效期,时间单位秒(s)
token_type
String
access_token类型
Last updated