platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Uthibitishaji
Tuma ufunguo wa API kama tokeni ya kubeba. Ufunguo lazima uwe na ruhusa ya billing.payment.manage; ufunguo usio nayo unakataliwa kwa 403, si 404.
Endpoint hii haichukui kitambulisho cha shirika. Ufunguo wako tayari unalitambua shirika linalohusika, na jibu limewekewa kikomo kwa shirika hilo pekee.
Jaribu
Badilisha chochote kilicho ndani ya mabano ya pembe na maadili yako mwenyewe, na kishikiliaji cha ufunguo na ufunguo kutoka kwa dashibodi yako.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'Umeingia kwenye akaunti? Dashibodi yako ya kiweko cha API inajaza kitambulisho chako halisi cha shirika na ufunguo wako mwenyewe, na kuendesha ombi dhidi ya API ya moja kwa moja ili uweze kuona jibu halisi. Fungua sehemu hii ya mwisho (endpoint) kwenye konsole ya API
Maelezo
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).
Vigezo
| Jina | Aina | Inayohitajika | Kilicho hiki |
|---|---|---|---|
transferId (path) | string | Ndiyo | — |
Mwili wa ombi
| Jina | Aina | Inayohitajika | Kilicho hiki |
|---|---|---|---|
currency | object | Hapana | 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. |
Majibu
| Jina | Aina | Inayohitajika | Kilicho hiki |
|---|---|---|---|
id | Uuid | Ndiyo | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Ndiyo | — |
source_platform_name | string | Hapana | — |
target_platform | string | Ndiyo | — |
target_platform_name | string | Hapana | — |
source_url | string | Ndiyo | — |
target_site_id | object | Hapana | — |
tier_code | string | Ndiyo | — |
tier_name | string | Hapana | — |
entity_count_estimate | integer | Hapana | — |
status | PlatformTransferStatus | Ndiyo | — |
status_label | string | Hapana | — |
price_amount_minor | integer | Ndiyo | — |
price_currency | string | Ndiyo | — |
redirects_mapped | boolean | Hapana | — |
redirect_count | integer | Hapana | — |
canonicals_verified | boolean | Hapana | — |
sitemap_submitted | boolean | Hapana | — |
structured_data_preserved | boolean | Hapana | — |
seo_checks_complete | boolean | Hapana | — |
customer_note | string | Hapana | — |
sla_due_at | object | Hapana | — |
created_at | string | Ndiyo | — |
completed_at | object | Hapana | — |
events | PlatformTransferEvent[] | Hapana | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Hitilafu ambazo mwisho huu unaweza kurudisha
401 · 403 · 404 · 422 · 429