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" }
]
}
Analytique et forfaits
Obtenir les options tarifaires d'un forfait
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" }
]
}
Renvoie les lignes tarifaires d’un forfait sur l’hôte de l’API de gestion (
Mêmes champs de forfait que dans Lister les forfaits disponibles, moins
api.scanova.io), authentifié avec votre clé brute d’API de gestion.
GET https://api.scanova.io/plans/{id}/pricing/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
integer
requis
L’
id numérique du forfait, depuis Lister les forfaits disponibles.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 — cet endpoint concerne le prix, pas les droits. pricing liste uniquement les lignes tarifaires actives/visibles du forfait ; price est une chaîne décimale dans la devise configurée du forfait (non renvoyée par devise ici — vérifiez le pays/la devise de facturation de votre compte séparément). 404 si l’id du forfait n’existe pas ou n’est pas visible/disponible pour l’appelant.
Voir aussi
- Lister les forfaits disponibles — trouver un
idde forfait à tarifer. - Forfait actuel — l’état réel actuel de tarification/facturation du compte.
- Présentation de l’API de gestion — le schéma d’authentification et les règles de quota applicables à cet endpoint.
Autorisations
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.
Paramètres de chemin
The plan's numeric id, from GET /plans/available/.
Réponse
Plan detail with its active pricing rows.
Cette page vous a-t-elle été utile ?