Loading…
Xendit Built a Counter-Fraud Watchlist for the Fintech Industry
Summary
Payment processor Xendit needed a fast, cost-effective counter-fraud watchlist system to screen transactions against international sanctions lists in real time without relying on expensive providers like Worldcheck or Refinitiv. Leveraging their existing familiarity with Postgres, the team loaded parsed sanctions lists from the United Nations and the Indonesian government into Supabase. They implemented full-text search using the Postgres Trigram extension, enabling relevance scoring across queried records. A dedicated database function handles the search queries directly via Xendit's Python clients, allowing the entire solution to reach production in under one week. The deployment has operated reliably in production for nine months without issues, with potential future iterations planned around machine learning techniques.
Context
As a payment processor, Xendit must perform real-time anti-money-laundering checks by verifying suspicious transactions against international sanctions lists to prevent delays on legitimate payments. They required a fast, scalable solution that was more cost-effective than using commercial vendors such as Worldcheck or Refinitiv.
Approach / What changed
Xendit parsed sanctions lists from the UN and the Indonesian government and loaded them into Supabase. Using the Postgres Trigram extension, they enabled full-text search with relevance scoring and exposed the capability through a database function called directly by Python clients.
Takeaways
- Xendit parsed international sanctions lists from the United Nations and the Indonesian government into Supabase to power real-time anti-money-laundering checks.
- The Postgres Trigram extension was used to provide full-text search capabilities with relevance scoring over the sanctions data.
- A custom database function allows direct search execution from Python clients, enabling the team to build and deploy the production system in under a week.
Related reading
Supabase ·
Supabase Beta April 2021
Supabase focused on platform stability, security enhancements, and community support during its April 2021 beta update cycle. To address visual accessibility needs for developers with astigmatisms or those operating in brightly lit environments, the team delivered Light Mode within the dashboard settings. The release also introduced OpenAPI-powered Storage API documentation, community translations for the main repository spanning nineteen distinct languages, and an experimental synchronization server connecting Postgres with Stripe. Dashboard components are systematically migrating into an open-source UI library, establishing necessary foundations for local development tooling and self-hosted environments. Additionally, the team reported substantial contributor growth across its realtime server and UI repositories while continuing engineering on a Workflows engine aimed at a July release.
Paul CopplestoneSupabase ·
Spot: a video sharing app built with Flutter