platform-transfers

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

Pay for a transfer and queue it for a specialist.

Svi platform-transfers krajnji točke

Autentifikacija

Pošaljite API ključ kao nosivi token. Ključ mora imati dozvolu billing.payment.manage; ključ bez nje se odbija s kodom 403, a ne 404.

Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.

Isprobajte

Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.

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

Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli

Pojedinosti

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

Parametri

NazivVrstaObaveznoŠto je to
transferId (path)stringDa

Tijelo zahtjeva

NazivVrstaObaveznoŠto je to
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.

Odgovor

NazivVrstaObaveznoŠto je to
idUuidDaUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringDa
source_platform_namestringNe
target_platformstringDa
target_platform_namestringNe
source_urlstringDa
target_site_idobjectNe
tier_codestringDa
tier_namestringNe
entity_count_estimateintegerNe
statusPlatformTransferStatusDa
status_labelstringNe
price_amount_minorintegerDa
price_currencystringDa
redirects_mappedbooleanNe
redirect_countintegerNe
canonicals_verifiedbooleanNe
sitemap_submittedbooleanNe
structured_data_preservedbooleanNe
seo_checks_completebooleanNe
customer_notestringNe
sla_due_atobjectNe
created_atstringDa
completed_atobjectNe
eventsPlatformTransferEvent[]NeThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Pogreške koje ova krajnja točka može vratiti

401 · 403 · 404 · 422 · 429