platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Autentifikimi
Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen billing.payment.manage; një çelës pa të refuzohet me 403, jo 404.
Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.
Provoje
Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së
Detajet
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).
Parametrat
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
transferId (path) | string | Po | — |
Trupi i kërkesës
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
currency | object | Jo | 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. |
Përgjigja
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
id | Uuid | Po | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Po | — |
source_platform_name | string | Jo | — |
target_platform | string | Po | — |
target_platform_name | string | Jo | — |
source_url | string | Po | — |
target_site_id | object | Jo | — |
tier_code | string | Po | — |
tier_name | string | Jo | — |
entity_count_estimate | integer | Jo | — |
status | PlatformTransferStatus | Po | — |
status_label | string | Jo | — |
price_amount_minor | integer | Po | — |
price_currency | string | Po | — |
redirects_mapped | boolean | Jo | — |
redirect_count | integer | Jo | — |
canonicals_verified | boolean | Jo | — |
sitemap_submitted | boolean | Jo | — |
structured_data_preserved | boolean | Jo | — |
seo_checks_complete | boolean | Jo | — |
customer_note | string | Jo | — |
sla_due_at | object | Jo | — |
created_at | string | Po | — |
completed_at | object | Jo | — |
events | PlatformTransferEvent[] | Jo | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Gabimet që ky pikëndalim mund të kthejë
401 · 403 · 404 · 422 · 429