POST
查询卡片基础信息
使用此接口查询卡片基础状态信息。
请求
ApiKeyOnerway 分配的发卡 API key 请求 Header。
示例:
replace_with_issuing_api_keycardId卡片 ID。
示例:
100001curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/card/getBasicInfo' \
-H 'ApiKey: replace_with_issuing_api_key' \
-H 'Content-Type: application/json' \
--data-raw '{
"cardId": 100001
}'响应
respCode业务响应码;
20000 表示成功。respMsg响应信息。
data{ cardId, cardholderId, ... }卡片基础信息。
{
"respCode": "20000",
"respMsg": "success",
"data": {
"cardId": 100001,
"cardholderId": 300001,
"productId": 1,
"status": "ACTIVE",
"blockedFlag": false
}
}该接口暂未记录错误响应。