跳转至

水电煤支付流水

水电煤支付流水

返回指定钱包一定时间内的所有水电煤支付交易记录.

HTTP请求

GET /wallets/{{walletId}}/utilities

Request Headers
{
    "Authorization": "Bearer {{access_token}}"
}
Content-Type: application/json
{
    "statusCode":200,
    "errorMsg": "",
    "statement": [
        {
            "creditDate": "2020-09-30",
            "description": "TRANSF P/OUTRA CONTA",
            "amount": 20.00,
            "transactionId": "67bdf90c-224d-11eb-adc1-0242ac120002",
            "comment": "",
            "entryTime": "2020-10-01T00:01:16",
            "type": "D"
        },
        {
            "creditDate": "2020-10-29",
            "description": "COMPRA COM CARTAO",
            "amount": 10.00,
            "transactionId": "0227bafa-224e-11eb-adc1-0242ac120002",
            "comment": "SAO PAULO BR",
            "entryTime": "2020-10-29T05:52:56",
            "type": "C"
        }
    ]
}

HTTP Headers 字段说明

Key Value
Authorization "bearer"+ "" + {{access_token}}

路径参数

参数 是否必填 类型 描述
walletId String 被查询钱包的钱包ID
startDate String 查询交易的起始日期, 格式 YYYY-MM-DD
endDate String 查询交易的结束日期, 格式 YYYY-MM-DD

Response Body 字段说明

参数 类型 描述
statusCode Integer 状态代码,200 代表成功2, 401 访问受限, 422 参数错误, 500 内部错误
errorMsg String 如果查询失败,返回的错误信息
statement JSON 返回的流水,格式是JSON数组, 详细信息如下
JSON参数 类型 描述
creditDate String 交易提交日期
description String 交易描述
amount Float 交易金额
transactionId String 交易号
comment String 交易备注
entryTime String 交易完成时间
type String 交易类型, C = Credit(钱入), D = Debit(钱出)
回到页面顶部