Справочник APIАктивации

Повторить на уже переданных данных

POSThttps://api.astrum.shop/v1/activations/{activation_id}/retry
Область activations:writeНужен Idempotency-Key

Каждый повтор тратит попытку на реальном ключе — не зовите его в цикле.

Параметры

activation_idв пути · uuidобязательно

Ответы

Успешно

idstring
order_idstring | null
item_refstring | null
product_idstring | null
statestring
credential_kindstring | null
hintstring
full_sessionboolean
needs_inputboolean
needs_new_credentialboolean
waits_for_buyerboolean
can_retryboolean
can_forceboolean
reason_codestring | null
reason_textstring | null
reason_untilstring | null
buyer_notestring | null
buyer_note_atstring | null
manualboolean
verification_urlstring | null
queue_positioninteger | null
new_accountboolean
awaiting_login_linkboolean
login_link_requested_atstring | null
login_link_receivedboolean
updated_atstring | 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/activations/$ACTIVATION_ID/retry -X POST \
  -H "Authorization: Bearer $ASTRUM_KEY" \
  -H "Idempotency-Key: $(uuidgen)"