platform-transfers

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

Pay for a transfer and queue it for a specialist.

Minden platform-transfers végpont

Hitelesítés

Küldjön egy API-kulcsot bearer tokenként. A kulcsnak rendelkeznie kell a(z) billing.payment.manage jogosultsággal; az ezzel nem rendelkező kulcsok esetén a rendszer 403-as hibát ad vissza 404 helyett.

Ez a végpont nem fogad el szervezeti azonosítót. Az Ön kulcsa már azonosítja azt a szervezetet, amelyhez tartozik, és a válasz is erre vonatkozik.

Próbálja ki

Cserélje ki a hegyes zárójelek közötti részt a saját értékeivel, a kulcshelyőrzőt pedig a vezérlőpultján található kulccsal.

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

Be van jelentkezve? A vezérlőpultban lévő API-konzol kitölti a valós szervezetazonosítóját és a saját kulcsát, és a kérést az éles API-n futtatja, hogy láthassa a tényleges választ. Nyissa meg ezt a végpontot az API konzolban

Részletek

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

Paraméterek

NévTípusKötelezőMi ez
transferId (path)stringIgen

Kérés törzse

NévTípusKötelezőMi ez
currencyobjectNemThe 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.

Válasz

NévTípusKötelezőMi ez
idUuidIgenUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringIgen
source_platform_namestringNem
target_platformstringIgen
target_platform_namestringNem
source_urlstringIgen
target_site_idobjectNem
tier_codestringIgen
tier_namestringNem
entity_count_estimateintegerNem
statusPlatformTransferStatusIgen
status_labelstringNem
price_amount_minorintegerIgen
price_currencystringIgen
redirects_mappedbooleanNem
redirect_countintegerNem
canonicals_verifiedbooleanNem
sitemap_submittedbooleanNem
structured_data_preservedbooleanNem
seo_checks_completebooleanNem
customer_notestringNem
sla_due_atobjectNem
created_atstringIgen
completed_atobjectNem
eventsPlatformTransferEvent[]NemThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Hibák, amelyeket ez a végpont visszaadhattatlan

401 · 403 · 404 · 422 · 429