How to connect Xendit and accept payments

Connect your Xendit account to accept payments from Southeast Asian customers

Ayoub Amine

Last Update hĆ” 2 meses

Xendit is a leading payment gateway in Southeast Asia, enabling businesses to accept payments across Indonesia, Philippines, and the region. This guide walks you through connecting Xendit to Invoiless.

Step 1: Generate an API key in Xendit

1. Go to yourĀ Xendit API keys settings.
2. ClickĀ "Generate secret key".
3. InĀ API key name, enterĀ InvoilessĀ (or any name you prefer).
4. Under permissions, selectĀ "Write"Ā forĀ Money-in products — this allows the API key to create payment links.
5. Copy and save the generated secret key.

Step 2: Get your Webhook Verification Token

1. Go to yourĀ Xendit Webhooks settings.
2. ClickĀ "View Webhook Verification Token"Ā and copy the token.

Step 3: Set up Webhook URLs in Xendit

Still on the Xendit Webhooks settings page, scroll down toĀ Webhook URLĀ and paste the Webhook URL shown in Invoiless into the following events:
  • Invoices → Invoices paid
  • Unified Refunds → Refund request succeeded
  • Unified Refunds → Refund request failed
ClickĀ "Test and save"Ā for each one.

Step 4: Connect Xendit in Invoiless

1. Go to your "Settings > Integrations" page.
2. Find theĀ XenditĀ card and clickĀ "ConnectĀ Xendit".
3. Enter yourĀ API KeyĀ andĀ Webhook Verification Token.
4. ClickĀ "Connect".

Enable online payments on your invoices

Once Xendit is connected, you can enable online payments in two ways:
  • Per invoice: Open the invoice → Control panel → Manage payments → toggle onĀ "Accept online payments".
  • Globally: Go to your Business settings → Invoices to enable online payments for all future invoices.

šŸ’” TheĀ "Pay now"Ā button will appear on the invoice when the invoice status isĀ PendingĀ and the currency is one of the supported currencies: IDR, USD, THB, VND, PHP, or MYR.

Once your customer completes the payment, the invoice will automatically be marked asĀ PaidĀ and the payment will be recorded in Invoiless.

Enjoy 🧔

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us