platform-transfers

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

Pay for a transfer and queue it for a specialist.

Všechny koncové body platform-transfers

Autentizace

Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění billing.payment.manage; klíč bez něj je odmítnut s kódem 403, nikoli 404.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

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

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

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

Parametry

NázevTypPožadovánoCo to je
transferId (path)stringAno

Tělo požadavku

NázevTypPožadovánoCo to je
currencyobjectNeThe 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.

Odpověď

NázevTypPožadovánoCo to je
idUuidAnoUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringAno
source_platform_namestringNe
target_platformstringAno
target_platform_namestringNe
source_urlstringAno
target_site_idobjectNe
tier_codestringAno
tier_namestringNe
entity_count_estimateintegerNe
statusPlatformTransferStatusAno
status_labelstringNe
price_amount_minorintegerAno
price_currencystringAno
redirects_mappedbooleanNe
redirect_countintegerNe
canonicals_verifiedbooleanNe
sitemap_submittedbooleanNe
structured_data_preservedbooleanNe
seo_checks_completebooleanNe
customer_notestringNe
sla_due_atobjectNe
created_atstringAno
completed_atobjectNe
eventsPlatformTransferEvent[]NeThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Chyby, které může tento koncový bod vrátit

401 · 403 · 404 · 422 · 429