Pay As a Local
Airbnb successfully launched over 20 locally relevant payment methods worldwide in just 14 months to enhance accessibility and reduce friction for guests. These Local Payment Methods (LPMs) include digital wallets, bank transfers, and local payment schemes, moving beyond traditional card payments. Offering LPMs boosts conversion, unlocks new markets with low credit card usage, and provides access for unbanked individuals. Through extensive research, Airbnb identified over 300 payment options and used a structured framework to select the top performers for integration.Airbnb's modernized payments platform, built on a domain-driven architecture, decoupled payment logic for flexibility and scalability. This replatforming effort, known as Payments LTA, shifted from a monolithic system to a services-oriented one, speeding up time to market. The processing subdomain, crucial for integrating third-party providers, adopted a connector and plugin-based architecture. This strategy, along with the introduction of Multi-Step Transactions (MST), significantly reduced integration time for new PSPs and standardized complex payment flows.The integration of LPMs presented challenges due to diverse APIs and the need for external app interactions. Airbnb analyzed end-to-end behaviors and standardized them into three foundational flows: Redirect, Async, and Direct. This unified framework enabled significant code reusability and reduced engineering effort for new payment method integrations. Asynchronous payment orchestration was redesigned to manage external user actions and webhook notifications for successful payments.A config-driven approach, utilizing a central YAML configuration, streamlined payment method integration by consolidating logic and enabling automated code generation. This made integration largely declarative, reducing launch times from months to weeks. The payment widget dynamically renders UI and validation rules based on backend configurations, ensuring a tailored checkout experience. Enhanced testability through an in-house PSP Emulator allowed developers to thoroughly test payment scenarios without relying on unstable external sandboxes.