POST
申请退款
请求
apiKey用于访问嵌入式金融 API 的 API key。
示例:
replace_with_api_keyContent-Type请求内容类型。
示例:
application/jsonrechargeId申请退款的充值 ID。
示例:
12345678reasonForReturn申请退款的原因。
示例:
AccountCannotBeIdentified可选值
AccountCannotBeIdentified- 无法识别账户。
Other- 其他原因。
curl -X POST 'https://sandbox-baas.onerway.com/embedded-finance/api/v2/refund/apply' \
-H 'apiKey: replace_with_api_key' \
-H 'Content-Type: application/json' \
--data-raw '{
"rechargeId": 12345678,
"reasonForReturn": "AccountCannotBeIdentified"
}'响应
respCodeOnerway 返回的响应码;
20000 表示请求成功。示例:
20000respMsg响应码对应的可读消息。
示例:
Successdata响应数据;成功示例中为
null。{
"respCode": "20000",
"respMsg": "Success",
"data": null
}该接口暂未记录错误响应。