Upload File API
Last updated
Was this helpful?
Last updated
Was this helpful?
Used to upload related business documents. Partners can use this component to upload their business documents directly to the Partner API.
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
Sample:
category
text
Mandatory
code
text
Conditional
file
file
Conditional
file_url
text
Conditional
Image URL (e.g. https://www.website.domain/assets-lna/images/logo.png)
--
only needed when file
is empty
Applied for all businessType
:
id
string
Mandatory
link
string
Mandatory
Link of file
category
string
Mandatory
Same as request
e.g. OWNER_LIVENESS
, DOCUMENT
, etc.
()
only needed when category
is DOCUMENT
()
.JPG, .PNG (check requirements using )
--
only needed when file_url
is empty)
Used for