platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Autentifikatsiya
API kalitini bearer token sifatida yuboring. Kalit billing.payment.manage ruxsatiga ega boʻlishi shart; ruxsatsiz kalit 404 emas, balki 403 xatosi bilan rad etiladi.
Bu yakuniy nuqta hech qanday tashkilot identifikatorini qabul qilmaydi. Sizning kalitingiz unga tegishli tashkilotni allaqachon aniqlaydi va javob shunga qarab cheklanadi.
Sinab ko'rish
Qavslardagi har qanday narsani o'z qiymatlaringiz bilan, kalit pleysxolderini эsa boshqaruv panelingizdagi kalit bilan almashtiring.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Tizimga kirganmisiz? Boshqaruv panelingizdagi API konsoli haqiqiy tashkilot ID raqamingiz va shaxsiy kalitingizni avtomatik to'ldiradi hamda haqiqiy javobni ko'rishingiz uchun so'rovni jonli API orqali bajaradi. Ushbu yakuniy nuqtani API konsolida oching
Tafsilotlar
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).
Parametrlar
| Nomi | Turi | Majburiy | Nima bu |
|---|---|---|---|
transferId (path) | string | Ha | — |
Soʻrov tanasi
| Nomi | Turi | Majburiy | Nima bu |
|---|---|---|---|
currency | object | Yo'q | 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. |
Javob
| Nomi | Turi | Majburiy | Nima bu |
|---|---|---|---|
id | Uuid | Ha | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Ha | — |
source_platform_name | string | Yo'q | — |
target_platform | string | Ha | — |
target_platform_name | string | Yo'q | — |
source_url | string | Ha | — |
target_site_id | object | Yo'q | — |
tier_code | string | Ha | — |
tier_name | string | Yo'q | — |
entity_count_estimate | integer | Yo'q | — |
status | PlatformTransferStatus | Ha | — |
status_label | string | Yo'q | — |
price_amount_minor | integer | Ha | — |
price_currency | string | Ha | — |
redirects_mapped | boolean | Yo'q | — |
redirect_count | integer | Yo'q | — |
canonicals_verified | boolean | Yo'q | — |
sitemap_submitted | boolean | Yo'q | — |
structured_data_preserved | boolean | Yo'q | — |
seo_checks_complete | boolean | Yo'q | — |
customer_note | string | Yo'q | — |
sla_due_at | object | Yo'q | — |
created_at | string | Ha | — |
completed_at | object | Yo'q | — |
events | PlatformTransferEvent[] | Yo'q | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Ushbu yakuniy nuqta qaytarishi mumkin bo'lgan xatolar
401 · 403 · 404 · 422 · 429