Skip to main content

WePay iOS SDK

Native iOS 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 alerts and auto-closes
  • Optional KYC UI components (if you want to build your own flow)

Requirements​

RequirementMinimum Version
iOS13.0+
Swift5.0+
Xcode12.0+

Integration Steps​

StepDescription
1Installation — Add the SDK via CocoaPods, SPM, or manually
2Backend Setup — Generate the checkout URL from your server
3Open Checkout — Launch the WebView checkout in your app
4Advanced Usage — Use WebViewPaymentViewController directly
5Configuration — Info.plist settings and API reference

Support​

For issues and feature requests, please use the GitHub Issues page.