Set Up Integration
Connect your system with DOKU using API keys and integration tools
Last updated
Was this helpful?
Connect your system with DOKU using API keys and integration tools
Last updated
Was this helpful?
API Keys are secure credentials used to authenticate and authorize a merchant's system to access and interact with DOKU’s payment processing services. API Keys consist of the following components:
Client ID: A unique identifier for the merchant (e.g., BRN-0239-1736742088036
)
Secret Key: A credential used for payment and general authentication. Options to reveal or copy the full key are available and will require users to input an OTP sent by DOKU to the user's email
Public Keys: Cryptographic keys used to authenticate or encrypt transactions
DOKU Public Key: A security key provided by DOKU, used to prove that messages (such as payment confirmations) are genuinely from DOKU
Merchant Public Key: A security key generated by the merchant, which DOKU uses to verify that requests are legitimately from the merchant
SNAP Settings: Configuration details required to connect your system with SNAP (Standard Open API Pembayaran Indonesia), Indonesia's standardized payment API system
You can view the Secret Key of your Client ID by following the steps below:
Log in to , and then access the side navigation bar
Select Settings from the menu
Settings page will appear. Under Account section, select API Keys
API Keys page will appear, then click Reveal Key
A pop-up will appear, then enter the 6-digit verification code (OTP) sent to your email
Upon successful verification, your Secret Key will be visible for 30 seconds. Click Copy Secret Key if needed.
Regenerating your Secret Key is a best practice to enhance security, especially in cases of potential compromise or employee turnover. It is recommended to regularly rotate your Secret Key every few months to minimize risks. You can choose to regenerate your Secret Key either immediately or at a scheduled time.
You can regenerate your Secret Key and implement it immediately by following the steps below:
Select Settings from the menu
Settings page will appear. Under Account section, select API Keys
API Keys page will appear, then click Regenerate Secret Key
A pop-up will appear, then enter the 6-digit verification code (OTP) sent to your email
Upon successful verification, your newly generated Secret Key will be displayed
Review and agree to the Terms and Conditions for Secret Key regeneration, then click Save.
Immediate Regeneration of Secret Key will disrupt active transactions.
You can regenerate your secret key and implement it later by following the steps below:
Select Settings from the menu
Settings page will appear. Under Account section, select API Keys
API Keys page will appear, then click Regenerate Secret Key
A pop-up will appear, then enter the 6-digit verification code (OTP) sent to your email
Upon successful verification, your newly generated Secret Key will be displayed
Under the Implementation Time field, select Specific Time
Choose your desired date and time for the implementation
Review and agree to the Terms and Conditions for Secret Key regeneration, then click Save.
You can view your public keys by following the steps below:
Select Settings from the menu
Settings page will appear. Under Account section, select API Keys
API Keys page will appear, then click Reveal Key next to the desired key (DOKU Public Key or Merchant Public Key).
Log in to , and then access the side navigation bar
Log in to , and then access the side navigation bar
Log in to , and then access the side navigation bar
Yes. You can track Secret Key changes by checking Activity Logs. For detailed steps, please follow the guide on .