platform-transfers

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

Pay for a transfer and queue it for a specialist.

Bütün platform-transfers nöqtələri

Bütün tərtibatçı sənədləri

Doğrulama

API açarını bearer token kimi göndərin. Açar billing.payment.manage icazəsinə malik olmalıdır; bu icazəsi olmayan açar 404 deyil, 403 xətası ilə rədd edilir.

Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.

Sınaqdan keçir

Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.

curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın

Təfərrüatlar

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: the remedy is to choose a payment method (getPaymentOptions lists the rails this account can use) rather than to fix a card (docs/491 §7).

Parametrlər

AdTipTələb olunurNədir
transferId (path)stringBəli

Sorğu gövdəsi

AdTipTələb olunurNədir
currencyobjectXeyrThe 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.

Cavab

AdTipTələb olunurNədir
idUuidBəliUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringBəli
source_platform_namestringXeyr
target_platformstringBəli
target_platform_namestringXeyr
source_urlstringBəli
target_site_idobjectXeyr
tier_codestringBəli
tier_namestringXeyr
entity_count_estimateintegerXeyr
statusPlatformTransferStatusBəli
status_labelstringXeyr
price_amount_minorintegerBəli
price_currencystringBəli
redirects_mappedbooleanXeyr
redirect_countintegerXeyr
canonicals_verifiedbooleanXeyr
sitemap_submittedbooleanXeyr
structured_data_preservedbooleanXeyr
seo_checks_completebooleanXeyr
customer_notestringXeyr
sla_due_atobjectXeyr
created_atstringBəli
completed_atobjectXeyr
eventsPlatformTransferEvent[]XeyrThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Bu son nöqtənin qaytara biləcəyi xətalar

401 · 403 · 404 · 422 · 429