platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
אימות
שלחו מפתח API כאסימון נושא (bearer token). על המפתח לכלול את הרשאה billing.payment.manage; מפתח שאינו כולל אותה יידחה בסטטוס 403, ולא 404.
נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.
נסה זאת
החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-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