platform-transfers

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

Pay for a transfer and queue it for a specialist.

Alle platform-transfers-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. De sleutel moet over de permissie billing.payment.manage beschikken; een sleutel zonder deze permissie wordt geweigerd met een 403 in plaats van een 404.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

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

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

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

Parameters

NaamTypeVerplichtWat dit is
transferId (path)stringJa

Aanvraaglichaam

NaamTypeVerplichtWat dit is
currencyobjectNeeThe 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.

Reactie

NaamTypeVerplichtWat dit is
idUuidJaUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringJa
source_platform_namestringNee
target_platformstringJa
target_platform_namestringNee
source_urlstringJa
target_site_idobjectNee
tier_codestringJa
tier_namestringNee
entity_count_estimateintegerNee
statusPlatformTransferStatusJa
status_labelstringNee
price_amount_minorintegerJa
price_currencystringJa
redirects_mappedbooleanNee
redirect_countintegerNee
canonicals_verifiedbooleanNee
sitemap_submittedbooleanNee
structured_data_preservedbooleanNee
seo_checks_completebooleanNee
customer_notestringNee
sla_due_atobjectNee
created_atstringJa
completed_atobjectNee
eventsPlatformTransferEvent[]NeeThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Fouten die dit eindpunt kan retourneren

401 · 403 · 404 · 422 · 429