获取余额详情
http请求地址:https://openapi.uupt.com/v2_0/getbalancedetail.ashx
http请求方式:POST
调用说明
(注:参数以form-data方式传递,不是json方式)
调用参数说明
参数名 | 类型 | 是否必须 | 描述 |
---|---|---|---|
sign | string | 是 | 加密签名,详情见 消息体签名算法 |
nonce_str | string | 是 | 随机字符串,不长于32位 |
timestamp | string | 是 | 时间戳,以秒计算时间,即unix-timestamp |
openid | string | 是 | 用户openid,详情见 获取openid接口 |
appid | string | 是 | appid |
返回说明
正常情况下,UU跑腿会返回下述数据包(注:参数以json方式)
返回参数说明
参数名 | 描述 |
---|---|
AccountMoney | 账户余额 |
LockedMoney | 账户冻结余额 |
nonce_str | 随机字符串,不长于32位 |
sign | 加密签名,详情见消息体签名算法 |
appid | 第三方用户唯一凭证 |
return_msg | 返回信息,如非空,为错误原因,如签名失败、参数格式校验错误 |
return_code | 状态,ok/fail表示成功 |
错误时返回的json数据包
错误码说明服务示例
sign系统自动生成无需增加
参数名 | 值 | 类型 | 是否必须 | 备注 |
---|---|---|---|---|
appkey | string | 是 | 应用秘钥(appkey) | |
nonce_str | string | 是 | 随机字符串,不长于32位 | |
timestamp | string | 是 | 时间戳,以秒计算时间,即unix-timestamp | |
openid | string | 是 | 用户openid,详情见 获取openid接口 | |
appid | string | 是 | appid |
请求参数
返回结果: