partner
POST /v1/partner/customers/{externalId}/holder-verifications/{caseId}/documents
Upload one holder document for your customer (PDF, JPEG or PNG, 10 MB at most).
Аутентификација
Пошаљите API кључ као bearer токен. Кључ мора имати дозволу partner.domains; кључ без ње се одбија уз 403, а не 404.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X POST https://api.zinndigital.com/v1/partner/customers/{externalId}/holder-verifications/{caseId}/documents \
-H "Authorization: Bearer zdk_live_…"Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли
Детаљи
Identical checks and storage to uploadHolderVerificationDocument. Requires partner.domains.
Параметри
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
externalId (path) | string | Да | YOUR id for that customer — whatever your own system calls them. It is what makes linking idempotent, and it is scoped to your partner programme: another partner's id is a 404… |
caseId (path) | Uuid | Да | — |
Одговор
| Назив | Тип | Обавезно | Шта је ово |
|---|---|---|---|
id | Uuid | Да | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
domain_id | Uuid | Да | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
fqdn | string | Да | — |
holder_kind | string<individual, organisation> | Да | — |
status | HolderVerificationStatus | Да | pending_confirmation is staff-only (a detected request not yet confirmed) and never returned to a customer or partner. |
issued_at | string | Да | — |
deadline_at | string | Да | — |
days_left | integer | Да | Whole days to the deadline, rounded DOWN, never below 0. |
required_documents | HolderDocumentKind[] | Да | — |
missing_documents | HolderDocumentKind[] | Да | — |
customer_message | string | Да | What our verification team asked you to change; empty when nothing. |
submitted_at | string | Не | — |
registrar_submitted_at | string | Не | — |
closed_at | string | Не | — |
documents_purged_at | string | Не | — |
documents | HolderVerificationDocument[] | Да | — |
Грешке које ова крајња тачка може вратити
401 · 403 · 404 · 409 · 422 · 429 · 503