Android SDK
Introduction
The payabl. Android SDK is a unified solution designed to streamline payment processing on Android platforms. It provides a Hosted Payment Page that includes Google Pay, Instant Bank Transfer, and Pay by Card, plus standalone integrations of Google Pay & Instant Bank Transfer if you need them.
Rather than directly handling sensitive payment data in your application, the SDK manages all cryptographic operations and token exchanges securely with the payabl. gateway.
Your application's primary responsibility is to trigger payment flows using session credentials (sessionId and ephemeralKey) provisioned securely by your backend.

Android SDK - Integration Workflow
The SDK follows a consistent architectural pattern:
- Your application initiates a payment flow by requesting session credentials from your backend.
- The Mobile SDK handles payment processing and user interaction, and returns results via callback handlers that your app uses to update order status and UI.
- Each payment method (Hosted Checkout, Google Pay, Instant Bank Transfer, Pay by Card) uses the same PBLConfiguration and PBLPaymentResult types
Updated about 14 hours ago
