Monetization

How to Add JazzCash and Easypaisa Payments to Your App (and When Play Billing Is Required Instead)

Quick answer

You can use the JazzCash API or Easypaisa in your app when users pay for physical goods or real-world services, such as deliveries, bookings or bills. If they pay to unlock digital content or features inside the app, Google Play and Apple require their own billing. Your server, not the app, must confirm every wallet payment.

A phone checkout screen with two payment routes branching from it: a mobile wallet route for physical goods and services, and a store billing route for digital items

You can use the JazzCash API or Easypaisa in your app when users pay for physical goods or real-world services, such as deliveries, bookings or bills. If they pay to unlock digital content or features inside the app, Google Play and Apple require their own billing. Your server, not the app, must confirm every wallet payment.

Mobile wallets are how many people in Pakistan pay online, so it is natural to want JazzCash and Easypaisa in your checkout. The integration itself is rarely the hard part. The two things that sink projects are choosing wallets for a purchase the stores say must go through their billing, and building a payment flow where the app, not the server, decides whether someone has paid. This guide covers both, then walks through the steps of a wallet integration.

Key takeaways

  • Physical goods and real-world services: you may use your own payment provider, including JazzCash, Easypaisa, cards or Raast. Google Play’s policy says you must not use Play Billing for these.
  • Digital items used in the app: subscriptions, premium features, ad removal, virtual currency and in-game items must use Google Play Billing on Android and in-app purchase on iPhone.
  • Start merchant onboarding first. Merchant approval and live credentials often take longer than writing the code.
  • The server is the source of truth. The app starts the payment; your server verifies it and updates the order.
  • Test the failure cases: wrong PIN, timeouts, a closed app mid-payment and duplicate callbacks.

When can your app take JazzCash and Easypaisa payments?

The rule is the same on both stores: what matters is what the user is paying for, not which payment method they prefer.

Google Play’s Payments policy requires Google Play’s billing system for paid app downloads and for in-app purchases of digital items, such as virtual currencies, extra lives, subscriptions, ad-free versions and premium features. The same policy says Play Billing must not be used for payments that are primarily for physical goods (groceries, clothing, electronics), physical services (transport, cleaning, gym memberships, event tickets), bill payments, and peer-to-peer payments.

Apple says the same thing in its own words. Guideline 3.1.1 of the App Review Guidelines requires in-app purchase to unlock features or functionality, and guideline 3.1.3(e) says that if your app sells physical goods or services consumed outside the app, you must use purchase methods other than in-app purchase.

What the user pays for Example Payment method
Physical goods Groceries, clothing, a spare part JazzCash, Easypaisa, cards, Raast, cash on delivery
Real-world services Ride, home cleaning, clinic booking, event ticket JazzCash, Easypaisa, cards, Raast
Bills and transfers Utility bill, school fee, sending money to a person Your own provider, subject to its licence and terms
Digital content in the app Premium plan, extra levels, coins, ad removal Google Play Billing and Apple in-app purchase
Paid app download A paid app on the store Google Play and the App Store only

The grey area is usually “online but real-world”. Both policies list physical services and event tickets as outside store billing, but a recorded course you watch inside the app is digital content. On iPhone, a live one-to-one session such as tutoring may use other payment methods (guideline 3.1.3(d)), but a live class for a group delivered in the app must use in-app purchase. If your model sits on the line, decide it before design starts. We cover the wider risk of getting store policy wrong in our post on Google Play policy compliance for Pakistani developers.

Google Play’s policy also notes that developers in some countries can enrol in alternative billing or external payment link programs. These are country-specific programs with their own rules. Check the current Play Console Help pages for your market instead of assuming they apply to you.

Decision tree: is the purchase a physical good or a real-world service; if yes, use a wallet, card or Raast; if it unlocks digital content or features in the app, use Google Play Billing on Android and Apple in-app purchase on iPhone Which payment route your purchase needs, based on Google Play’s Payments policy and Apple guidelines 3.1.1 and 3.1.3(e).

What do you need before you start a wallet integration?

Do these in week one of the project, before anyone writes payment code:

  1. A merchant account with each provider. JazzCash and Easypaisa onboard merchants through their business teams. Start from the business or merchant section of each provider’s official website (jazzcash.com.pk and easypaisa.com.pk), not from third-party tutorials. Each sets its own document list, so ask for it early and allow time for review.
  2. Sandbox credentials and the integration documents. Providers share these with merchants, and the documents set out which credentials you receive and how requests are signed and checked. Methods and versions change, so work only from the current documents your provider gives you. Treat any secret or key like a bank password.
  3. A backend you control. Wallet payments need a server to create orders, sign requests and receive callbacks. If your app has no backend yet, plan for one.
  4. A public HTTPS callback URL. Providers notify your server when a payment completes or fails. That address must be reachable and secured with HTTPS.
  5. Refund and dispute rules. Decide who can issue refunds, how, and how they show in your admin panel. Some wallet refunds go through the merchant portal rather than an API, so check how each provider handles them.

Payment onboarding is one of the most common reasons an app launch slips in Pakistan. If your first release can work without in-app payment, for example with cash on delivery, you can launch while onboarding finishes.

How does a safe wallet payment flow work?

Whatever the provider, the safe pattern has the same shape. The exact field names, endpoints and signing method come from your provider’s merchant documents, so follow them exactly.

  1. The app asks your server for an order. It sends the cart or booking, never the price. Your server calculates the amount from its own data.
  2. Your server creates the payment request. It adds the merchant details, a unique order reference, the amount and an expiry time for the transaction, signs the request as the provider’s documents describe, and stores the order as “pending”.
  3. The user approves the payment. Depending on the provider and option, this happens on the provider’s hosted checkout page, opened in Custom Tabs on Android or SFSafariViewController/ASWebAuthenticationSession on iOS, or through a prompt on the user’s wallet. Do not load the checkout in an in-app WebView, because the app could read the PIN the user types.
  4. The provider tells your server the result. Through a signed response or callback, the provider reports success or failure. Treat the redirect as a hint only; confirm through the server-to-server notification (IPN) or the provider’s status inquiry API.
  5. Your server verifies, then updates the order. It checks the signature, the response code, the order reference, the amount, the currency and the merchant ID, and only then marks the order “paid”. The app reads the status from your server.

Sequence diagram of a mobile wallet payment: the app requests an order from the server, the server signs and sends the payment request, the user approves in the wallet, the provider sends a signed callback to the server, and the server confirms the order to the app The safe pattern: the app starts the payment, but only your server decides that it succeeded.

The rules we follow for any payment flow:

  • No secrets in the app. Anything shipped in an Android or iOS app can be extracted. The signing secret lives only on the server.
  • Handle the same callback twice. Callbacks can arrive more than once, or after the app has closed. Make “mark as paid” safe to run twice.
  • Check status when unsure. If a callback never arrives, use the provider’s status inquiry before telling the user the payment failed, so nobody pays twice.
  • Reconcile every day. Match your paid orders against the provider’s settlement reports daily, so a missed callback or a failed refund shows up quickly.
  • Protect personal data. Wallet payments involve mobile numbers and sometimes CNIC digits. Declare them in Google Play’s Data safety form and Apple’s privacy labels, and never write them, or any secret, to logs.
  • No steering for digital items. If part of your app sells digital items through store billing, show no buttons or links to wallet checkout for those items on any storefront where steering is not allowed.

Should you build JazzCash, Easypaisa and cards separately or use one gateway?

You have two options:

  • Direct integrations with each provider. You get each provider’s own terms and settlement, but you build and maintain each integration and each onboarding separately.
  • A payment aggregator that offers several methods (wallets, cards and sometimes Raast) through one integration. One build and one dashboard, but another company sits between you and your money and takes its share.

For a single-city business with modest volume, one aggregator is often the faster route. For a high-volume app, direct integrations can make sense once the business case is proven. Compare the actual quotes and settlement times you receive; fees are set in each merchant agreement.

