Skip to content
EN
Book a demo

HomeProducts

Mobile Payment SDK: iOS and Android Into One Payment API

A mobile payment SDK puts payments inside your own iOS or Android app and connects it to the same payment API that your web checkout uses. Teams searching for a mobile payments SDK usually want to know what stays on the platform side. The app talks to the SDK, and the platform behind it carries the providers, the routing and the reports.

On this page

For a mobile team, that changes what an app owns. You integrate one payment gateway SDK per platform, and the provider list lives on the platform side behind it.

01Mobile payment SDK: where it sits in the layer

The SDK sits inside your app, at the point where the customer pays. The layer starts at its other end. The table follows one in-app payment, with sample wording.

Your side sends The layer does The provider receives
A payment started by the customer inside your app Receives it from the SDK and applies your routing rules A request in the chosen provider's own format
A 3-D Secure step for the cardholder Runs it inside the app, without sending the customer to a browser The authentication result with the payment
A status check or a webhook listener on your back end Returns the result and pushes status updates Nothing; the status was already translated

The customer stays in your app for the whole journey, and your back end hears the outcome through the same status updates that web payments use.

02What it replaces

Without a platform, a mobile team integrates each provider's own mobile library, or it sends every payment through its own back end to the provider's API, and both paths come with an upkeep list that grows with each provider you add.

One provider library per provider

A provider's own library means one more dependency and one more set of release notes. It's one more place where your build can break, and two providers double that list.

Hand-built authentication screens

3-D Secure is easy to leave for last and hard to get right in a custom app. The platform supports 3-D Secure 2.0 inside custom mobile apps, and the API documentation says what the SDK shows the cardholder.

Separate mobile and web reporting

Payments from the app and from the web checkout both reach the platform, and the admin panel shows data from every payment channel on one page.

03Moving it over

A team that already takes payments in an app can move it in stages. Keep each stage testable on its own.

  1. 01 First, decide which flows move

    List the payment screens in your app, and which provider each calls today. The SDK is one of several merchant integration options, and the checkout options page compares them. You can keep a hosted page for part of the product.

  2. 02 Then, add the SDK to a test build

    iOS and Android SDKs are available for download. Add the one for your platform to a test build and connect it to the sandbox, which mirrors production settings. Ask for the API documentation, since it states the exact calls and fields, and this page names none.

  3. 03 Then, test every payment path

    Run approved payments and declines through the sandbox, then 3-D Secure steps and cancellations. On iOS, include the one-click payment path where you plan to offer it. QR code payments are available too.

  4. 04 Last, release and watch the statuses

    Ship the build to a small share of users first and watch statuses and reports. Keep your old path available until the new one has carried real traffic through a full week of ordinary use, including the declines and cancellations that ordinary use always includes.

04Data on the way through

The card number is stored in an encrypted vault, and a token stands in for it from then on. Every API call is logged, and role-based API keys limit who may use them. Finance can export reports to CSV or XLS.

How much of your app falls inside PCI scope depends on the way the SDK treats card data, so put that question to your QSA before you design the screens. PCI scope explains how the integration method sets that scope.

05Questions for your engineers

Answer these before the first sprint:

  • Which payment screens in the app will use the SDK, and which stay on a hosted page?
  • Which app versions and operating systems must the integration support?
  • How will the app show a declined payment, and which wording does your product team approve?
  • How does your back end receive status updates, and what happens if its receiver is down?
  • Which build will point at the sandbox, and who signs off its test results?
  • Who talks to your QSA about the scope, and when?
  • How will you roll the new build out, and how will you roll it back?

06FAQ

Is there a payment gateway SDK for both iOS and Android?

Yes. Both SDKs can be downloaded, and they are meant for merchants who accept payments in their own mobile apps.

Can customers save a card in the app so they don't type it again?

Card data is stored in an encrypted vault, and tokens drive recurring billing. Whether the SDK offers a saved-card screen is a question for the documentation, which also shows which fields your app sends.

Does the SDK support 3-D Secure inside the app?

Yes. 3-D Secure 2.0 runs in custom apps, so the cardholder stays in your app instead of being sent to a browser. It's part of the platform's fraud module.

Can I still use a hosted payment page?

Yes. You can mix integration options, for example an SDK in the app and a hosted page on the web, because they all connect to the same platform.

Next step

Plan your app integration

Send us the payment screens in your app and the providers behind them. We'll work out which flows go through the SDK first. Contact us about the SDK.

Book a demo

Map your integrations onto one API

We look at the providers you run today and what moving them behind one API would take.