curl --location --request POST 'https://kf.pikabao.cc/agent/v1/tasks/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": "user123",
"orderId": "111222333",
"timestamp": "1640995200000",
"sign": "ABC123..."
}'
{
"code": 0,
"msg": "",
"content": {
"id": "111222333",
"clientId": "11111111",
"userBankCardId": "464654546",
"state": 10,
"remark": "我的第一张虚拟卡",
"createTime": "2023-01-01 00:00:00",
"modifyTime": "2023-01-01 00:00:10"
}
}
查询开卡订单的详细信息和处理状态
curl --location --request POST 'https://kf.pikabao.cc/agent/v1/tasks/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": "user123",
"orderId": "111222333",
"timestamp": "1640995200000",
"sign": "ABC123..."
}'
{
"code": 0,
"msg": "",
"content": {
"id": "111222333",
"clientId": "11111111",
"userBankCardId": "464654546",
"state": 10,
"remark": "我的第一张虚拟卡",
"createTime": "2023-01-01 00:00:00",
"modifyTime": "2023-01-01 00:00:10"
}
}
curl --location --request POST 'https://kf.pikabao.cc/agent/v1/tasks/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": "user123",
"orderId": "111222333",
"timestamp": "1640995200000",
"sign": "ABC123..."
}'
{
"code": 0,
"msg": "",
"content": {
"id": "111222333",
"clientId": "11111111",
"userBankCardId": "464654546",
"state": 10,
"remark": "我的第一张虚拟卡",
"createTime": "2023-01-01 00:00:00",
"modifyTime": "2023-01-01 00:00:10"
}
}
| 状态值 | 说明 | 建议操作 |
|---|---|---|
| 1 | 处理中 | 等待 3-5 秒后再次查询 |
| 10 | 成功 | 可使用 userBankCardId 查询卡片详情 |
| -10 | 失败 | 开卡失败,费用已退回 |
userBankCardId 调用获取信用卡列表获取完整卡片信息