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 эрхтэй байх ёстой бөгөөд үүнгүйгээр 404 биш, харин 403 алдаа буцааж татгалзах болно.

Энэ төгсгөл цэг нь ямар ч байгууллагын ID шаардахгүй. Таны түлхүүр аль хэдийн харьяалагдах байгууллагыг тодорхойлж байгаа бөгөөд хариу нь тухайн байгууллагын хүрээнд хязгаарлагдана.

Туршиж үзэх

Өнцөг хаалтанд байгаа бүх зүйлийг өөрийн утгаар солиж, түлхүүр санамж байрлуулагчийг хяналтын самбарынхаа түлхүүрээр сольж оруулна уу.

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 рүү хүсэлт илгээх тул та бодит хариуг харах боломжтой болно. Энэ төгсгөлийн цэгийг 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