Payment GatewaysXendit
Payment Gateways

Xendit

Connect Xendit to PayLexer to accept payments across Southeast Asia including Indonesia, the Philippines, Vietnam, Malaysia, and Thailand.

Xendit is a Southeast Asia-focused payment gateway providing payment infrastructure for businesses operating in Indonesia, the Philippines, Vietnam, Malaysia, Thailand, and other ASEAN markets. It supports card payments, e-wallets, bank transfers, QR codes, and local payment methods.

  • Supported Regions (Merchant Accounts): Indonesia, Philippines, Vietnam, Malaysia, Thailand - view full list

  • Supported Currencies: IDR, PHP, VND, MYR, THB, USD

Supported Features

  • One-time payments

  • Refunds

  • Real-time payment status updates

  • Local Southeast Asian payment methods (GCash, OVO, DANA, GoPay, etc.)

  • QR code payments

  • Virtual accounts / bank transfers

Before You Start

Make sure you have:

Looking for a different payment processor? View all supported gateways →

Configuring Xendit

You need a Secret API Key from Xendit for this integration.

Getting API Credentials

Log in to Xendit

Log in to your Xendit Dashboard.

Navigate to API Keys

Go to Settings → API Keys, under Developerssection, click on** API Keys**

Generate and copy your key

Generate a new Secret Key and enter API key name & choose permissions and click Generate key

Enter OTP and copy

Enter you OTPand the** Secret Key **(starts with xnd_) will be generated (Copy and save it as you won't be able to access it later)

Copy your Public Key (starts with xnd_public_)

Xendit provides separate keys for Test and Live environments. Make sure you copy the key for the correct environment.

Adding Credentials to PayLexer

Open PayLexer Dashboard

Log in to your PayLexer dashboard and navigate to Payment Gateways → Xendit.

Enter your credentials

Paste the Secret API Key you copied from Xendit.

Understanding Live/Production and Sandbox Settings:

EnvironmentPurpose
Live / Production (Mandatory)Used for real transactions. Cannot be empty, even when testing.
Test / Sandbox (Optional)Used for testing only. No real money is processed.

How PayLexer selects credentials:

  • Debug/Test mode ON → Test credentials are used

  • Debug/Test mode OFF → Live credentials are used

Test and save

Click Test Connection to verify your credentials, then click Save Configuration.

Configuring Webhooks

Open Xendit Webhooks

In your Xendit Dashboard, go to User Profile → Settings, then under Developerssection, click on API Keysand click on Webhooks

Add the Webhook URL

Copy the Webhook URL from PayLexer and paste it into all Payment Requests V2fields (and others) and click Test and savefor all

Save in PayLexer

Copy the Webhook Verification Token from Xendit and paste it into PayLexer, then click Save Configuration.

Integrate Xendit to Your Website

Go to Websites

Navigate to Websites in your PayLexer dashboard.

Edit your website

Click the Edit Icon of your added website.

Enable Xendit

Click the checkbox to enable Xendit for the website.

If you haven't added a website yet, → Continue to Add Your Website

Troubleshooting

Best Practices

  • Test in sandbox before enabling Production mode

  • Validate the first live transaction

  • Confirm webhooks are working

  • Keep API keys secure

  • Use separate Test and Production credentials

FAQs

Still Have Questions?