Аутентификација

Пошаљите API кључ као bearer токен. Кључ мора имати дозволу billing.view; кључ без ње се одбија уз 403, а не 404.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

curl -X GET https://api.zinndigital.com/v1/extras \
  -H "Authorization: Bearer zdk_live_…"

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

The extras (services) catalog — DB maintenance, SSL setup, managed migration, malware cleanup, and more (docs/26). Optionally filtered to those offered on a product line. Requires billing.view. price is in the caller's currency. Extra rows are stored in the base currency only (there is no per-currency price table as plans have), so each price is converted per request from the cached FX rates and price.currency reports the code actually used — which falls back to the base currency when the requested one has no stored rate, rather than labelling an unconverted amount with the requested symbol. Send X-Zinn-Currency to choose. purchaseExtra applies the same conversion and captures it, so the amount shown here is the amount billed (#471).

Параметри

НазивТипОбавезноШта је ово
product_line (query)stringНеOnly extras offered on this product line.

Одговор

НазивТипОбавезноШта је ово
dataExtra[]Да—

Грешке које ова крајња тачка може вратити

401 · 403 · 429