Настройки и сводка доставки

GEThttps://api.astrum.shop/v1/webhook
Область webhooks:manage

Адрес, подписка на типы событий и сводка доставки — без секрета подписи.

Ответы

Успешно

urlstring | null
eventsarray | null
secret_setboolean
previous_secret_expires_atstring | null
deliveryobject
secretstring | null

Общие для всех методов: 401 unauthenticated, 403 scope_missing, 403 ip_not_allowed, 403 account_suspended, 429 rate_limited, 503 api_disabled, 500 internal_error. Подробно — в разделе «Ошибки».

тестовые доллары,
ключ ask_test_…
curl https://api.astrum.shop/v1/webhook \
  -H "Authorization: Bearer $ASTRUM_KEY"