platform-transfers

POST /v1/platform-transfers/{transferId}/pay

Pay for a transfer and queue it for a specialist.

Усі кінцеві точки platform-transfers

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл billing.payment.manage; ключ без нього відхиляється з кодом 403, а не 404.

Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.

Спробувати

Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.

curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API

Деталі

Charges the tier through the extras rails — wallet first, then the gateway — and moves the transfer to `queued` with its SLA set. Requires `billing.payment.manage`, because it moves money; creating the draft needs only `billing.view`. A decline returns `422` and leaves the transfer in `payment_failed`; nothing is charged and the same transfer can be paid again with another method. An organization with **no** chargeable payment method gets `422` `PAYMENT_METHOD_REQUIRED` instead — nothing was presented to a gateway, so it is not a decline and the remedy is to add a card (`docs/491` §7).

Параметри

НазваТипОбов'язковеЩо це таке
transferId (path)stringТак

Тіло запиту

НазваТипОбов'язковеЩо це таке
currencyobjectНіThe currency the customer was quoted in. Refused if no gateway can charge it — silently substituting the base currency would bill a different number from the one on the screen.

Відповідь

НазваТипОбов'язковеЩо це таке
idUuidТакUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringТак
source_platform_namestringНі
target_platformstringТак
target_platform_namestringНі
source_urlstringТак
target_site_idobjectНі
tier_codestringТак
tier_namestringНі
entity_count_estimateintegerНі
statusPlatformTransferStatusТак
status_labelstringНі
price_amount_minorintegerТак
price_currencystringТак
redirects_mappedbooleanНі
redirect_countintegerНі
canonicals_verifiedbooleanНі
sitemap_submittedbooleanНі
structured_data_preservedbooleanНі
seo_checks_completebooleanНі
customer_notestringНі
sla_due_atobjectНі
created_atstringТак
completed_atobjectНі
eventsPlatformTransferEvent[]НіThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Помилки, які може повертати ця кінцева точка

401 · 403 · 404 · 422 · 429