星云税融API

API 文档
Base URL: https://shuiwu.xingyunv2.cn
接口文档

接口鉴权

获取access_token

获取access_token

获取平台鉴权令牌,有效期2小时

登录查看报价
POST https://shuiwu.xingyunv2.cn/api/v1/proxy/auth/token

请求参数

参数名 类型 必填 说明
grant_type String 默认client_credentials,刷新token使用refresh_token
client_appkey String 提供的AppKey
client_secret String 提供的AppSecret MD5 32位小写
refresh_token String 刷新token时使用,此时不需要传client_appkey和client_secret

请求示例

JSON
{
    "grant_type": "client_credentials",
    "client_appkey": "{{client_appkey}}",
    "client_secret": "{{client_secret}}"
}

响应参数

参数名 类型 说明
code String 业务异常状态码
message String 业务异常消息
reqId String 请求ID,由服务器端生成的唯一标识
success Boolean 是否成功
data.access_token String 访问令牌,签名需要使用
data.expires_in Integer 有效时长(毫秒),默认15天
data.refresh_token String 刷新access_token时使用

响应示例

JSON
{
    "code": "2000",
    "message": null,
    "success": true,
    "reqId": "75e20c4a7eec4ac0b42f9b3cdf223392",
    "data": {
        "access_token": "eyJhbGciOiJIUzUxMiJ9...",
        "expires_in": 1296000000,
        "refresh_token": "eyJhbGciOiJIUzUxMiJ9..."
    }
}

© 2026 星云税融API. All rights reserved.

如需接入支持,请联系技术团队 | 注册账号