platform-transfers

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

Pay for a transfer and queue it for a specialist.

Όλα τα τελικά σημεία platform-transfers

Πισtoποίηση

Στείλτε ένα κλειδί API ως διακριτικό φορέα (bearer token). Το κλειδί πρέπει να διαθέτει το δικαίωμα billing.payment.manage· ένα κλειδί που δεν το διαθέτει απορρίπτεται με 403, όχι 404.

Αυτό το τελικό σημείο δεν δέχεται αναγνωριστικό οργανισμού. Το κλειδί σας προσδιορίζει ήδη τον οργανισμό στον οποίο ανήκει, και η απάντηση περιορίζεται σε αυτόν.

Δοκιμάστε το

Ατικatastήstε ό,τι βρίskεtai μέσα σe γώniaδeς μe τis δikές sas timές, kai to placeholder klεidioύ μe éna klεidi apó ton pinaka ελέgchou sas.

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

Συνδεθήκατε; Η κονσόλα API στον πίνακα ελέγχου σας συμπληρώνει το πραγματικό αναγνωριστικό του οργανισμού σας και το δικό σας κλειδί, και εκτελεί το αίτημα στο ζωντανό API, ώστε να μπορείτε να δείτε την πραγματική απόκριση. Ανοίξτε αυτό το τελικό σημείο στην κονσόλα API

Λεπτομέρειες

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

Παράμετροι

ΌνομαΤύpοςΥποχρεωτικόΤι είναι
transferId (path)stringΝαι

Σώμα αίτησης

ΌνομαΤύpοςΥποχρεωτικόΤι είναι
currencyobjectΌχι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.

Απάντηση

ΌνομαΤύpοςΥποχρεωτικόΤι είναι
idUuidΝαιUUIDv7 identifier — sortable by creation time (docs/02 §8).
source_platformstringΝαι
source_platform_namestringΌχι
target_platformstringΝαι
target_platform_namestringΌχι
source_urlstringΝαι
target_site_idobjectΌχι
tier_codestringΝαι
tier_namestringΌχι
entity_count_estimateintegerΌχι
statusPlatformTransferStatusΝαι
status_labelstringΌχι
price_amount_minorintegerΝαι
price_currencystringΝαι
redirects_mappedbooleanΌχι
redirect_countintegerΌχι
canonicals_verifiedbooleanΌχι
sitemap_submittedbooleanΌχι
structured_data_preservedbooleanΌχι
seo_checks_completebooleanΌχι
customer_notestringΌχι
sla_due_atobjectΌχι
created_atstringΝαι
completed_atobjectΌχι
eventsPlatformTransferEvent[]ΌχιThe customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here.

Σφάλματα που μπορεί να επιστρέψει αυτό το τελικό σημείο

401 · 403 · 404 · 422 · 429