platform-transfers

POST /v1/platform-transfers/{transferId}/pay

Pay for a transfer and queue it for a specialist.

כל נקודות הקצה מסוג platform-transfers

אימות

שלחו מפתח 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כן

גוף הבקשה

שםסוגנדרשמה זה
currencyobjectלא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.

תשובה

שםסוגנדרשמה זה
idUuidכןUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringכן
source_platform_namestringלא
target_platformstringכן
target_platform_namestringלא
source_urlstringכן
target_site_idobjectלא
tier_codestringכן
tier_namestringלא
entity_count_estimateintegerלא
statusPlatformTransferStatusכן
status_labelstringלא
price_amount_minorintegerכן
price_currencystringכן
redirects_mappedbooleanלא
redirect_countintegerלא
canonicals_verifiedbooleanלא
sitemap_submittedbooleanלא
structured_data_preservedbooleanלא
seo_checks_completebooleanלא
customer_notestringלא
sla_due_atobjectלא
created_atstringכן
completed_atobjectלא
eventsPlatformTransferEvent[]לאThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

שגיאות שנקודה קצה זו עשויה להחזיר

401 · 403 · 404 · 422 · 429