Comparison of two ways to add payments: direct integrations connect the app separately to JazzCash, Easypaisa and cards, while an aggregator connects the app once to a gateway that offers wallets, cards and Raast Direct integrations or one gateway: the trade-off in one picture.

Where does Raast fit?

Raast is the State Bank of Pakistan’s instant payment system. In December 2023, SBP instructed banks, microfinance banks, electronic money institutions and payment service providers to enable person-to-merchant payments, with merchants able to accept payments through QR codes, Raast aliases such as mobile numbers, IBANs and request-to-pay. SBP also told them not to charge their customers a fee for paying through Raast (SBP press release, 6 December 2023).

For an app owner, the practical question is whether your bank or payment provider offers Raast request-to-pay or QR acceptance for your merchant account, and how it reports the result to your server. Ask both your bank and your wallet providers.

How do you test a wallet payment before going live?

Use the sandbox until every case below passes, then run a small live test with real money and real refunds:

Test What should happen
Successful payment Order marked paid once; user sees confirmation
Wrong PIN or declined Order stays unpaid; user can retry
User closes the app mid-payment Server still receives the result; status correct on reopening
Callback arrives twice Order is updated once, not duplicated
Callback never arrives Status check resolves it; no double charge
Amount tampered in the app Server rejects it because it uses its own price
Refund Refund recorded and visible in the admin panel

How does this affect your monetization plan?

If your app sells digital products, wallets are not your checkout, and the store commission is part of your pricing. Our comparison of ads and subscriptions for mobile app monetization helps you choose the model first. If your app sells real-world goods or services, wallets and cards are the checkout, and the work is in onboarding, a secure backend and testing.

At Fyno Technologies, a mobile app and game studio in Islamabad, we design the payment route at the scoping stage, before any screens are drawn, because it changes the backend, the admin panel and the store review notes. If you are building with Flutter, our Flutter app development service covers wallet and store billing in one codebase. For a full build, including the backend and admin panel, see our mobile app development service.

Sources

All accessed 25 November 2026. Store policies change; we re-check them on the day this post is published.

  1. Google Play Console Help, Payments policy
  2. Apple Developer, App Review Guidelines, sections 3.1.1, 3.1.3(d) and 3.1.3(e)
  3. State Bank of Pakistan, SBP issued instructions for enabling Raast person-to-merchant service (6 December 2023)

FAQ

Frequently asked questions

5 straight answers. Still unsure? WhatsApp us and a project lead replies.

Can I use JazzCash or Easypaisa to sell a subscription inside my app?

Not if the subscription unlocks digital content or features in the app. Google Play's Payments policy lists subscriptions and premium features as purchases that must use Google Play's billing system, and Apple's guideline 3.1.1 requires in-app purchase for the same kinds of items. Wallets are for physical goods and real-world services.

Do I need a company to get a JazzCash or Easypaisa merchant account?

Each provider sets its own onboarding requirements, and they can differ by account type. Expect business documents and bank details to be checked. Ask the provider for its current list before you plan your launch date, because onboarding can take longer than the integration itself.

Is there an official Flutter SDK for JazzCash or Easypaisa?

The providers share their integration documents and sandbox credentials with merchants during onboarding. Community packages exist, but treat them as unofficial: check what they do with your keys, and keep the secret parts of the flow on your server.

Can my app accept Raast payments?

Raast is the State Bank of Pakistan's instant payment system. Since SBP's December 2023 instructions, banks and payment providers have been enabling person-to-merchant payments through QR codes, Raast IDs, IBANs and request-to-pay. Ask your bank or payment provider whether it supports Raast for your merchant account.

Why can't the app just confirm the payment itself?

Because anything in the app can be tampered with. A modified app could report a payment that never happened. Your server should verify the provider's signed response or callback, check the amount, currency and order ID, and only then mark the order as paid.

Related articles

More from Fyno

Apps and games we build and run

Real products from our studio, live on Google Play.

Need an AI-native mobile or game team?

Fixed-scope MVPs, dedicated Android/iOS/Flutter pods, or game LiveOps—built by the studio behind 50+ apps and 10+ games.

Starting from $349 (PKR 99,999)