Generate Token API
The Generate Token API facilitates the subsequent process by providing the necessary token for the Upload File API.
Endpoint
Type | Value |
---|---|
HTTP Method | POST |
API endpoint (Test Mode) |
|
API endpoint (Production) |
|
Request Header
Parameter | Description |
---|---|
| Client ID (Brand ID) will be shared by DOKU Account Manager |
| Unique random string (max 128 characters) generated from merchant side to protect duplicate request |
| Timestamp request on UTC time in ISO8601 UTC+0 format. It means to proceed transaction on UTC+7 (WIB), merchant need to subtract time with 7. Ex: to proceed transaction on September 22th 2020 at 08:51:00 WIB, the timestamp should be 2020-09-22T01:51:00Z |
| Security parameter that needs to be generated on merchant Backend and placed to the header request to ensure that the request is coming from valid merchant. Please refer to this section to generate the signature |
Request Body
Parameter | Type | Mandatory | Description |
---|---|---|---|
|
| Mandatory | value |
|
| Optional | in minutes |
Response
Last updated