platform-transfers

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

Pay for a transfer and queue it for a specialist.

Semua titik akhir platform-transfers

Autentikasi

Kirim kunci API sebagai token bearer. Kunci tersebut harus memiliki izin billing.payment.manage; kunci tanpa izin tersebut akan ditolak dengan status 403, bukan 404.

Endpoint ini tidak memerlukan id organisasi. Kunci Anda telah mengidentifikasi organisasi tempatnya berafiliasi, dan respons akan dibatasi untuk organisasi tersebut.

Coba

Ganti apa pun di dalam tanda kurung sudut dengan nilai Anda sendiri, dan placeholder kunci dengan kunci dari dasbor Anda.

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

Sudah masuk? Konsol API di dasbor Anda akan mengisi ID organisasi asli dan kunci Anda sendiri, serta menjalankan permintaan terhadap API langsung sehingga Anda dapat melihat respons aktualnya. Buka titik akhir ini di konsol API

Detail

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

Parameter

NamaJenisWajibTentang apa ini
transferId (path)stringYa

Isi permintaan

NamaJenisWajibTentang apa ini
currencyobjectTidakThe 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.

Tanggapan

NamaJenisWajibTentang apa ini
idUuidYaUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringYa
source_platform_namestringTidak
target_platformstringYa
target_platform_namestringTidak
source_urlstringYa
target_site_idobjectTidak
tier_codestringYa
tier_namestringTidak
entity_count_estimateintegerTidak
statusPlatformTransferStatusYa
status_labelstringTidak
price_amount_minorintegerYa
price_currencystringYa
redirects_mappedbooleanTidak
redirect_countintegerTidak
canonicals_verifiedbooleanTidak
sitemap_submittedbooleanTidak
structured_data_preservedbooleanTidak
seo_checks_completebooleanTidak
customer_notestringTidak
sla_due_atobjectTidak
created_atstringYa
completed_atobjectTidak
eventsPlatformTransferEvent[]TidakThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Kesalahan yang dapat dikembalikan oleh titik akhir ini

401 · 403 · 404 · 422 · 429