AI resources

Mercado Pago integration for mobile applications

This model lets you offer Apple Pay in your mobile application without managing payment certificates or decrypting tokens on your server. You can integrate via SDK, using the Mercado Pago native SDK for iOS in your app to display the Apple Pay button, or via API, implementing the flow in your backend and sending from the app the data that Apple returns. In both cases, Mercado Pago handles validation with Apple and returns a token ready to create the payment.

sequenceDiagram
    participant C as Buyer
    participant A as App (iOS)
    participant Apple as Apple
    participant MP as Mercado Pago

    A->>A: Check availability (Apple Pay + cards)
    C->>A: Tap Apple Pay button
    A->>Apple: Payment request (Touch ID/Face ID)
    Apple-->>A: Apple payment token
    A->>MP: Create token (SDK or API)
    MP-->>A: Mercado Pago token
    A->>A: Send token to backend
    A->>MP: Create payment (token + data)
    MP-->>A: Payment response

In this integration you use the Mercado Pago native SDK for iOS in your app. The SDK converts the Apple token into a Mercado Pago card token; your backend receives that token and creates the payment. Follow the steps below to integrate.

If you encounter an error in your Apple Pay integration, see Frequent errors.