platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
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
| Nama | Jenis | Wajib | Tentang apa ini |
|---|---|---|---|
transferId (path) | string | Ya | — |
Isi permintaan
| Nama | Jenis | Wajib | Tentang apa ini |
|---|---|---|---|
currency | object | Tidak | 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. |
Tanggapan
| Nama | Jenis | Wajib | Tentang apa ini |
|---|---|---|---|
id | Uuid | Ya | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Ya | — |
source_platform_name | string | Tidak | — |
target_platform | string | Ya | — |
target_platform_name | string | Tidak | — |
source_url | string | Ya | — |
target_site_id | object | Tidak | — |
tier_code | string | Ya | — |
tier_name | string | Tidak | — |
entity_count_estimate | integer | Tidak | — |
status | PlatformTransferStatus | Ya | — |
status_label | string | Tidak | — |
price_amount_minor | integer | Ya | — |
price_currency | string | Ya | — |
redirects_mapped | boolean | Tidak | — |
redirect_count | integer | Tidak | — |
canonicals_verified | boolean | Tidak | — |
sitemap_submitted | boolean | Tidak | — |
structured_data_preserved | boolean | Tidak | — |
seo_checks_complete | boolean | Tidak | — |
customer_note | string | Tidak | — |
sla_due_at | object | Tidak | — |
created_at | string | Ya | — |
completed_at | object | Tidak | — |
events | PlatformTransferEvent[] | Tidak | The 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