platform-transfers
POST /v1/platform-transfers/{transferId}/pay
Pay for a transfer and queue it for a specialist.
Tabbatar da Asali
Aika maɓallin API azaman alamar ɗauka (bearer token). Dole ne maɓallin ya kasance yana da izinin billing.payment.manage; idan babu shi, za a ƙi amfani da maɓallin tare da lambar 403, ba 404 ba.
Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.
Gwada
May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.
curl -X POST https://api.zinndigital.com/v1/platform-transfers/{transferId}/pay \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API
Bayani
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).
Sigogi
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
transferId (path) | string | Eh | — |
Jikin buƙata
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
currency | object | A'a | 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. |
Martani
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
id | Uuid | Eh | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
source_platform | string | Eh | — |
source_platform_name | string | A'a | — |
target_platform | string | Eh | — |
target_platform_name | string | A'a | — |
source_url | string | Eh | — |
target_site_id | object | A'a | — |
tier_code | string | Eh | — |
tier_name | string | A'a | — |
entity_count_estimate | integer | A'a | — |
status | PlatformTransferStatus | Eh | — |
status_label | string | A'a | — |
price_amount_minor | integer | Eh | — |
price_currency | string | Eh | — |
redirects_mapped | boolean | A'a | — |
redirect_count | integer | A'a | — |
canonicals_verified | boolean | A'a | — |
sitemap_submitted | boolean | A'a | — |
structured_data_preserved | boolean | A'a | — |
seo_checks_complete | boolean | A'a | — |
customer_note | string | A'a | — |
sla_due_at | object | A'a | — |
created_at | string | Eh | — |
completed_at | object | A'a | — |
events | PlatformTransferEvent[] | A'a | The customer-visible trail only. Staff notes name vendors and what a job cost us, and never appear here. |
Kuskuren da wannan matsaya za ta iya maido wa
401 · 403 · 404 · 422 · 429