seo

POST /v1/seo/quota/top-up

Buy extra domain lookups.

כל נקודות הקצה מסוג seo

אימות

שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

curl -X POST https://api.zinndigital.com/v1/seo/quota/top-up \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "quantity": <integer> }'

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-API

פרטים

Buys a pack of additional lookups, paid from the account credit balance. Purchased lookups do not expire and are spent only once the daily plan allowance is used up. Idempotent on the `Idempotency-Key` header: repeating a request with the same key returns the same purchase rather than buying a second pack. `422` when the pack size is not sold or the credit balance does not cover it — in which case nothing is charged at all.

פרמטרים

שםסוגנדרשמה זה
Idempotency-Key (header)stringלאCaller-supplied replay key. Strongly recommended: without one, a retried request buys a second pack.

גוף הבקשה

שםסוגנדרשמה זה
quantityintegerכןThe pack size to buy. Must be one offered by `GET /v1/seo/quota`.

תשובה

שםסוגנדרשמה זה
daily_allowanceintegerכןLookups included per day. `-1` means unlimited.
used_todayintegerכןPlan-funded lookups run since midnight UTC.
plan_remainingintegerלא
top_up_remainingintegerלאPurchased lookups still unspent. These do not expire.
remainingintegerכן
is_unlimitedbooleanלא
can_look_upbooleanכןWhether a lookup would be permitted right now. **Not** the same as `remaining > 0`: a suspended or unpaid account may have lookups left and still be refused.
in_good_standingbooleanלא
packsobject[]כןPacks of extra lookups available to buy.

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 422