Send Midtrans Payment Links on WhatsApp
Yes. AeroChat works directly with Midtrans. It creates a Midtrans payment link for the amount agreed in the chat, sends it in the same conversation and confirms the order once Midtrans shows the payment as settled.
Prefer payments built in? Airwallex is built into AeroChat, so payment links work without an API setup. See how it works. No Airwallex account yet? Open one through AeroChat.
This recipe sends a Midtrans payment link for the exact amount agreed in chat, and confirms the order or booking once it is paid. Part of connecting Midtrans to WhatsApp and AI chat.
What happens today
A customer agrees an order on WhatsApp and asks how to pay. Someone opens the Midtrans Dashboard, creates a link, copies it into the chat and makes a note to check later. Or they share a bank account and wait for a transfer screenshot. Amounts get typed wrong, transfers arrive without a reference, and paid orders wait because nobody noticed.
The flow that works
- AeroChat confirms the items or service and the total with the customer.
- It creates a Midtrans payment link for that amount, with the order number as the order ID and the items listed.
- It sends the link in the chat with the total and when it expires.
- When Midtrans’s payment notification arrives, it checks that the payment is settled.
- If it is settled, it confirms the order. If it expired, it sends a new link.
What it looks like on WhatsApp
Customer: I’d like to book the 90-minute Balinese massage for two on Friday at 3pm. (example)
AeroChat: Friday 3pm for two is available. The total is IDR 900,000. Here is your Midtrans link: https://app.midtrans.com/payment-links/spa-5120 (example). You can pay by GoPay, QRIS, bank transfer or card. Your slot is held for 30 minutes.
Customer: Paid with QRIS.
AeroChat: Thank you. Your payment of IDR 900,000 is settled and your booking for two on Friday at 3pm is confirmed.
In Midtrans: the payment for order SPA-5120 (example) shows as settled by QRIS.
The recipe
Copy this into AeroChat
When a customer confirms an order, a booking or a fee, follow these steps.
- Read back what they are paying for and the total, and ask them to confirm.
- Create a Midtrans payment link for the total, with the order or booking number as the order ID, each item with its name, price and quantity, and a usage limit of one payment.
- Set the link to expire in 24 hours (example), or 30 minutes (example) when it holds a booking slot.
- Send the link with the amount, the expiry time and the payment methods it accepts.
- When Midtrans’s payment notification for this link shows the payment as settled, confirm the order or booking with the details. If they say they have paid and there is no notification yet, tell them we have not received it yet and remind them how to finish paying.
- If the link has expired, create a new one for the same amount with a new order ID.
Never ask for card details in the chat. Reply in the customer’s language.
Change the expiry times and wording to your own before you paste it. To take a deposit instead of the full amount, say so in the recipe, for example “send a link for IDR 200,000 (example) to hold the booking”.
What to connect
- Midtrans. In your Midtrans Dashboard, open Settings, then Access Keys, and copy the Server Key from the Payment tab, starting with Sandbox. Paste it in when AeroChat asks. Switch to the Production key once you have tested.
- Midtrans payment notifications. In the Midtrans Dashboard, set the payment notification URL to the address AeroChat gives you, so AeroChat hears when a link is paid.
- Your price list. Upload your products or services and prices to AeroChat so the amounts it quotes match what you charge.
After you paste the recipe, AeroChat builds the workflow as a draft and shows a checklist: connect Midtrans, add your knowledge base if the recipe uses one, then switch it on. If it built the connection from Midtrans’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
- Full payment or a deposit, and how much.
- How long a link stays open.
- Which payment methods each kind of order accepts.
The result to expect
Every order agreed in chat gets a Midtrans link for the right amount, in the conversation the customer is already in. Each payment is matched to the conversation it came from, and nobody creates links or checks transfer screenshots by hand.
Measure it with your own numbers: time from order to payment, and links that expire unpaid, for a month before and after.
Next: answer payment questions from Midtrans.
Works on every chat channel
This workflow runs the same way on WhatsApp, Instagram, Facebook Messenger, TikTok, Telegram, the chat on your website and email, with the same Midtrans connection behind it. See what each channel does on the Midtrans integration page.
Send your first Midtrans link from chat
Paste the recipe, add your Midtrans Sandbox Server Key, and place an 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 Midtrans for you, free. See plans.
On Shopify? Install AeroChat from the Shopify App Store.
