Send DOKU Payment Links on WhatsApp
Yes. AeroChat works directly with DOKU. It creates a DOKU Checkout payment for the amount agreed in the conversation, sends the payment link in the chat and confirms the order once DOKU shows it as paid.
This recipe turns “oke, saya ambil” into a paid order without leaving the chat. The customer pays on DOKU’s own Checkout page with a virtual account, QRIS, card, e-wallet or another method your account offers, so AeroChat never sees card or bank details and never holds money. Part of connecting DOKU to WhatsApp and AI chat.
What happens today
A customer decides to buy in the chat. Someone types out bank account details or creates a payment in the DOKU dashboard and pastes the link. Then the customer sends a transfer screenshot, and someone checks it before confirming. Out of hours, the customer waits until morning and some never come back.
The flow that works
- The customer confirms what they want.
- AeroChat reads back the items, delivery and total in rupiah and asks them to confirm.
- It asks for the name, email and phone number the payment needs.
- It creates a DOKU Checkout payment for the total, with your order number as the invoice number, and sends the link.
- When DOKU’s notification says the payment succeeded, it confirms the order in the same chat.
What it looks like on WhatsApp
Customer: Mau pesan 1 tas rotan ukuran M, kirim ke Bandung. (example)
AeroChat: Siap. Tas rotan M Rp 285.000 ditambah ongkir ke Bandung Rp 18.000, totalnya Rp 303.000 (example). Boleh minta nama, email dan nomor HP untuk pembayaran?
Customer: Dewi, dewi@example.com, 0812 3456 7890
AeroChat: Terima kasih, Dewi. Ini link pembayaran DOKU untuk pesanan #ID-6120, berlaku 60 menit.
AeroChat: Pembayaran diterima. Pesanan #ID-6120 dikonfirmasi dan dikirim besok.
In DOKU: a Checkout payment of Rp 303.000 with invoice number ID-6120 is created and shows as successful.
The recipe
Copy this into AeroChat
When a customer confirms an order, follow these steps.
- Read back the items, delivery and total in rupiah, and ask them to confirm.
- Ask for their name, email and phone number for the payment.
- Create a DOKU Checkout payment for the total, with the order number as the invoice number, the items as line items, and a payment due time of 60 minutes.
- Send the payment link in the chat with the amount, the order number and how long it stays open.
- When DOKU notifies us that the payment succeeded, thank them and confirm the order, the items and the delivery date in the same chat.
- If they ask a question before paying, answer it and send the same link again. Do not create a second payment while the first link is still open.
Never ask for card or bank details in the chat. Reply in the customer’s language.
Change the payment due time, delivery fees and confirmation message to match your business before you paste it.
What to connect
- DOKU. Copy your Client ID and Secret Key from the DOKU Back Office and paste them in when AeroChat asks. Use the sandbox keys first to test.
- Your knowledge base. Upload your products, prices and delivery fees so the total AeroChat reads back is right.
Set your notification URL in the DOKU Back Office. DOKU sends a notification when a payment succeeds, and AeroChat uses it to confirm the payment in the conversation it came from.
After you paste the recipe, AeroChat builds the workflow as a draft and shows a checklist: connect DOKU, add your knowledge base if the recipe uses one, then switch it on. If it built the connection from DOKU’s public documentation, the checklist asks you to check it once against the current docs.
Using a different system? If it has a public API, it connects to AeroChat the same way: describe what you want, paste in its key, and it runs.
Can’t find your tool? Message us in the chat on this page and we’ll tell you how it connects.
What you still decide
- Which payment methods appear on the DOKU page.
- How long a link stays open before the order is released.
- Who gets orders that need a custom price.
The result to expect
Customers pay the moment they decide, at any hour, and get the confirmation in the same chat. Your team stops checking transfer screenshots by hand.
Measure it with your own numbers: orders agreed in chat, orders paid, and the time from agreement to payment, for a month before and after.
Prefer payments built in? Airwallex is built into AeroChat, so payment links work without an API setup. See how it works.
Next: answer “did my payment go through?” from DOKU.
Works on every chat channel
This workflow runs the same way on WhatsApp, Instagram, Facebook Messenger, Telegram, the chat on your website and email, with the same DOKU connection behind it. See what each channel does on the DOKU integration page.
Send your first DOKU link from the chat
Paste the recipe, add your DOKU sandbox keys, and place a test order from your own number.
Start your 7-day free trial. No credit card needed.
Sign up for an annual plan on Growth or above and we’ll set up your workflows and connect DOKU for you, free. See plans.
On Shopify? Install AeroChat from the Shopify App Store.
