platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
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
| Nazwa | Typ | Wymagane | Co to jest |
|---|---|---|---|
transferId (path) | string | Tak | — |
Treść żądania
| Nazwa | Typ | Wymagane | Co to jest |
|---|---|---|---|
currency | object | Nie | 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. |
Odpowiedź
| Nazwa | Typ | Wymagane | Co to jest |
|---|---|---|---|
id | Uuid | Tak | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Tak | — |
source_platform_name | string | Nie | — |
target_platform | string | Tak | — |
target_platform_name | string | Nie | — |
source_url | string | Tak | — |
target_site_id | object | Nie | — |
tier_code | string | Tak | — |
tier_name | string | Nie | — |
entity_count_estimate | integer | Nie | — |
status | PlatformTransferStatus | Tak | — |
status_label | string | Nie | — |
price_amount_minor | integer | Tak | — |
price_currency | string | Tak | — |
redirects_mapped | boolean | Nie | — |
redirect_count | integer | Nie | — |
canonicals_verified | boolean | Nie | — |
sitemap_submitted | boolean | Nie | — |
structured_data_preserved | boolean | Nie | — |
seo_checks_complete | boolean | Nie | — |
customer_note | string | Nie | — |
sla_due_at | object | Nie | — |
created_at | string | Tak | — |
completed_at | object | Nie | — |
events | PlatformTransferEvent[] | Nie | The 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