platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Authentifizierung
Senden Sie einen API-Schlüssel als Bearer-Token. Der Schlüssel muss über die Berechtigung billing.payment.manage verfügen; ein Schlüssel ohne diese wird mit 403 statt 404 abgelehnt.
Dieser Endpunkt erfordert keine Organisations-ID. Ihr Schlüssel identifiziert bereits die zugehörige Organisation, und die Antwort ist entsprechend eingeschränkt.
Ausprobieren
Ersetzen Sie alles in spitzen Klammern durch Ihre eigenen Werte und den Platzhalter für den Schlüssel durch einen Schlüssel aus Ihrem Dashboard.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Angemeldet? Die API-Konsole in Ihrem Dashboard trägt automatisch Ihre echte Organisations-ID sowie Ihren eigenen Schlüssel ein und führt die Anfrage gegen die Live-API aus, sodass Sie die tatsächliche Antwort sehen können. Öffnen Sie diesen Endpunkt in der API-Konsole
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).
Parameter
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
transferId (path) | string | Ja | — |
Anfragekörper
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
currency | object | Nein | 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. |
Antwort
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
id | Uuid | Ja | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Ja | — |
source_platform_name | string | Nein | — |
target_platform | string | Ja | — |
target_platform_name | string | Nein | — |
source_url | string | Ja | — |
target_site_id | object | Nein | — |
tier_code | string | Ja | — |
tier_name | string | Nein | — |
entity_count_estimate | integer | Nein | — |
status | PlatformTransferStatus | Ja | — |
status_label | string | Nein | — |
price_amount_minor | integer | Ja | — |
price_currency | string | Ja | — |
redirects_mapped | boolean | Nein | — |
redirect_count | integer | Nein | — |
canonicals_verified | boolean | Nein | — |
sitemap_submitted | boolean | Nein | — |
structured_data_preserved | boolean | Nein | — |
seo_checks_complete | boolean | Nein | — |
customer_note | string | Nein | — |
sla_due_at | object | Nein | — |
created_at | string | Ja | — |
completed_at | object | Nein | — |
events | PlatformTransferEvent[] | Nein | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Fehler, die dieser Endpunkt zurückgeben kann
401 · 403 · 404 · 422 · 429