A runnable Android example app demonstrating how to integrate the Sanwo Android SDK with all supported payment providers.
| Provider | Package | Key format |
|---|---|---|
| Paystack | com.sanwohq.paystack |
pk_test_... |
| Flutterwave | com.sanwohq.flutterwave |
FLWPUBK_TEST-... |
| Razorpay | com.sanwohq.razorpay |
rzp_test_... |
| Monnify | com.sanwohq.monnify |
MK_TEST_... (+ contractCode) |
| Interswitch | com.sanwohq.interswitch |
Merchant code (+ payItemId, siteRedirectUrl) |
- Copy
Config.example.ktintoapp/src/main/kotlin/com/example/sanwocheckout/Config.kt - Replace the placeholder values with your real test keys from each provider's dashboard
- Build and run:
./gradlew :app:assembleDebugOr open in Android Studio and run on a device/emulator.
android/
├── build.gradle.kts # Root build file
├── settings.gradle.kts # JitPack repo + module config
├── gradle.properties
├── Config.example.kt # Copy to Config.kt with your keys
└── app/
├── build.gradle.kts # App dependencies (JitPack SDK)
└── src/main/
├── AndroidManifest.xml
├── kotlin/com/example/sanwocheckout/
│ └── MainActivity.kt
└── res/
├── layout/activity_main.xml
└── values/
├── colors.xml
└── themes.xml