App Clips
Hyperswitch App Clip is a lightweight version of your iOS app that launches instantly (via QR code, NFC, or link) to let users complete payments quickly without installing the full app.
A lightweight, instant-launch version of your iOS app.
Lets users complete fast Hyperswitch payments without installing the full app.
Can be triggered via QR code, NFC tag, Safari link, or Maps.
Ideal for quick checkout use cases (parking, food ordering, event tickets, etc.)
Requirements
iOS 14+
Xcode 12+
Apple Developer Account
Hyperswitch SDK already integrated in main iOS app
Quick Steps
1. Create App Clip Target
Xcode → File → New Target → App Clip
Bundle ID:
your.main.app.bundle.id.Clip
Same Team as main app.
2. Share Payment Logic
Make
HyperViewModel
target membership include both the main app and App Clip.Or move shared code into a framework.
3. Minimal UI in App Clip
@objc func openPaymentSheet(_ sender: Any) {
var config = PaymentSheet.Configuration()
config.primaryButtonLabel = "Purchase ($2.00)"
config.appearance = PaymentSheet.Appearance()
hyperViewModel.paymentSession?.presentPaymentSheetLite(
viewController: self,
configuration: config
) { result in
switch result {
case .completed:
self.statusLabel.text = "Payment complete"
case .failed(let error):
self.statusLabel.text = "Payment failed: \(error)"
case .canceled:
self.statusLabel.text = "Payment canceled."
}
}
}
Flow Summary
User triggers App Clip (QR/NFC/web link).
App Clip requests payment intent from your backend.
Backend creates payment session with Hyperswitch.
SDK presents PaymentSheetLite for checkout.
User pays → Hyperswitch processes.
Result shown instantly (success/fail).
Related Pages
To use this feature add Lite SDK in your AppClips
Lite SDKLast updated
Was this helpful?