platform-transfers

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

Pay for a transfer and queue it for a specialist.

Барлық platform-transfers соңғы нүктелері

Барлық әзірлеуші құжаттамасы

Аутентификация

API кілтін bearer токені ретінде жіберіңіз. Кілтте billing.payment.manage рұқсаты болуы тиіс; онсыз кілтке 404 емес, 403 қатесі қайтарылады.

Бұл соңғы нүкте ұйым идентификаторын қабылдамайды. Сіздің кілтіңіз оның қай ұйымға тиесілі екенін өзі анықтайды және жауап соған шектеледі.

Әрекет етіп көру

Бұрыштық жақшалардағы кез келген нәрсені өз мәндеріңізбен, ал кілт орналастырушысын басқару тақтасынан алынған кілтпен алмастырыңыз.

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: 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).

Параметрлер

АтыTүріМіндеттіМазмұны
transferId (path)stringИә

Сұрау денесі

АтыTүріМіндеттіМазмұны
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.

Жауап

АтыTүріМіндеттіМазмұны
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