platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar billing.payment.manage iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.
Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.
Dene
Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın
Ayrıntılar
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).
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
transferId (path) | string | Evet | — |
İstek gövdesi
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
currency | object | Hayır | 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. |
Yanıt
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
id | Uuid | Evet | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Evet | — |
source_platform_name | string | Hayır | — |
target_platform | string | Evet | — |
target_platform_name | string | Hayır | — |
source_url | string | Evet | — |
target_site_id | object | Hayır | — |
tier_code | string | Evet | — |
tier_name | string | Hayır | — |
entity_count_estimate | integer | Hayır | — |
status | PlatformTransferStatus | Evet | — |
status_label | string | Hayır | — |
price_amount_minor | integer | Evet | — |
price_currency | string | Evet | — |
redirects_mapped | boolean | Hayır | — |
redirect_count | integer | Hayır | — |
canonicals_verified | boolean | Hayır | — |
sitemap_submitted | boolean | Hayır | — |
structured_data_preserved | boolean | Hayır | — |
seo_checks_complete | boolean | Hayır | — |
customer_note | string | Hayır | — |
sla_due_at | object | Hayır | — |
created_at | string | Evet | — |
completed_at | object | Hayır | — |
events | PlatformTransferEvent[] | Hayır | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Bu uç noktanın dönderebileceği hatalar
401 · 403 · 404 · 422 · 429