platform-transfers

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

Pay for a transfer and queue it for a specialist.

همه نقاط پایانی platform-transfers

احراز هویت

یک کلید API را به عنوان یک توکن حامل ارسال کنید. این کلید باید دارای مجوز 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