platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Ìfàṣẹ́pọ̀
Fi bọ́ọ̀lù (bearer token) ranṣẹ gẹ́gẹ́ bí kọ́kọ́rọ́ API. Kọ́kọ́rọ́ náà gbọ́dọ̀ ní ìyọ̀ǹda billing.payment.manage; a ó kọ̀ ọ́ silẹ pẹlu 403, kii ṣe 404, ti kọ́kọ́rọ́ náà kò bá ní i.
Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.
Gbiyanju rẹ
Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API
Àwọn kúlẹ̀kúlẹ̀
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).
Àwọn ìpìlẹ̀
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
transferId (path) | string | Bẹẹni | — |
Akoonu ibeere naa
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
currency | object | Bẹẹkọ | 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. |
Idahun
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
id | Uuid | Bẹẹni | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Bẹẹni | — |
source_platform_name | string | Bẹẹkọ | — |
target_platform | string | Bẹẹni | — |
target_platform_name | string | Bẹẹkọ | — |
source_url | string | Bẹẹni | — |
target_site_id | object | Bẹẹkọ | — |
tier_code | string | Bẹẹni | — |
tier_name | string | Bẹẹkọ | — |
entity_count_estimate | integer | Bẹẹkọ | — |
status | PlatformTransferStatus | Bẹẹni | — |
status_label | string | Bẹẹkọ | — |
price_amount_minor | integer | Bẹẹni | — |
price_currency | string | Bẹẹni | — |
redirects_mapped | boolean | Bẹẹkọ | — |
redirect_count | integer | Bẹẹkọ | — |
canonicals_verified | boolean | Bẹẹkọ | — |
sitemap_submitted | boolean | Bẹẹkọ | — |
structured_data_preserved | boolean | Bẹẹkọ | — |
seo_checks_complete | boolean | Bẹẹkọ | — |
customer_note | string | Bẹẹkọ | — |
sla_due_at | object | Bẹẹkọ | — |
created_at | string | Bẹẹni | — |
completed_at | object | Bẹẹkọ | — |
events | PlatformTransferEvent[] | Bẹẹkọ | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Awọn aṣiṣe ti ibudo ipari yii le da pada
401 · 403 · 404 · 422 · 429