Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

查询交易记录

简要描述

用于查询卡片的交易记录。


请求URL

${baseUrl}/op/card/E/transaction

请求方式

  • 方法:POST
  • Content-Type: application/json

请求参数

参数名必选类型说明
cardNumberstring卡号
pageSizestring数量
dateRangeFromstring起始时间,格式yyyy-MM-dd
dateRangeTostring结束时间,格式yyyy-MM-dd

返回示例

{
    "data": [
        {
            "amount": "10",
            "cardAccountId": "938b56b2-3437-4295-8393-b5e407504c39",
            "cardEmbossedName": "",
            "cardId": "",
            "cardLast4": "",
            "createdAt": "2023-12-13T06:52:55.919Z",
            "currency": "HKD",
            "description": "增值",
            "entryType": "DEBIT",
            "id": "bb5bbae7-d987-4983-bf75-01b90c8e0f3f",
            "intent": "transfer",
            "merchant": "{\"country\":\"\",\"name\":\"\",\"mcc\":\"\",\"category\":\"\"}",
            "refId": "CTNAUG5382",
            "status": "posted"
        },
        {
            "amount": "500",
            "cardAccountId": "938b56b2-3437-4295-8393-b5e407504c39",
            "cardEmbossedName": "",
            "cardId": "",
            "cardLast4": "",
            "createdAt": "2023-12-13T03:30:50.390Z",
            "currency": "HKD",
            "description": "CREDIT BALANCE ADJUSTMENT",
            "entryType": "CREDIT",
            "id": "da8295d2-df35-4c61-b7df-85ea8e740b51",
            "intent": "topup",
            "merchant": "{\"country\":\"\",\"name\":\"\",\"mcc\":\"\",\"category\":\"\"}",
            "refId": "CTD8U71NPV",
            "status": "posted"
        }
    ],
    "msg": "操作成功",
    "status": 200,
    "success": true
}

返回参数说明

参数名示例参数说明类型
data见下表响应数据(交易列表)array
msg操作成功响应消息string
status200响应码int
successtrue是否成功:true 成功,false 失败bool

data - 交易记录信息

参数名示例说明
amount23434金额
cardAccountId17c17176-7bfe-4c1e-8bb4-b51f0524d76a卡账号ID
cardEmbossedNameHUIB卡个性名
cardId17c17176-7bfe-4c1e-8bb4-b51f0卡ID
cardLast48922卡后4位
createdAt2023-02-26T22:23:26.103Z交易创建日期
currencyHKD币种
descriptionTOP UP描述
entryTypeCREDIT类型:CREDIT-入账,DEBIT-出账
intenttopup交易目的/方式:charge-收费、refund-退款、topup/transfer-充值、repay-偿还、cashback-现金返回、interest-利息、fee-费用、other-其他
statusposted状态:pending-待处理,posted-已完成,declined-已拒绝,void-已取消