Upload File 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:
Use Generate Token API
to generate bearer token
Request Body (Form Data)
Parameter | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | e.g. |
|
| Conditional | only needed when |
|
| Conditional | .JPG, .PNG (check requirements using File Requirements API)
--
only needed when |
|
| Conditional | Image URL (e.g. https://www.doku.com/assets-lna/images/logo.png) -- only needed when |
Possible Values
Applied for all businessType
:
Response
Parameter | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | Used for |
|
| Mandatory | - |
|
| Mandatory |
Last updated