SDKs
Official minnha SDKs cover every layer of your stack — server, browser, and mobile.
Design principles
- SAQ-A by default. Client SDKs open the hosted checkout in a popup / iframe / WebView. Card data never enters your code.
- Same event contract everywhere. Every SDK normalises results into
{ status, transactionId, sessionToken, message }. - Two-step flow. Server creates the session (needs secret key); client opens it (just needs the session token).
- Idiomatic per ecosystem. Promises in Node, hooks in React, Service in Angular, coroutines on Android, async/await on iOS.
Available SDKs
| Package | Use case | Install |
|---|---|---|
@minnha/node | Server (Node.js / TypeScript) | npm install @minnha/node |
@minnha/pay-js | Browser, framework-agnostic | npm install @minnha/pay-js |
@minnha/pay-react | React / Next.js | npm install @minnha/pay-react |
@minnha/pay-angular | Angular 16+ standalone | npm install @minnha/pay-angular |
@minnha/pay-react-native | React Native | yarn add @minnha/pay-react-native |
MinnhaPay (Swift) | iOS 14+ native | Swift Package Manager |
com.minnha:pay | Android API 24+ native | implementation("com.minnha:pay:0.1.0") |