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?
- Click your name at the bottom of the sidebar, then click Settings.
- Under Integrations, click Payment.
- On the Payment Methods page, find Xendit and click Connect. Keep the dialog open.
- In Xendit, open Settings, then API Keys.
- Generate a secret key with Write permission for Money-in.
- Copy the secret key.
- Paste the secret key into Secret API key in OneSuite.
- Add the webhook URL in Xendit. The next section shows how.
- In Xendit, copy the Webhook Verification Token for the same mode as your secret key.
- Paste it into Webhook verification token in OneSuite.
- Check the Currency.
- Click Save.

How do I add the Xendit webhook?
A webhook is a web address that Xendit calls to tell OneSuite about a payment.
- In the OneSuite dialog, click the copy button beside Webhook URL for your Xendit dashboard.
- In Xendit, open Settings, then Webhooks.
- 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.
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.
See every gateway: Compare the options in Payment Gateways in OneSuite.
Record the money that arrives: Log payments made outside a gateway with How to Record Invoice Payments.