Upload File API
Used to upload related business documents. Partners can use this component to upload their business documents directly to the Partner API.
Endpoint
Type
Value
HTTP Method
POST
API endpoint (Test Mode)
https://api-uat.doku.com/adv-core-api/partner/v1.0/file
API endpoint (Production)
https://api.doku.com/adv-core-api/partner/v1.0/file
Authorization (Bearer Token)
Sample:
eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJwYXlsb2FkIiwiZXhwIjoxNjk1MTg1NzQ0LCJ1c2VyIjp7ImJ1c2luZXNzU2VydmljZUNsaWVudElkIjoiQlJOLTAyNDEtMTY5NTAwODQwMTg5OSJ9LCJpYXQiOjE2OTUxODU0NDR9.fNpOOgQskTxZJwpuUM7STIFSua5d37LoadFoy57OlXhTWIUFSyiYbIMyUOEiPUiCnj8oOF1CdKyTGowXu2Kr1a35qVvoiCjvrzTTbmTULcPc6TRkHpCLNhgr099M8wBjgKOsAbarR6PoAyjc8XB7V8dmsDCfs1K03gmSvK1e4rf5O1bj0xwN6PFLUT8CaPmhWGeHdBw2AglkXBJGm41LpBT3QS-GgNLsg0IUOA1jZwaNar-bnhJLfuvHdfvoi9hBVf4P3H7pGETaPkx1xi-5yFh4xG8CcGm0goInZHSdQ1NBi1O9zXUEdQDEMDbPoUjGJCNLoPubtdvgwXHawHCISA
Request Body (Form Data)
Parameter
Type
Mandatory
Possible Values
file
file
Conditional
.JPG, .PNG (check requirements using Check Requirements API)
--
only needed when file_url
is empty)
file_url
text
Conditional
Image URL (e.g. https://www.website.domain/assets-lna/images/logo.png)
--
only needed when file
is empty
Possible Values
Applied for all businessType
:
Response
{
"id": "CNT-0104-1676639713907",
"link": "https://doku.com/12345566",
"category": "OWNER_LIVENESS"
}
Parameter
Type
Mandatory
Description
link
string
Mandatory
Link of file
category
string
Mandatory
Same as request
Last updated
Was this helpful?