订单
订单详情
返回 status 返回的全部内容,外加你发送的内容和订单的补充记录。它还可以通过你自己的 request_id 查找订单,这样超时后你也能找回订单。
POST
https://notpanel.com/api/v3action=order_details- 需要 API key
- 请求过于频繁
- 请求体:
application/x-www-form-urlencoded
参数
始终发送
keystring必需- 你的 API key。
actionstring必需order_details必须是字面字符串 “order_details”。
发送 order 或 request_id
orderinteger以下之一- 订单号。
request_idstring以下之一- 你下单时发送的
request_id。未发送order时使用。
curl -X POST https://notpanel.com/api/v3 \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "key=YOUR_API_KEY&action=order_details&order=1234567"const res = await fetch("https://notpanel.com/api/v3", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "order_details",
order: "1234567",
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://notpanel.com/api/v3",
data={
"key": "YOUR_API_KEY",
"action": "order_details",
"order": "1234567",
},
)
print(res.json())<?php
$body = http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'order_details',
'order' => '1234567',
]);
$response = file_get_contents('https://notpanel.com/api/v3', false, stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-Type: application/x-www-form-urlencoded\r\n",
'content' => $body,
'ignore_errors' => true,
],
]));
print_r(json_decode($response, true));
将 YOUR_API_KEY 替换为 API 页面中的密钥。
{
"charge": "1.20",
"start_count": "3572",
"status": "Completed",
"remains": "0",
"currency": "USD",
"order": 1234567,
"status_key": "completed",
"refund": "0.00",
"reason_code": null,
"reason": null,
"can_cancel": false,
"cancel_available": false,
"cancel_state": null,
"can_refill": false,
"refill_available_at": "2026-10-03T18:35:00Z",
"updated_at": "2026-10-03T12:35:00Z",
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"source": "api",
"service": 7,
"service_name": "Instagram Followers",
"link": "https://instagram.com/example",
"quantity": 1000,
"fields": {},
"drip_feed": {
"runs": 5,
"interval": 30
},
"created_at": "2026-10-03T10:00:00Z",
"completed_at": "2026-10-03T12:30:00Z",
"refills": [
{
"refill": 5501,
"status": "Completed",
"status_key": "completed",
"reason_code": null,
"created_at": "2026-10-03T12:35:00Z"
}
]
}错误
- 400
{"error":"Missing required parameter: order","error_code":"MISSING_PARAMETER","retryable":false,"details":{"param":"order"}}既没有发送
order,也没有发送request_id。 - 404
{"error":"Order not found","error_code":"ORDER_NOT_FOUND","retryable":false}你的账户中没有匹配的订单。
响应字段
包含状态对象的每个字段。下面这些是新增字段。
订单状态新增字段
request_idstring | null- 你的
request_id,或null。 sourcestring- 订单的下单方式:
api、web或mass。 serviceinteger- 服务 ID。
service_namestring- 下单时的服务名称。
linkstring- 链接,按发送时的原样。
quantityinteger- 订单的总数量。
fieldsobject- 你发送的额外字段,使用字段名。反应以你使用的形式显示,例如
👍:60,❤️:40。 drip_feedobject | null- 你所要求的内容:
runs和interval,或total_minutes,或null。我们制定的计划不会显示。 created_atstring- 订单下单的时间。
completed_atstring | null- 交付完成的时间,或
null。 refillsobject[]- 此订单的补充请求,最新的在前,每条包含其 ID、状态和原因代码。
通过 request_id 查找订单
如果对 add 的调用超时,而你不确定是否成功,请用相同的 request_id 查询。订单存在则返回订单,不存在则返回 ORDER_NOT_FOUND。用相同的 request_id 重复调用 add 同样安全。
key=YOUR_API_KEY&action=order_details&request_id=reactions-2026-10-03-001{
"charge": "0.09",
"start_count": "0",
"status": "In progress",
"remains": "100",
"currency": "USD",
"order": 1234572,
"status_key": "in_progress",
"refund": "0.00",
"reason_code": null,
"reason": null,
"can_cancel": false,
"cancel_available": false,
"cancel_state": null,
"can_refill": false,
"refill_available_at": null,
"updated_at": "2026-10-03T10:02:00Z",
"request_id": "reactions-2026-10-03-001",
"source": "api",
"service": 12,
"service_name": "Telegram Post Reactions",
"link": "https://t.me/example/42",
"quantity": 100,
"fields": {
"reactions": "👍:60,❤️:40"
},
"drip_feed": null,
"created_at": "2026-10-03T10:00:00Z",
"completed_at": null,
"refills": []
}