Step 1: Create a Xendit Account
1. Go to Xendit Website.
2. Click Sign Up and complete the registration.
3. Verify your email and log in to the Xendit Dashboard.
Step 2: Generate API Keys
1. Log in to your Xendit Dashboard.?
2. From the left sidebar, go to Settings → API Keys.
3. You will see two environments:
○ Test (Sandbox) → for testing payments.
○ Live (Production) → for real transactions.
4. Click Generate Secret Key for the environment you want.
5. Copy the following:
○ Public Key → used on frontend (checkout, tokenization).
○ Secret Key → used on backend (server-to-server API calls).
⚠️ Keep your Secret Key safe. Never expose it on the frontend.
Enter a Webhook Token (any secure string you create, e.g.
MySecretWebhook123).
Step 3: integrate keys here
Step 4: Set webhook
○ Copy webhook URL
○ Paste URL in xendit webhook URL section.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article