platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Autentifikacija
Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu billing.payment.manage; ključ bez nje se odbija sa 403, a ne sa 404.
Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
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 kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
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
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
transferId (path) | string | Da | — |
Telo zahteva
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
currency | object | Ne | 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. |
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
id | Uuid | Da | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Da | — |
source_platform_name | string | Ne | — |
target_platform | string | Da | — |
target_platform_name | string | Ne | — |
source_url | string | Da | — |
target_site_id | object | Ne | — |
tier_code | string | Da | — |
tier_name | string | Ne | — |
entity_count_estimate | integer | Ne | — |
status | PlatformTransferStatus | Da | — |
status_label | string | Ne | — |
price_amount_minor | integer | Da | — |
price_currency | string | Da | — |
redirects_mapped | boolean | Ne | — |
redirect_count | integer | Ne | — |
canonicals_verified | boolean | Ne | — |
sitemap_submitted | boolean | Ne | — |
structured_data_preserved | boolean | Ne | — |
seo_checks_complete | boolean | Ne | — |
customer_note | string | Ne | — |
sla_due_at | object | Ne | — |
created_at | string | Da | — |
completed_at | object | Ne | — |
events | PlatformTransferEvent[] | Ne | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404 · 422 · 429