Send Docs Upload Confirmation
This endpoint finalizes a document upload session by confirming that all required documents have been submitted. Once called, the session is marked as complete and the system proceeds with validation or approval steps for the uploaded documents. It serves as the closing step in a multi-document upload workflow tied to account verification.
Endpoint
POST /endUploadDocumentVerificationSession/{sessionId}
Authentication
Bearer token required. Obtain via:
POST https://api.banking.netevia.dev/api/auth/v2
Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.
When to use
Use this endpoint after all required documents have been uploaded for a verification session. It signals to the platform that the upload phase is complete and that downstream verification or approval workflows should begin. This is typically the final call in a document submission flow for account onboarding or identity verification.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| sessionId | integer (int32) | Yes | The unique identifier of the document upload session to finalize. |
Response
200 OK
A 200 response indicates the session has been successfully closed and the verification process has been initiated. No response body is returned.
Error Codes
| Code | When it happens |
|---|---|
| 400 | Missing required fields or validation error |
| 401 | Token missing, expired, or invalid |
| 403 | Insufficient permissions |
| 404 | Session not found or already closed |
| 500 | Internal server error |
Common Mistakes
- Calling this endpoint before all required documents have been uploaded, which may result in an incomplete verification submission.
- Using an invalid or already-finalized
sessionId, which will result in a 404 error. - Omitting the Bearer token or using an expired token, causing a 401 Unauthorized response.
Related Endpoints
POST /api/auth/v2— Obtain a Bearer token for authenticationPOST /api/auth/refresh— Refresh an expiring Bearer token
Example
curl -X POST https://api.banking.netevia.dev/endUploadDocumentVerificationSession/10042 \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" 200Success
