For the complete documentation index, see llms.txt. This page is also available as Markdown.

SDKs and Libraries

Libraries and tools to simplify integration with DOKU

DOKU provides a full suite of SDKs and libraries to help you integrate payment capabilities quickly, securely, and reliably — across platforms and programming languages. This reduces the amount of work required to use DOKU's REST APIs. Whether you're building a mobile app, an online store, or a back-office finance system, we offer the tools to accelerate your integration and reduce time-to-market.

Our SDKs and libraries also ensure compliance with the new Bank Indonesia (BI) regulations. These regulations, known as SNAP BI, standardize the API between Payment Service Providers (PSPs) to ensure secure and consistent payment processing. Compliance with these regulations is crucial for maintaining secure operations and meeting industry standards.

Server-side SDKs

DOKU provides server-side SDKs designed to streamline interactions with our REST APIs, significantly reducing development effort. Below is a list of the available libraries:

Library
Version
GitHub Repository

Node.js

v18.0.0 or higher

Java

Java 11 or higher

PHP

PHP 8 or higher

Python

Python 38 or higher

Golang

Go 1.22.2 or higher

Integration Guide

For complete integration guide with SDKs and Libraries, visit DOKU API Reference.


Mobile Checkout SDKs

DOKU Checkout SDK enables merchants to integrate a secure, native checkout experience into iOS and Android applications. Featuring pre-built checkout components, support for multiple payment methods, and simplified payment workflows, the SDK reduces integration complexity while delivering a fast, consistent, and reliable payment experience across mobile platforms.

Integration Guide

  • DOKU Android SDK

  • DOKU iOS SDK


FAQ

What payment methods are supported?

We currently support the following payment methods:

  1. Cards (Credit/Debit Card)

  2. QRIS

  3. Bank Transfer / Virtual Account

  4. e-Wallets

    • DOKU e-Wallet

    • DANA

    • ShopeePay

Can I customize the checkout page?

Yes. You can customize the secondary color, which will be reflected in button colors and highlighted text.

Does Mobile Checkout SDK support Promo Engine features ?

Promo Engine features are not currently supported in Mobile Checkout SDK.

Does Mobile Checkout SDK work in Sandbox environment?

Yes. Mobile Checkout SDK supports the Sandbox environment for testing. Set production = false when initializing the SDK to use Sandbox.

What happens if the customer closes the checkout?

The payment session remains active until it expires. Customers can resume payment using the same session as long as it's still valid.

Last updated

Was this helpful?