platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
تصدیقهویت
یو API کی د بیئرر ټوکن (bearer token) په توګه ولیکئ. کی باید د billing.payment.manage اجازه ولري؛ له دې اجازې پرته کی د 404 پرځای د 403 په واسطه رد کیږي.
دا پای نقطه د سازمان هېڅ آی ډي نه اخلي. ستاسو کیلي مخکې تر مخکې هغه سازمان په ګوته کوي چې پورې اړه لري، او ځواب ورته محدود دی.
هڅه وکړئ
د انګلیسي په زاوي پنسونو کې هرڅه د خپلو ارزښتونو سره بدل کړئ، او د کلي ځای لرونکی ستاسو د ډشبورډ د کلي سره.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'ننوتي یاست؟ ستاسو په ډشبورډ کې د API کنسول ستاسو د اصلي سازمان ID او ستاسو خپله کیلي ډکوي، او غوښتنه د ژوندی API په وړاندې پرمخ وړي ترڅو تاسو وکولی شئ اصلي ځواب وګورئ. دا پای ټکی (endpoint) د API په کنسول کې پرانیزئ
تفصیلات
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).
پارامترونه
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
transferId (path) | string | هو | — |
د غوښتنې بدن
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
currency | object | نه | 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. |
ځواب
| نوم | ډول | اړین | دا څه شی دی |
|---|---|---|---|
id | Uuid | هو | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | هو | — |
source_platform_name | string | نه | — |
target_platform | string | هو | — |
target_platform_name | string | نه | — |
source_url | string | هو | — |
target_site_id | object | نه | — |
tier_code | string | هو | — |
tier_name | string | نه | — |
entity_count_estimate | integer | نه | — |
status | PlatformTransferStatus | هو | — |
status_label | string | نه | — |
price_amount_minor | integer | هو | — |
price_currency | string | هو | — |
redirects_mapped | boolean | نه | — |
redirect_count | integer | نه | — |
canonicals_verified | boolean | نه | — |
sitemap_submitted | boolean | نه | — |
structured_data_preserved | boolean | نه | — |
seo_checks_complete | boolean | نه | — |
customer_note | string | نه | — |
sla_due_at | object | نه | — |
created_at | string | هو | — |
completed_at | object | نه | — |
events | PlatformTransferEvent[] | نه | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
تېروتنې چې دا پای ټکی یې بیرته راګرځولی شي
401 · 403 · 404 · 422 · 429