seo

POST /v1/seo/quota/top-up

Buy extra domain lookups.

جميع نقاط نهاية seo

المصادقة

أرسل مفتاح واجهة برمجة التطبيقات (API) كرمز حامل (bearer token). لا يحدد نقطة النهاية هذه إذنًا محددًا في المواصفات، لذا امنح مفتاحك الحد الأدنى الذي محتاجه وتحقق من الاستجابة بدلاً من الافتراض.

لا يقبل هذا الطرف أي معرف للمؤسسة. يحدد مفتاحك بالفعل المؤسسة التي ينتمي إليها، وتكون الاستجابة محصورة في نطاقها.

جربه الآن

استبدل أي شيء بين أقواس زاوية بقيمك الخاصة، والعنصر النائب للمفتاح بمفتاح من لوحة تحكمك.

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

التفاصيل

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