Send docs upload confirmation

Send Docs Upload Confirmation

The POST /netevia/endUploadDocumentSession endpoint finalizes a document upload session for business customer boarding. It confirms that all required documents have been submitted, triggers processing and storage of those documents, and closes the session to prevent further modifications. This is the final step in the document submission workflow during business onboarding or account opening.

Endpoint

POST /netevia/endUploadDocumentSession

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 via the document upload session workflow during business customer boarding. Once called, the session is locked and no further documents can be added or modified. This endpoint should be called once all supporting documents (e.g., business verification, identity documents) have been successfully submitted for the associated profile.

Request Body

FieldTypeRequiredDescription
profileIdinteger (int32)YesThe unique identifier of the business customer profile associated with the document upload session.
documentUploadSessionIdstringYesThe unique identifier of the document upload session to finalize.
verificatedEntitystringNoThe name or identifier of the entity being verified within this document session (e.g., business name or representative name).
{
  "profileId": 100234,
  "documentUploadSessionId": "dus_8f3a2b1c-4d5e-6f7a-8b9c-0d1e2f3a4b5c",
  "verificatedEntity": "Acme Corp LLC"
}

Response

200 OK

The response is one of two possible objects depending on whether the session completion triggers a financial account opening.

BoardingResponse

FieldTypeDescription
profileIdinteger (int32)The profile ID associated with this boarding action.
errorsstring or nullError message if the operation encountered issues; null on success.
successbooleanIndicates whether the session was successfully finalized.
changeLogarray or nullList of changes made during this boarding step; null if no changes recorded.

changeLog item fields:

FieldTypeDescription
requestTypeinteger (int32)Numeric code representing the type of boarding request performed (enum value 0–28).
changesstring or nullDescription of the change applied during this boarding step.

OpenFinancialAccountResponse (extends BoardingResponse — returned when session finalization triggers a financial account opening)

FieldTypeDescription
profileIdinteger (int32)The profile ID associated with this boarding action.
errorsstring or nullError message if the operation encountered issues; null on success.
successbooleanIndicates whether the session was successfully finalized.
changeLogarray or nullList of changes made during this boarding step.
financialAccountIdstring or nullThe unique identifier of the newly opened financial account, if account creation was triggered by session finalization.
{
  "profileId": 100234,
  "errors": null,
  "success": true,
  "changeLog": [
    {
      "requestType": 5,
      "changes": "Document upload session finalized for entity Acme Corp LLC"
    }
  ],
  "financialAccountId": "fa_9c8b7a6d-5e4f-3c2b-1a0d-9e8f7c6b5a4d"
}

Error Codes

CodeWhen it happens
400Missing required fields, invalid profileId, or malformed documentUploadSessionId
401Token missing, expired, or invalid
403Insufficient permissions to finalize the document session for this profile
404Profile or document upload session not found
500Internal server error during session finalization or document processing

Common Mistakes

  • Calling this endpoint before all required documents have been uploaded — once the session is closed it cannot be reopened.
  • Providing a documentUploadSessionId that belongs to a different profileId — the session ID and profile ID must correspond to the same boarding workflow.
  • Re-calling this endpoint on an already-finalized session, which will result in an error since the session is already closed.
  • Omitting documentUploadSessionId — the system requires a valid session identifier to locate and finalize the correct upload session.

Related Endpoints

  • POST /netevia/startUploadDocumentSession — Initiates a document upload session before documents are submitted
  • POST /netevia/uploadDocument — Uploads individual documents within an active document upload session
  • POST /netevia/boardBusiness — Initiates the business customer boarding process that precedes document upload

Example

curl -X POST https://api.banking.netevia.dev/netevia/endUploadDocumentSession \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "profileId": 100234,
    "documentUploadSessionId": "dus_8f3a2b1c-4d5e-6f7a-8b9c-0d1e2f3a4b5c",
    "verificatedEntity": "Acme Corp LLC"
  }'
Body Params
int32
string | null
string | null
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json