WePay Android SDK
Native Android SDK for opening an existing WePay checkout URL in an in-app WebView.
- Your backend is responsible for creating the contract and generating the checkout URL.
- This SDK is responsible only for opening that URL in a WebView and detecting success/failure.
Features​
- WebView-based checkout screen
- Loads your existing checkout URL
- Detects success (
/success) and error (/error) redirects - Shows success/error messages and auto-closes
- Optional KYC UI screens (if you want to build your own flow)
Requirements​
| Requirement | Minimum Version |
|---|---|
| Android SDK | 24+ (Android 7.0+) |
| Kotlin | 1.9+ |
Integration Steps​
| Step | Description |
|---|---|
| 1 | Installation — Add the SDK to your project |
| 2 | Backend Setup — Generate the checkout URL from your server |
| 3 | Open Checkout — Launch the WebView checkout in your app |
| 4 | Advanced Usage — Directly start WebViewPaymentActivity |
| 5 | Configuration — Required permissions and setup |
Support​
For issues and feature requests, please use the GitHub Issues page.