platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Pagpapatotoo
Magpadala ng API key bilang isang bearer token. Kailangang taglayin ng key ang pahintulot na billing.payment.manage; ang key na wala nito ay tatanggihan gamit ang 403, hindi 404.
Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.
Subukan ito
Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API
Mga Detalye
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).
Mga Parameter
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
transferId (path) | string | Oo | — |
Katawan ng kahilingan
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
currency | object | Hindi | 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. |
Tugon
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
id | Uuid | Oo | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Oo | — |
source_platform_name | string | Hindi | — |
target_platform | string | Oo | — |
target_platform_name | string | Hindi | — |
source_url | string | Oo | — |
target_site_id | object | Hindi | — |
tier_code | string | Oo | — |
tier_name | string | Hindi | — |
entity_count_estimate | integer | Hindi | — |
status | PlatformTransferStatus | Oo | — |
status_label | string | Hindi | — |
price_amount_minor | integer | Oo | — |
price_currency | string | Oo | — |
redirects_mapped | boolean | Hindi | — |
redirect_count | integer | Hindi | — |
canonicals_verified | boolean | Hindi | — |
sitemap_submitted | boolean | Hindi | — |
structured_data_preserved | boolean | Hindi | — |
seo_checks_complete | boolean | Hindi | — |
customer_note | string | Hindi | — |
sla_due_at | object | Hindi | — |
created_at | string | Oo | — |
completed_at | object | Hindi | — |
events | PlatformTransferEvent[] | Hindi | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Mga error na maibabalik ng endpoint na ito
401 · 403 · 404 · 422 · 429