curl "https://api.scanova.io/plans/275/pricing/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"pricing": [
{ "id": 501, "pricing": { "id": 2, "name": "Monthly", "period": "month" }, "price": "29.00" },
{ "id": 502, "pricing": { "id": 3, "name": "Yearly", "period": "year" }, "price": "290.00" }
]
}
التحليلات والخطط
الحصول على خيارات تسعير خطة
GET /plans//pricing/
GET
/
plans
/
{id}
/
pricing
/
curl "https://api.scanova.io/plans/275/pricing/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"pricing": [
{ "id": 501, "pricing": { "id": 2, "name": "Monthly", "period": "month" }, "price": "29.00" },
{ "id": 502, "pricing": { "id": 3, "name": "Yearly", "period": "year" }, "price": "290.00" }
]
}
يعيد صفوف تسعير خطة ما على مضيف Management API (
نفس حقول الخطة كما في سرد الخطط المتاحة، دون
api.scanova.io)، مصادَقًا عليه بمفتاح Management API الخام الخاص بك.
GET https://api.scanova.io/plans/{id}/pricing/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
integer
مطلوب
معرّف (
id) الخطة الرقمي، من سرد الخطط المتاحة.curl "https://api.scanova.io/plans/275/pricing/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"id": 275,
"slug": "pro-scanova-io",
"name": "Pro - scanova.io",
"plan_type": "Normal",
"description": "",
"version": 1,
"family": { "id": 12, "slug": "pro", "name": "Pro", "is_enterprise": false },
"pricing": [
{ "id": 501, "pricing": { "id": 2, "name": "Monthly", "period": "month" }, "price": "29.00" },
{ "id": 502, "pricing": { "id": 3, "name": "Yearly", "period": "year" }, "price": "290.00" }
]
}
quotas — يتعلق هذا الطرف بالسعر، لا بالاستحقاقات. يسرد pricing فقط صفوف التسعير النشطة/المرئية للخطة؛ price سلسلة عشرية بعملة الخطة المُهيَّأة (لا تُعاد هنا لكل عملة — راجع بلد/عملة الفوترة الخاصة بحسابك بشكل منفصل). يعيد الرد 404 إذا لم يوجد id الخطة أو لم يكن مرئيًا/متاحًا لمُقدِّم الطلب.
طرق ذات صلة
- سرد الخطط المتاحة — العثور على
idخطة لتسعيرها. - الخطة الحالية — حالة التسعير/الفوترة الفعلية الحالية للحساب.
- نظرة عامة على Management API — مخطط المصادقة وقواعد الحصة المطبّقة على هذا الطرف.
التفويضات
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
معلمات المسار
The plan's numeric id, from GET /plans/available/.
الاستجابة
Plan detail with its active pricing rows.
هل كانت هذه الصفحة مفيدة؟