skypay_sdk 0.0.5
skypay_sdk: ^0.0.5 copied to clipboard
Seamless payment integration for Flutter with SkyPay SDK – Simplify and secure payments in your apps effortlessly.
SkyPay Flutter SDK — Nepal payment aggregator (eSewa, Khalti & more) #
Simplifying payment aggregator integration in Nepal.
Plug-and-play aggregator for developers, startups, and businesses integrating eSewa, Khalti, and more—one Flutter SDK, multiple payment methods.
Get started · Documentation · Use cases · pub.dev · Merchant signup
Why one SDK for many payment methods? #
Customers split across wallets and banks. Merchants do not want a separate integration per brand. SkyPay aggregates providers behind one API and one checkout—your Flutter app loads a live provider list, supports API, manual (P2P), and assisted flows, and tracks status so you are not maintaining N different gateway SDKs.
| You ship once | Your users get |
|---|---|
One SkyPay.init + one checkout UI |
Multiple aggregated options (eSewa, Khalti, …) |
| One payment intent / order code | Modes your account enables (API / manual / assisted) |
| Dashboard + webhooks (platform) | One-link checkout via SMS, email, or DM when you skip in-app code |
SkyPay at a glance #
- API mode — Direct checkout with your credentials. Deep integration, automated flow.
- Manual mode (P2P) — QR and bank transfers with manual screenshot verification when you do not use a merchant API.
- Assisted mode — SkyPay handles routing complexity; you receive the outcome.
- One-link checkout — Unique links to share; zero mobile code for that path.
- Balance & payouts — Monitor balance and request payouts on your schedule.
- SDK & webhooks — Svelte, React, mobile SDKs, and real-time webhooks—this package is the Flutter / Dart piece.
- Merchant analytics — Transactions, commissions, settlements in one place.
- Student-first sandbox — Learn flows without the usual paperwork wall.
Why SkyPay? #
More than a thin API wrapper: Nepal’s developer-focused payment aggregator—integrate eSewa, Khalti, and other rails in days, not weeks, with consistent webhooks and tooling from side projects to production.
Built for scale #
Students, startups, and growing businesses all run on the same infrastructure for multi-method checkout in Nepal.
Integrate multiple payments in one Flutter flow #
- Open a merchant account: skypay.dev
- Copy your API key from the dashboard
dependencies:
skypay_sdk: ^0.0.5
From Git:
dependencies:
skypay_sdk:
git:
url: https://github.com/skybaseinnovations/skypay-sdk.git
ref: main
The SDK pulls the provider list from SkyPay—your app reflects whatever methods are enabled for your merchant, without hard-coding each wallet.
import 'package:skypay_sdk/skypay_sdk.dart';
void main() {
SkyPay.init('YOUR_API_KEY', debug: true);
runApp(const MyApp());
}
final intent = SkyPayIntent(
amount: 100.0,
code: 'ORD-12345',
successUrl: 'https://yourdomain.com/success',
failureUrl: 'https://yourdomain.com/failure',
);
await SkyPay.instance.startPayment(
context,
intent: intent,
onPaymentCompleted: (payment) {
// Completed on one of the aggregated methods
},
onError: (message) {},
);
In the box: dynamic providers · secure flows via flutter_inappwebview · polling where required · API / manual / assisted per your SkyPay setup.
See the example/ app for a runnable demo.
Legacy hosted checkout (Skypay) #
Hosted URL + in-app WebView (original skypay-sdk flow). Class name Skypay (not SkyPay).
Skypay.initConfig(apiKey: 'YOUR_API_KEY', isProduction: false);
Skypay.initPayment(
context: context,
orderId: 'UNIQUE_ORDER_ID',
amount: 100,
onSuccess: (data) {},
onFailure: (data) {},
onCancel: () {},
);
Optional successUrl / failureUrl override defaults from Constants. Server verification runs before onSuccess.
Developer community #
Questions, integrations, or swapping tips with other builders?
Join SkyPay on Discord — community support, code help, and integration ideas.
SEO keywords & use cases #
Nepal online payments · payment aggregator Nepal · eSewa integration · Khalti integration · Flutter payment SDK · Dart payment gateway · multi-wallet checkout · digital wallet API · fintech Nepal · SkyPay Skybase
Use cases: e-commerce, billing portals, subscriptions, logistics / COD alternatives, events and ticketing, SaaS with local rails.
Links #
| Resource | URL |
|---|---|
| Get started (dashboard) | web.skypay.dev |
| Documentation | skypay.dev/getting-started.html |
| Use cases | skypay.dev/use-cases.html |
| Package | pub.dev/packages/skypay_sdk |
License #
BSD-3-Clause — see LICENSE.
Proudly built in Pokhara, Nepal — a product by Skybase Innovations. SkyPay is one of many tools we build to simplify tech for Nepal and beyond.