platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Autentificare
Trimiteți o cheie API ca token de tip bearer. Cheia trebuie să aibă permisiunea billing.payment.manage; o cheie care nu o are va fi respinsă cu 403, nu 404.
Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.
Încearcă
Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API
Detalii
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).
Parametri
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
transferId (path) | string | Da | — |
Corp cerere
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
currency | object | Nu | 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. |
Răspuns
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
id | Uuid | Da | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Da | — |
source_platform_name | string | Nu | — |
target_platform | string | Da | — |
target_platform_name | string | Nu | — |
source_url | string | Da | — |
target_site_id | object | Nu | — |
tier_code | string | Da | — |
tier_name | string | Nu | — |
entity_count_estimate | integer | Nu | — |
status | PlatformTransferStatus | Da | — |
status_label | string | Nu | — |
price_amount_minor | integer | Da | — |
price_currency | string | Da | — |
redirects_mapped | boolean | Nu | — |
redirect_count | integer | Nu | — |
canonicals_verified | boolean | Nu | — |
sitemap_submitted | boolean | Nu | — |
structured_data_preserved | boolean | Nu | — |
seo_checks_complete | boolean | Nu | — |
customer_note | string | Nu | — |
sla_due_at | object | Nu | — |
created_at | string | Da | — |
completed_at | object | Nu | — |
events | PlatformTransferEvent[] | Nu | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Erori pe care le poate returna acest punct final
401 · 403 · 404 · 422 · 429