platform-transfers

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

Pay for a transfer and queue it for a specialist.

Wszystkie punkty końcowe platform-transfers

Uwierzytelnianie

Wyślij klucz API jako token bearer. Klucz musi posiadać uprawnienie billing.payment.manage; klucz bez niego jest odrzucany z kodem 403, a nie 404.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

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

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

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).

Parametry

NazwaTypWymaganeCo to jest
transferId (path)stringTak

Treść żądania

NazwaTypWymaganeCo to jest
currencyobjectNieThe 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.

Odpowiedź

NazwaTypWymaganeCo to jest
idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringTak
source_platform_namestringNie
target_platformstringTak
target_platform_namestringNie
source_urlstringTak
target_site_idobjectNie
tier_codestringTak
tier_namestringNie
entity_count_estimateintegerNie
statusPlatformTransferStatusTak
status_labelstringNie
price_amount_minorintegerTak
price_currencystringTak
redirects_mappedbooleanNie
redirect_countintegerNie
canonicals_verifiedbooleanNie
sitemap_submittedbooleanNie
structured_data_preservedbooleanNie
seo_checks_completebooleanNie
customer_notestringNie
sla_due_atobjectNie
created_atstringTak
completed_atobjectNie
eventsPlatformTransferEvent[]NieThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Błędy, które ten punkt końcowy może zwrócić

401 · 403 · 404 · 422 · 429