POST
卡片提现
使用此接口将卡片可用余额提现到 Onerway 账户。
请求
ApiKeyOnerway 分配的发卡 API key 请求 Header。
示例:
replace_with_issuing_api_keyclientRequestId本次卡片提现操作的幂等请求 ID。
示例:
REQ_20260101_004cardId需要提现可用余额的卡片 ID。
示例:
100001amount从卡片提现的金额。
示例:
50约束
- 规则
- 必须大于 0,最多支持 2 位小数。
curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/card/returnCardBalance' \
-H 'ApiKey: replace_with_issuing_api_key' \
-H 'Content-Type: application/json' \
--data-raw '{
"amount": 50,
"cardId": 100001,
"clientRequestId": "REQ_20260101_004"
}'响应
respCode业务响应码;
20000 表示成功。respMsg响应信息。
data{ operateRecordId }卡片提现操作结果。
{
"respCode": "20000",
"respMsg": "success",
"data": {
"operateRecordId": 200003
}
}该接口暂未记录错误响应。