用于查询卡片的交易记录。
${baseUrl}/op/card/E/transaction
- 方法:POST
- Content-Type: application/json
| 参数名 | 必选 | 类型 | 说明 |
| cardNumber | 是 | string | 卡号 |
| pageSize | 是 | string | 数量 |
| dateRangeFrom | 否 | string | 起始时间,格式yyyy-MM-dd |
| dateRangeTo | 否 | string | 结束时间,格式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 |
| status | 200 | 响应码 | int |
| success | true | 是否成功:true 成功,false 失败 | bool |
| 参数名 | 示例 | 说明 |
| amount | 23434 | 金额 |
| cardAccountId | 17c17176-7bfe-4c1e-8bb4-b51f0524d76a | 卡账号ID |
| cardEmbossedName | HUIB | 卡个性名 |
| cardId | 17c17176-7bfe-4c1e-8bb4-b51f0 | 卡ID |
| cardLast4 | 8922 | 卡后4位 |
| createdAt | 2023-02-26T22:23:26.103Z | 交易创建日期 |
| currency | HKD | 币种 |
| description | TOP UP | 描述 |
| entryType | CREDIT | 类型:CREDIT-入账,DEBIT-出账 |
| intent | topup | 交易目的/方式:charge-收费、refund-退款、topup/transfer-充值、repay-偿还、cashback-现金返回、interest-利息、fee-费用、other-其他 |
| status | posted | 状态:pending-待处理,posted-已完成,declined-已拒绝,void-已取消 |