marketplace
POST /v1/marketplace/vendor/verification/subjects
Add a natural person to the identity file.
Аутентификација
Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X POST https://api.zinndigital.com/v1/marketplace/vendor/verification/subjects \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "kind": <MarketplaceVerificationSubjectKind>, "full_name": <string> }'Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
One person on the individual track. On the company track, the person authorised to act plus each beneficial owner over 25% — a holding below that threshold is refused rather than recorded, because a person on a file whose presence nobody can later explain is worse than an absent one.
Тело захтева
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
kind | MarketplaceVerificationSubjectKind | Да | Why a natural person appears on the file. primary is the individual themselves, or the person authorised to act for a company; beneficial_owner is a holder of more than 25%.… |
full_name | string | Да | — |
ownership_percent | integer | Не | — |
is_authorised | boolean | Не | — |
first_name | string | Не | DAC7 reports an individual seller's name as separate elements (docs/298 §2a). ⭐ Beside full_name, not instead of it: that is the name as it appears on the identity DOCUMENT,… |
last_name | string | Не | — |
date_of_birth | string | Не | ⛔ Mandatory in HMRC's schema for an individual seller — PersonParty_Type declares BirthInfo without minOccurs="0" — so a file without one produces a return HMRC rejects.… |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
id | string | Да | — |
kind | MarketplaceVerificationSubjectKind | Да | Why a natural person appears on the file. primary is the individual themselves, or the person authorised to act for a company; beneficial_owner is a holder of more than 25%.… |
full_name | string | Да | — |
ownership_percent | integer | Не | Null on the individual track and for a pure authorised signatory. A holding of 25% or less is refused rather than recorded. |
is_authorised | boolean | Да | The person authorised to act. An individual is trivially that person. |
state | MarketplaceVerificationSubjectState | Да | — |
rejection_reason | string | Не | — |
Грешке које ова крајња тачка може вратити
401 · 404 · 422