Generate Token API
The Generate Token API facilitates the subsequent process by providing the necessary token for the Upload File API.
Endpoint
HTTP Method
POST
API endpoint (Test Mode)
https://api-uat.doku.com/adv-core-api/partner/v1.0/token
API endpoint (Production)
https://api.doku.com/adv-core-api/partner/v1.0/token
Request Header
client-id
Client ID (Brand ID) will be shared by DOKU Account Manager
request-id
Unique random string (max 128 characters) generated from merchant side to protect duplicate request
request-timestamp
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
signature
Request Body
grant_type
string
Mandatory
value client_credentials
valid_time
string
Optional
in minutes
Response
Last updated
Was this helpful?