GET
/v1/billing/recharge/{orderNo}/status查询充值状态
适合支付完成后的轮询或回查场景。
基础信息
| 鉴权 | Authorization: Bearer 管理 token |
| 请求类型 | none |
| 响应类型 | application/json |
请求参数
Path
字段
类型
必填
位置
说明
orderNostring
是
path
充值订单号。
示例:"RC202604130001"响应示例
json
{
"code": 200,
"msg": "操作成功",
"data": {
"orderNo": "RC202604130001",
"payStatus": "PAID"
}
}错误码
| HTTP | code | 说明 |
|---|---|---|
| 401 | unauthorized | 管理开放 API 鉴权失败。 |
| 400 | validation_error | 请求参数格式错误或取值不满足约束。 |
| 404 | not_found | 目标资源不存在或不属于当前商户。 |
在线调试
Playground · 浏览器直连网关
查询充值状态
查询指定充值订单的支付状态。
json
尚未发起请求。bash
curl --location --request GET 'https://api.harnmodel.com/v1/billing/recharge/RC202604130001/status' \
--header 'Authorization: Bearer mgmt-token-xxx'多语言示例
bash
curl --location --request GET 'https://api.harnmodel.com/v1/billing/recharge/RC202604130001/status' \
--header 'Authorization: Bearer mgmt-token-xxx'