When mobile wallets are allowed, when Google and Apple billing is required, and how to confirm a payment safely
Before you ask a developer about a JazzCash API integration, answer one question: what is your customer paying for? A grocery order and a premium plan can look identical on the checkout screen, yet app store rules treat them very differently. Settle this before design starts, because it shapes the backend, the screens and the store review.
Can you use JazzCash or Easypaisa for in-app payments?
Yes, for physical goods and real-world services. Google Play's Payments policy says Play's billing system must not be used when the payment is mainly for physical goods such as groceries or clothing, or physical services such as transport, cleaning, food delivery or tickets for live events. Utility bill payments and peer-to-peer payments sit outside it too. Apple's App Review Guidelines, section 3.1.3(e), say that for physical goods or services consumed outside the app you must use a method other than in-app purchase.
Digital items are different. Subscriptions, game currency, extra levels, ad-free versions and premium features generally need Google Play Billing on Android and in-app purchase on iPhone. There are exceptions by market: Google runs alternative billing and external payment programs in eligible countries, which you have to enrol in, and Apple's rules on linking to other payment methods differ by storefront, including the United States. Check the current policy for the countries you sell in.
Watch the in-between cases. Under Apple's section 3.1.3(d), a real-time one-to-one service, such as tutoring, may use other payment methods. A live class for a group has to use in-app purchase.
What to arrange before any payment code is written
- A merchant account. Apply through the provider's own business channel and ask for the current document list. Do this early, so approval does not hold up your launch.
- The provider's integration documents and test credentials. Build from the current version they give you, not an old tutorial.
- A server you control. It creates orders, signs requests and receives the result.
- A secure (HTTPS) callback address that the provider can reach.
- A refund process. Decide who can refund, where, and how your team sees it.
How a safe wallet payment works
- The app sends the cart or booking to your server. Your server works out the price.
- The server creates a signed payment request with a unique order number and marks the order as pending.
- The customer approves the payment through the provider. If that is a web checkout, open it in the system browser view, not a web view your app can read.
- The provider reports the result to your server.
- Your server checks the signature, order number, amount, currency and merchant details. Only then is the order marked as paid.
The rule behind all five steps: the app never decides that money arrived. Secrets shipped inside an app can be extracted, so signing keys stay on the server.
Test the failures, not only the happy path
Try a wrong PIN, a declined payment, a lost connection and an app closed halfway through. Then check two quieter cases. If the same callback arrives twice, the order should update once. If no callback arrives, your server should ask the provider for the status before the customer is invited to pay again. After launch, match paid orders against the provider's settlement reports.
Direct integration or one payment gateway?
Direct integrations give you a separate relationship with each wallet, and separate work to build and maintain. A gateway or aggregator can offer several methods through one integration, with another company between you and your money. Compare real fee quotes and settlement times before choosing.
Ask about Raast too, the State Bank of Pakistan's instant payment system. In December 2023 the central bank instructed banks and payment providers to enable merchant payments through QR codes, Raast aliases, IBANs and request-to-pay. Confirm what your own provider offers today.
Where to go next
Our full JazzCash and Easypaisa integration guide, where this article began, has the decision chart, payment sequence and test table. If your app also sells digital items, read ads versus subscriptions before setting prices.
Planning a checkout and unsure which side of the line it falls on? Fyno Technologies is a mobile app and game studio in Islamabad, and you can tell us what you are selling.
Store policies change. Google Play, Apple and State Bank of Pakistan pages were checked on 5 December 2026. Your provider's current merchant documents decide the technical details.
