Send Xendit Payment Links on WhatsApp

By Alva Chew 4 min read Updated November 7, 2026

This recipe sends a Xendit payment link for the exact amount agreed in chat, and confirms the order or booking once Xendit shows it as paid. Part of connecting Xendit to WhatsApp and AI chat.

What happens today

A customer agrees an order on WhatsApp and asks how to pay. Someone opens the Xendit Dashboard, creates a payment link, pastes it into the chat and tries to remember to check it. Links go out with the wrong amount, expire before the customer pays, or get paid without anyone noticing, so the order waits.

The flow that works

  1. AeroChat confirms the items or service and the total with the customer.
  2. It creates a Xendit invoice for that amount, with the order number as the reference.
  3. It sends the payment link in the chat with the total and when it expires.
  4. When the customer says they have paid, it checks the invoice in Xendit.
  5. If it is paid, it confirms the order. If the link expired, it sends a new one.

The recipe

Copy this into AeroChat

When a customer confirms an order, a booking or a fee, follow these steps.

  1. Read back what they are paying for and the total, and ask them to confirm.
  2. Create a Xendit invoice for the total, with the order or booking number as the external reference, a short description, and the customer’s email if we have it.
  3. Set it to expire in 24 hours (example).
  4. Send the payment link with the amount and the expiry time.
  5. When they say they have paid, check the invoice. If it is paid, confirm the order or booking with the details. If it is still pending, tell them and share the link again.
  6. If the invoice has expired, create a new one for the same amount.

Never ask for card, bank or e-wallet details in the chat. Reply in the customer’s language.

Change the expiry time 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 a deposit of IDR 200,000 (example) to hold the booking”.

What to connect

  • Xendit. In your Xendit Dashboard, open Settings, then API Keys, and generate a Test mode secret key that can create and read payment links. Paste it in when AeroChat asks. Switch to a Live key once you have tested.
  • 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 Xendit, add your knowledge base if the recipe uses one, then switch it on. If it built the connection from Xendit’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 you switch on in Xendit.

The result to expect

Every order agreed in chat gets a Xendit link for the right amount, in the conversation the customer is already in. Fewer orders stall between “yes” and payment, and nobody creates links 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 Xendit.

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 Xendit connection behind it. See what each channel does on the Xendit integration page.

Send your first Xendit link from chat

Paste the recipe, add your Xendit Test mode key, and place an order from your own number.

Start your 7-day free trial. No credit card needed.

On Shopify? Install AeroChat from the Shopify App Store.