Setup
- Environment variables
- Direct config
How it works
Webhooks
Xendit verifies webhooks with a Callback Verification Token copied from your dashboard — a plain string comparison via thex-callback-token header, not an HMAC signature.
Raw Xendit events
Opt into any native Xendit notification — fully typed against Xendit’s callback payload shape:event/data wrapper); Recurring webhooks use a wrapping { event, business_id, created, data } envelope instead — Xendit’s two product lines don’t share a webhook shape.
Xendit has no delete-customer API and no manual payment-capture API —
deleteCustomer and capturePayment throw ProviderNotSupportedError. Use cancelPayment to expire a pending invoice instead.