platform-transfers

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

Pay for a transfer and queue it for a specialist.

جميع نقاط نهاية platform-transfers

المصادقة

أرسل مفتاح واجهة برمجة التطبيقات (API key) كرمز حامل (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

التفاصيل

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