Install
iOS
The pod resolves by name from CocoaPods trunk, so there is nothing to add to yourPodfile. Install with static frameworks — the native SDK is a Swift pod:
Android
Nothing beyond autolinking. The wrapper’s Gradle module pulls the native Android SDK from Maven Central. RequiresminSdk 24. The library declares INTERNET and CAMERA; camera is used for KYC capture inside a provider’s surface and merges into your manifest automatically.
Create the order on your backend
The order comes from your server. Your API key never ships in the app binary. See Cards or Apple Pay for the request.Mount the order
onPaymentSubmitted, navigating away is how you unmount it.
Apple Pay
Same component, plus anapplePay prop carrying what the order does not:
applePay for any Apple Pay order without checking which provider it routed to. Choosing the surface is the SDK’s job.
A native sheet is modal, so nothing draws into the view while it is up — mount the component off-screen if you trigger it from a button.
Expo config plugin
A native sheet needs the Apple Pay entitlement in your app. The merchant id is yours, paired with the payment processing certificate issued from the CSR Meld provides.The iOS Simulator presents the sheet and can authorise it, which exercises mounting, events and the cancel path. It cannot produce a decryptable payment token, so completing a real payment needs a device.
Events
The five events covers what each one means, and how
onCancel and onError relate to the status.
Settlement
Settlement is your webhook, never an SDK event. OnonPaymentSubmitted, unmount and show a pending state.
See Configure webhooks.