POST
查询卡片余额
使用此接口查询卡片当前余额。
请求
ApiKeyOnerway 分配的发卡 API key 请求 Header。
示例:
replace_with_issuing_api_keycardId卡片 ID。
示例:
100001curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/card/getBalanceInfo' \
-H 'ApiKey: replace_with_issuing_api_key' \
-H 'Content-Type: application/json' \
--data-raw '{
"cardId": 100001
}'响应
respCode业务响应码;
20000 表示成功。respMsg响应信息。
data{ cardId, amount, ... }卡片余额信息。
{
"respCode": "20000",
"respMsg": "success",
"data": {
"cardId": 100001,
"amount": 980,
"currency": "USD"
}
}该接口暂未记录错误响应。