platform-transfers

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

Pay for a transfer and queue it for a specialist.

Semua titik akhir platform-transfers

Pengesahan

Hantar kunci API sebagai token pembawa. Kunci tersebut mesti membawa kebenaran billing.payment.manage; kunci yang tidak mempunyainya akan ditolak dengan 403, bukan 404.

Titik akhir ini tidak memerlukan id organisasi. Kunci anda telah mengenal pasti organisasi kepunyaannya, dan respons dis skopkan kepadanya.

Cuba

Gantikan apa sahaja di dalam kurungan sudut dengan nilai anda sendiri, dan pemegang tempat kunci dengan kunci dari papan pemuka 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 log masuk? Konsol API dalam papan pemuka anda mengisi id organisasi sebenar dan kunci anda sendiri, serta menjalankan permintaan terhadap API langsung supaya anda boleh melihat respons sebenar. Buka penamat ini dalam konsol API

Butiran

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

NamaJenisDiperlukanApakah ia
transferId (path)stringYa

Badan permintaan

NamaJenisDiperlukanApakah ia
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.

Respons

NamaJenisDiperlukanApakah ia
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.

Ralat yang boleh dikembalikan oleh titik akhir ini

401 · 403 · 404 · 422 · 429