Set Up Xendit (Danum Admin)
For: Danum super-admin. Xendit is an alternative to Midtrans - use one or the other.
Overview
Xendit is popular in Indonesia for invoice payments and disbursements. Fees are similar to Midtrans with typically more transparent pricing.
Steps
1. Register
- https://dashboard.xendit.co/register
- Business account. Upload director’s KTP + NPWP + company deed.
- 1-3 business days for verification.
2. Get the API key
- Dashboard > Settings > API Keys
- Two environments: Test and Live. Start with Test.
- Click Generate Secret Key and copy (format
xnd_development_XXXXXorxnd_production_XXXXX).
3. Enter it in Danum Admin
- https://ai.numintek.com/admin/settings/api-keys
- Fill in
payment.xendit.api_keywith the key you copied.
4. Configure callback
- Xendit > Settings > Callbacks
- Fill in
Invoice paid callback URL=https://ai.numintek.com/webhooks/xendit - Copy the callback verification token and save it at
payment.xendit.callback_tokenin Admin.
5. Switch payment mode
/admin/settings/payment-mode> choose GATEWAY_XENDIT > Save.
Xendit fees
- Credit card: 2.9% + Rp 1,500.
- VA: Rp 4,000 per transaction.
- E-wallet: 1.5-2%.
- QRIS: 0.7%.
Troubleshooting
Q: Callback does not arrive. Check the Xendit dashboard > Callbacks > Callback History. Xendit retries 3 times automatically.
Q: Can I use both Midtrans and Xendit at the same time? Currently pick one via the Payment Mode toggle. Multi-provider fallback is on the roadmap.