marketplace
GET /v1/marketplace/vendor/payout-readiness
Whether money may leave the platform to this seller, and why not.
Аутентификација
Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X GET https://api.zinndigital.com/v1/marketplace/vendor/payout-readiness \
-H "Authorization: Bearer zdk_live_…"Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
docs/82 §7a: "the vendor is told exactly why and what to do." ⭐ The same computation the payout runner performs, rendered for the seller. One producer, two audiences — a screen that re-derived the reasons would drift from the gate, and the drift would show as a seller told they are ready while the runner refuses. ⛔ Verification is optional until the first payout and then mandatory. An unverified seller may list, sell and be accepted; it is the payout that is held, never the sale.
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
permitted | boolean | Да | — |
reasons | string<no_verification, verification_not_approved, document_expired, document_missing, subject_not_approved, sanctions_not_screened, sanctions_not_clear, document_request_holds_payouts, vendor_not_approved, no_destination, destination_cooling_off, dac7_data_incomplete>[] | Да | Every reason at once, not the first — a seller told one problem at a time makes one round trip per problem. |
Грешке које ова крајња тачка може вратити
401 · 404