DOKU MCP Server
DOKU Model Context Protocol capabilities and use cases

Overview
DOKU MCP Server is a gateway that connects DOKU’s payment APIs with AI-powered applications. Built using the Model Context Protocol (MCP), this server allows AI agents to communicate with DOKU to build conversational commerce, automated payment assistants, and other AI-driven experiences. Instead of manually handling API calls, developers can let their AI agents communicate with DOKU through the MCP Server in a predictable and secure way.
If your business uses AI-powered apps, chatbots, or automated workflows, DOKU MCP makes it easy for your AI agents to perform operations such as:
Generating a payment link
Issuing a Virtual Account number
Generating a QRIS code
Checking the status of a transaction
Handling post-payment workflows
AI-Powered Payment Automation
Any AI system that supports MCP can immediately discover your tools and invoke them (no per-integration adapters).
Quick Setup
No custom wrappers needed; tools are discoverable and ready to use, cutting integration time.
Safer / Predictable Interaction
The schema defines valid parameters, types, and error responses, reducing the chance an agent miscalls your API.
Key Features
DOKU MCP allows your system (or an AI assistant you use) to create payments on demand. Whether your customer is checking out on a website, speaking to a virtual assistant, or interacting through a chat application, you can provide seamless payment options instantly.
You can choose between two payment experiences:
Checkout Payment (Checkout Payment)
Generates a DOKU-hosted payment page or payment link
Displays all payment methods available for your merchant account
Reduces development effort because DOKU handles the UI and instructions
Ideal for customer-facing chatbots or quick link-based payments
Direct Payment (Direct Payment)
Creates a payment instruction for a specific method (QRIS, VA, e-Wallet, PayLater)
No hosted page; you provide the instructions directly to the customer
Gives you full control over the customer experience
Suitable for conversational flows (WhatsApp or mesagging apps), kiosks, and POS systems
Checkout Payment
A Checkout Payment refers to creating a link or embedded payment page hosted by DOKU. Your customer sees all payment methods available on your merchant account and can choose how they want to pay.

What you get:
A checkout link you can send to your customer
A ready-to-use payment page with all supported methods
DOKU handles the user interface and instructions
When to use Checkout Payment:
You want a simple, all-in-one payment page
You don’t want to build your own payment UI
Your customers are interacting through chat, AI assistants, or messaging apps
You want to show multiple payment methods (QRIS, VA, e-Wallet, PayLater)
This is the easiest way for merchants to collect payments through MCP.
Direct Payment
Direct Payment creates a payment instruction for one specific payment method. This option does not use a hosted payment page. Instead, your AI agent gives the customer the information they need to complete the payment. Direct Payment is ideal when you already know the customer’s preferred payment method or when you want full control of the payment flow.

What you get:
When you create a Direct Payment, DOKU returns the payment information needed for the customer to complete the transaction, such as:
A Virtual Account number
A QRIS dynamic QR code or QR string
An e-Wallet redirect link or deeplink
A PayLater authorization URL or instructions
A Convenience Store payment code
When to use Direct Payment:
You already know the customer’s preferred payment method
Your product uses chat or AI-driven flows (e.g., WhatsApp/AI agents)
You want to display the payment method directly in your interface
You only accept one or a few specific payment methods
You want full control of the user experience
Payment Methods
DOKU MCP supports a wide range of payment methods for both Checkout Payment and Direct Payment. The table below shows which payment methods are available for type:
QRIS
✅
✅
Cards
✅
✅
Virtual Account (Bank Transfer)
✅
✅
OVO
✅
✅
ShopeePay
✅
✅
DANA
✅
✅
LinkAja
✅
❌
i.saku
✅
❌
DOKU e-Wallet
✅
✅
Alfa Group
✅
✅
Indomaret
✅
✅
Akulaku
✅
✅
Kredivo
✅
✅
Indodana
✅
❌
BRI Ceria
✅
❌
Kartu Kredit Indonesia
✅
❌
Direct Debit BRI
✅
❌
Direct Debit CIMB
✅
❌
Direct Debit Allobank
✅
❌
Direct Debit Mandiri
✅
❌
Jenius Pay
✅
❌
Internet Banking
✅
❌
Get Started
Please visit our API Reference to learn how to integrate with DOKU MCP Server, including authentication steps, available tool schemas, request/response formats, webhook event structures, error codes, and best practices. The API Reference also covers sandbox environments for testing, migration guidelines from traditional REST APIs, and code samples in multiple languages so your team can get started quickly.
FAQ
Last updated
Was this helpful?
