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 სტატუსით.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

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

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი 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