查询用户流水--已废弃

使用场景:查询用户流水

调用凭证: 应用签名

请求地址: https://oapi.gongyi.qq.com/api/user_center/getusertrans

请求方法: POST (HTTPS

请求参数:

参数 类型 必填 说明
openid string 用户openid
last_time int64 上一次查询时间戳
sort_type string 排队方式
page_cnt int 单页条数
  • 请求示例
    {
      "openid":"oproJj6ojtxOWMK3yyF8jcSPDTAs",
      "last_time":1657464404183397410,
      "sort_type":"asc",
      "page_cnt":10
    }
    

返回参数:

参数 类型 说明
code int 返回码:0表示成功,其他值表示错误,请参考错误码说明
msg string 错误信息
data string 返回数据,data为base64编码数据,使用前先做base64解码,解码结果为json字符串

返回示例:

{
"code": 0,
"data": "eyJVc2VydHJhbnMiOltdfQ==",
"msg": "",
"op_time": 1719892198,
"trace_id": "c7c87fa555a9ac8e8e13061161e82aae"
}
© 1998 - 2022 Tencent Inc. all right reserved,powered by tencent.更新时间: 2025-03-06 17:00:45

results matching ""

    No results matching ""

    results matching ""

      No results matching ""