seo

POST /v1/seo/quota/top-up

Buy extra domain lookups.

ყველა seo ენდპოინტი

ავტორიზაცია

API გასაღები გაგზავნეთ როგორც bearer token. ეს ენდპოინტი სპეციფიკაციაში არ მიუთითებს კონკრეტულ ნებართვას, ამიტომ მიანიჭეთ თქვენს გასაღებს მინიმალური საჭირო უფლებები და ვარაუდის ნაცვლად შეამოწმეთ პასუხი.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

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 კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი 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