POST
/
api
/
v1
/
api
/
user
/
getUserDailyStatistics
获取商户每日统计
curl --request POST \
  --url https://waas2-out-api.powersafe-rel.cc/api/v1/api/user/getUserDailyStatistics \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data 'data=QqXI+lzQny4+QfWD+JAFcl1aq65Nj1kbfbQXmtjRO...'
{
"code": 0,
"message": "",
"data": "crstZOC2AC3L/WViSSe8MJNEdwt9DiL1iq2nZX3My7XzfAWaOZhFf0Uy1e3tMkhWnNxOUgItczCOQwo2UTJ...."
}

接口描述

提供商户及日期的业务日报统计数据,包含充值、提现、钱包余额等关键指标。

Headers

Content-Type
string
required

必须设置为 application/x-www-form-urlencoded

X-API-KEY
string
required

平台分配的商户身份凭证

Example:

"53af2797-3eca-4412-b0cc-15273afe2d3e"

Body

application/x-www-form-urlencoded
data
string
required

Base64编码的RSA加密数据,由以下原始参数加密生成:

jobDate (Date): 统计日期。

userId (int): 商户在 WaaS 系统中的ID。

Example:

"QqXI+lzQny4+QfWD+JAFcl1aq65Nj1kbfbQXmtjRO..."

Response

成功响应

code
integer
required

业务状态码(0 = 成功),其他值均表示失败。

Example:

0

message
string
required

正常情况下返回为空,当请求失败时则会返回错误信息。

Example:

""

data
string
required

Base64编码的RSA加密数据,由以下原始参数加密生成:

jobDay (string): 数据统计的日期(例如:2023-10-01)。

totalDepositAmount (number): 当日用户充值总金额。

totalDepositCount (integer): 当日充值总笔数(例如:100笔)

totalDepositUserCount (integer): 当日进行充值的用户数(例如:50个用户)。

totalWithdrawAmount (number): 当日用户提现总金额。

totalWithdrawCount (integer): 当日提现总笔数(例如:80笔)。

totalWithdrawUserCount (integer): 当日进行提现的用户数(例如:40个用户)。

pendingCollectionAmount (number): 系统中待归集的总金额。

collectionCount (integer): 当日完成的归集操作笔数(例如:10笔)。

pendingCollectionAddressCount (integer): 当前待归集的地址数量(例如:5个地址)。

coldWalletBalance (number): 冷钱包的余额。

hotWalletBalance (number): 热钱包的余额。

additionalTransferHotWallet (number): 当日热钱包额外转入的金额。

Example:

"G+RlQN2lJ4qQtiXJC7Y6rgHm5UI7TqM1fhPQ8CEf2C4e3jHu4yoK6pUkGIv+6FNyY/yyN30N7EaBA==...."