Upload Front
Warning
This endpoint needs to be reviewed by Veryable Engineering. If you are working with this endpoint, please contact Brandon.
Overview
Uploads the front side of a document. 1.
Endpoint URL
https://api-s.nolantechnologies.com/v0/banking/applications/:applicationId/documents/:documentId
Endpoint Data
| Property Name | Description | Type | Required | Allowed Values |
|---|---|---|---|---|
file |
Base64 encoded file | String | Yes | Any |
contentType |
Description of file type | String | Yes | image/png, image/jpeg, application/pdf |
Example Body
{
"file": "1011101111001"
, "contentType": "image/jpeg"
}
| Parameter Name | Description |
|---|---|
applicationId |
Unit application ID |
documentId |
Unit document ID |
Example Request
curl -i -X POST "https://api-s.nolantechnologies.com/v0/banking/applications/123/documents/3" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Nolan-API-Key: YourNolanApiKey" \
--data '{
"file": "1011101111001"
, "contentType": "image/jpeg"
}'
Example Response
HTTP/1.1 201 CREATED
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 303
ETag: W/"12f-9INriuFpNrJxvAkZQkpx5rhqDjU"
Date: Wed, 01 Sep 2023 20:02:46 GMT
Connection: keep-alive
Keep-Alive: timeout=5
{
data: {
"id": "3"
"documentType": "Passport"
"status": "Approved"
"description": String
}
}
-
Read more about this endpoint in the Unit API docs ↩