跳转至

手机充值账单流水

充值账单流水

获取钱包的所有手机充值账单流水。

HTTP请求

GET /wallets/topups

Request Headers
{
    "Authorization": "Bearer {{access_token}}"
}
Content-Type: application/json
{
    "statusCode":200,
    "errorMsg": "",
    "statement": [
        {
            "idempotencyKey": "35bfc9c2-d7cd-11eb-b8bc-0242ac130003",
            "amount": 20.00,
            "currency": "MXN",
            "transactionId": "7f8c6018-2258-11eb-adc1-0242ac120002",
            "operatorId": "ATT",
            "transferStatus": "SETTLED",
            "transferErrorMsg": "",
            "entryTime": "2020-10-01T00:01:16"
        },
        {
            "idempotencyKey": "35bfc9c2-d7cd-11eb-b8bc-0242ac130004",
            "amount": 50.00,
            "currency": "MXN",
            "transactionId": "7f8c6018-2258-11eb-adc1-0242ac120001",
            "operatorId": "ATT",
            "transferStatus": "SETTLED",
            "transferErrorMsg": "",
            "entryTime": "2020-10-21T00:21:16"
        }
    ]
}

HTTP Headers 字段说明

Key Value
Authorization "bearer"+ "" + {{access_token}}
x-api-key {{api_key}}

路径参数

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

Response Body 字段说明

参数 类型 描述
statusCode Integer 状态代码,200 代表成功2, 401 访问受限, 422 参数错误, 500 内部错误
errorMsg String 如果查询失败,返回的错误信息
statement JSON 账单流水,详情如下
JSON 参数 类型 描述
idempotencyKey String 此参数用于幂等目的,交易的唯一标识ID
transactionId String 交易的 ID
amount String 交易金额
currency String 交易的货币种类
operatorId String 运营商ID
entryTime Time 交易时间
transferStatus String 此次交易的目前状态, 枚举值,SETTLED, IN_PROGRESS 或者 FAILED。
transferErrorMsg String 交易失败时返回的错误信息
回到页面顶部