---
title: How to Connect Xendit to OneSuite
description: "To connect Xendit to OneSuite, open **Settings**, **Integrations**, **Payment**, then click **Connect** on the Xendit card. Paste your **Secret API key** and **Webhook verification token**, add the OneSuite webhook URL in Xendit, and click **Save**. Your clients can then pay invoices online through Xendit. **In this guide you'll learn…"
url: "https://help.onesuite.io/docs/how-to-connect-xendit-to-onesuite/"
updated: "2026-12-04"
category: Payment Integration
---

# How to Connect Xendit to OneSuite

To connect Xendit to OneSuite, open **Settings**, **Integrations**, **Payment**, then click **Connect** on the Xendit card. Paste your **Secret API key** and **Webhook verification token**, add the OneSuite webhook URL in Xendit, and click **Save**. Your clients can then pay invoices online through Xendit.

**In this guide you'll learn how to:**

- Generate a Xendit secret API key with the right permission
- Find your webhook verification token
- Add the OneSuite webhook URL in Xendit
- Switch Xendit on for an invoice

## Before you start

- You need access to **Settings**. If you can't see **Integrations**, ask an admin.
- You need a Xendit account and access to its Dashboard.
- Use a development key to try Xendit out and a production key to take real payments. Test and live mode each have their own webhook verification token. Use the one for the same mode as your secret key.

## What does OneSuite ask for when you connect Xendit?

| Field | Where to find it | Required |
| --- | --- | --- |
| **Secret API key** | Xendit Dashboard, **Settings**, **API Keys**, **Generate Secret Key**, with Write permission for Money-in. The field's example starts with `xnd_production_` | Yes |
| **Webhook verification token** | Xendit Dashboard, **Settings**, **Webhooks**: the Webhook Verification Token for the same mode as your secret key | Yes |
| **Currency** | Starts as **Indonesian Rupiah (IDR)**. OneSuite uses it when an invoice does not carry its own currency | No |

The dialog also shows a **Webhook URL for your Xendit dashboard** box with a copy button.

## How do I connect Xendit to OneSuite?

1. Click your name at the bottom of the sidebar, then click **Settings**.
2. Under **Integrations**, click **Payment**.
3. On the **Payment Methods** page, find **Xendit** and click **Connect**. Keep the dialog open.
4. In Xendit, open **Settings**, then **API Keys**.
5. Generate a secret key with Write permission for Money-in.
6. Copy the secret key.
7. Paste the secret key into **Secret API key** in OneSuite.
8. Add the webhook URL in Xendit. The next section shows how.
9. In Xendit, copy the Webhook Verification Token for the same mode as your secret key.
10. Paste it into **Webhook verification token** in OneSuite.
11. Check the **Currency**.
12. Click **Save**.

![](https://help.onesuite.io/wp-content/uploads/2026/11/open-payment-settings-in-onesuite-1-925x1024.png)

## How do I add the Xendit webhook?

A webhook is a web address that Xendit calls to tell OneSuite about a payment.

1. In the OneSuite dialog, click the copy button beside **Webhook URL for your Xendit dashboard**.
2. In Xendit, open **Settings**, then **Webhooks**.
3. Paste the OneSuite URL into the Invoices webhook URL, in the same mode (test or live) as your secret key.

Xendit sends every invoice on the account to that one URL. Invoices not opened from OneSuite are ignored. If another app already uses that field, replacing it stops that app's notifications.

## How do I check it worked?

The Xendit card on the **Payment Methods** page shows **Connected** instead of **Not connected**. Xendit also shows as **Connected** under **Invoices**, **Configure**, **Getting paid**, **Online payments**.

A gateway you connect is switched on for new invoices. An invoice you created earlier keeps its own choice. Open that invoice, switch Xendit on in its **Payments** panel, save it, and resend it.

## If something goes wrong

If your Xendit Dashboard menu differs from the path above, follow Xendit's guide to [setting the webhook URL](https://help.xendit.co/hc/en-us/articles/360038048871-How-Do-I-Set-and-Update-The-Webhook-URL).

Not using OneSuite yet? Start your free trial →

## FAQs

### Which permission does the Xendit secret key need?

Write permission for Money-in.

### Why are there two webhook tokens?

Test and live mode each have their own Webhook Verification Token. Use the one for the same mode as your secret key.

### What happens to my other apps if I add the OneSuite webhook URL?

Xendit sends every invoice on the account to that one URL. If another app already uses that field, replacing it stops that app's notifications.

## What to do next

**Understand webhooks:** Read the webhook steps in [Payment Gateways in OneSuite](https://file+.vscode-resource.vscode-cdn.net/Users/priomchowdhury/Downloads/1-payment-gateways-in-onesuite.md#how-do-i-add-a-webhook).

**See every gateway:** Compare the options in [Payment Gateways in OneSuite](https://file+.vscode-resource.vscode-cdn.net/Users/priomchowdhury/Downloads/1-payment-gateways-in-onesuite.md).

**Record the money that arrives:** Log payments made outside a gateway with [How to Record Invoice Payments](https://help.onesuite.io/docs/how-to-record-invoice-payments/).
