Get an investor's KYC document image
/kyc-checks/{kyc_check_id}/documents/{id}Returns one Sumsub document image of the investor's check as raw bytes, with Sumsub's Content-Type. inspection_id is required and must be the applicant's current inspection, else 404. A missing image returns 404, other Sumsub errors 502, and an unreachable Sumsub 503 with Retry-After. It changes nothing.
Path parameters
Query parameters
The Sumsub inspection id the image belongs to. It must be the applicant's current inspection.
Responses
The document image bytes. The Content-Type is the one Sumsub sends (for example image/jpeg, image/png or application/pdf), passed through unchanged, and application/octet-stream when it sends none.
Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per
problem, or a code documented on the operation.
An upstream dependency (e.g. Sumsub) could not be reached or timed out (error.code = upstream_unavailable). Retry after the Retry-After delay.
Examples
curl https://your-org-domain/kong/core/api/v2/kyc-checks/{kyc_check_id}/documents/{id}?inspection_id={inspection_id}\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"