platform-transfers

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

Pay for a transfer and queue it for a specialist.

Toate punctele finale platform-transfers

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

NumeTipObligatoriuCe este
transferId (path)stringDa

Corp cerere

NumeTipObligatoriuCe este
currencyobjectNuThe 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

NumeTipObligatoriuCe este
idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringDa
source_platform_namestringNu
target_platformstringDa
target_platform_namestringNu
source_urlstringDa
target_site_idobjectNu
tier_codestringDa
tier_namestringNu
entity_count_estimateintegerNu
statusPlatformTransferStatusDa
status_labelstringNu
price_amount_minorintegerDa
price_currencystringDa
redirects_mappedbooleanNu
redirect_countintegerNu
canonicals_verifiedbooleanNu
sitemap_submittedbooleanNu
structured_data_preservedbooleanNu
seo_checks_completebooleanNu
customer_notestringNu
sla_due_atobjectNu
created_atstringDa
completed_atobjectNu
eventsPlatformTransferEvent[]NuThe 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