Mobile Payment Flow
A mobile payment flow describes the sequence of steps that take a user from tapping a "Buy" button to receiving a confirmed payment, routing through the device's native payment sheet, a payment processor, and the app's backend order system.
A mobile payment flow describes the sequence of steps that take a user from tapping a "Buy" button to receiving a confirmed payment, routing through the device's native payment sheet, a payment processor, and the app's backend order system.
Native mobile payment methods — Apple Pay on iOS and Google Pay on Android — use tokenization to avoid transmitting raw card numbers over the network. When the user initiates a payment, the app requests a payment intent from its backend server, which calls the payment processor (e.g., Stripe) to create a PaymentIntent with the charge amount and currency. The processor returns a client secret that authorizes one specific payment operation.
The app passes this client secret to the payment processor's mobile SDK, which displays the native payment sheet — the familiar Face ID / fingerprint-authenticated Apple Pay or Google Pay dialog. The user authenticates with biometrics. The device's Secure Element generates a one-time payment token using the user's stored card credentials and the network cryptogram, then sends this token to the payment processor directly. The processor decrypts the token using Apple's or Google's certificate, charges the underlying card, and returns a payment result.
The processor notifies your backend via a webhook (or the app polls for the result using the client secret). The backend verifies the payment status, creates the order in the database, and returns an order confirmation to the app. The app displays the receipt.
Critically, the raw card number never touches your app or your server — the tokenization happens entirely within the device's trusted execution environment and the processor's systems. This significantly reduces PCI-DSS scope for the merchant.
For authentication patterns that protect payment endpoints, see Mobile App Authentication. For webhook-based confirmation, see the backend webhook delivery pattern.