POST
查询卡片操作记录
使用此接口按卡片 ID、幂等请求 ID、操作类型和时间范围查询卡片操作记录。
请求
ApiKeyOnerway 分配的发卡 API key 请求 Header。
示例:
replace_with_issuing_api_keycardId卡片 ID 筛选条件;不传时可查询商户下所有卡片记录。
示例:
100001clientRequestId幂等请求 ID 筛选条件。
示例:
REQ_20260101_001type操作类型筛选条件。
可选值
CREATE- 开卡操作。
FREEZE- 冻结操作。
UNFREEZE- 解冻操作。
startTime查询开始时间,UTC 秒级时间戳。
示例:
1735689600endTime查询结束时间,UTC 秒级时间戳。
示例:
1735776000pageNum页码。
示例:
1约束
- 范围
1
pageSize每页条数。
示例:
10约束
- 范围
1100
curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/card/getOperateRecordList' \
-H 'ApiKey: replace_with_issuing_api_key' \
-H 'Content-Type: application/json' \
--data-raw '{
"cardId": 100001,
"pageNum": 1,
"pageSize": 10,
"type": "DEPOSIT"
}'响应
respCode业务响应码;
20000 表示成功。respMsg响应信息。
data{ totalRecords, pageSize, ... }分页操作记录。
{
"respCode": "20000",
"respMsg": "success",
"data": {
"totalRecords": 1,
"pageSize": 10,
"current": 1,
"pageNum": 1,
"totalPages": 1,
"records": [
{
"operateRecordId": 200001,
"cardId": 100001,
"clientRequestId": "REQ_20260101_001",
"type": "DEPOSIT",
"status": "S",
"remark": null,
"amount": 100,
"currency": "USD",
"operateTime": 1735689600000,
"feeList": [
{
"feeType": "DEPOSIT",
"feeAmount": 1,
"feeCurrency": "USD"
}
]
}
]
}
}该接口暂未记录错误响应。