domains
GET /v1/domains/{domainId}/restore-quote
What it costs to restore a lapsed domain.
تصدیقهویت
یو API کی د بیئرر ټوکن (bearer token) په توګه ولیکئ. کی باید د sites.view اجازه ولري؛ له دې اجازې پرته کی د 404 پرځای د 403 په واسطه رد کیږي.
دا پای نقطه د سازمان هېڅ آی ډي نه اخلي. ستاسو کیلي مخکې تر مخکې هغه سازمان په ګوته کوي چې پورې اړه لري، او ځواب ورته محدود دی.
هڅه وکړئ
د انګلیسي په زاوي پنسونو کې هرڅه د خپلو ارزښتونو سره بدل کړئ، او د کلي ځای لرونکی ستاسو د ډشبورډ د کلي سره.
curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/restore-quote \
-H "Authorization: Bearer zdk_live_…"ننوتي یاست؟ ستاسو په ډشبورډ کې د API کنسول ستاسو د اصلي سازمان ID او ستاسو خپله کیلي ډکوي، او غوښتنه د ژوندی API په وړاندې پرمخ وړي ترڅو تاسو وکولی شئ اصلي ځواب وګورئ. دا پای ټکی (endpoint) د API په کنسول کې پرانیزئ
تفصیلات
The registry redemption fee for a domain that has fallen into redemption, and whether it can be restored at all. Priced in the caller's display currency (X-Zinn-Currency, falling back to USD) from the TLD catalogue. A domain that has not lapsed that far needs a renewal, not a restore, and is answered restorable: false rather than quoted — a redemption fee is many times a renewal, so quoting one in the wrong state would overcharge for a renewal. Requires sites.view.
پارامترونه
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
domainId (path) | Uuid | هو | The domain's id. |
ځواب
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
domain_id | Uuid | هو | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
fqdn | string | هو | — |
restorable | boolean | هو | — |
reason | object | هو | Why not, when restorable is false. NOT_IN_REDEMPTION — the domain has not lapsed that far, so a renewal is what it needs. NOT_PRICED — the registry has no redemption… |
amount_minor | object | هو | — |
currency | object | هو | — |
line_kind | string<domain_restore> | هو | The cart line kind that buys it. |
تېروتنې چې دا پای ټکی یې بیرته راګرځولی شي
401 · 403 · 404 · 429