WalletService

查询钱包流水

Changed on

按 keyset 游标分页查询当前用户钱包流水。direction 可选,按流水方向过滤。cursor 为空表示首页,并返回当前筛选下的 total;后续页必须原样传回 nextCursor,不再统计总数。

get/v1/console/wallet/ledger

Request

Query parameters

pageSizeinteger
direction'' | 'credit' | 'debit'

流水方向筛选:空=全部,credit=入账,debit=出账

cursorstring

上一页返回的不透明 nextCursor;首页不传。

Response

OK

hasMoreboolean
nextCursorstring
totalstring

当前筛选下的可见流水条数。仅首页返回;proto JSON 以十进制字符串序列化。

Changes

    • warning

      deleted the query request parameter page

    • info

      added the new optional query request parameter cursor

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      deleted the query request parameter size

    • info

      added the new optional query request parameter direction

    • info

      added the new optional query request parameter pageSize