[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eFollow the Android guide and prepend \u003ccode\u003egpay://\u003c/code\u003e to the URI to generate the iOS intent for Google Pay integration.\u003c/p\u003e\n"],["\u003cp\u003eThe URI structure for iOS and Android intents is almost identical, with the iOS version requiring \u003ccode\u003egpay://\u003c/code\u003e at the beginning.\u003c/p\u003e\n"],["\u003cp\u003eAfter completing a payment, iOS users need to manually switch back to the merchant app, which is a current limitation of the collect/intent flows.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the NPCI UPI Linking Specification for detailed information about request and response argument specifications.\u003c/p\u003e\n"]]],["To integrate Google Pay in an iOS app, generate a URI similar to Android's, but prepend it with `gpay://`. This URI structure launches Google Pay. The URI contains parameters like `pa` (merchant VPA), `pn` (merchant name), `mc` (merchant code), `tr` (transaction ID), `tn` (transaction note), `am` (amount), and `cu` (currency). iOS currently requires users to manually return to the merchant app after payment completion. Refer to the Android guide and NPCI UPI Linking Specification for additional details.\n"],null,["# Integrate Google Pay for in-app payments\n\nFollow the [Android guide](https://developers.google.com/pay/india/api/android/in-app-payments)\nfor generating the URI for iOS intent and integrating Google Pay with\nyour app.\n| **Important:** The URI for iOS intent is similar to that of Android intent. The only difference is that you need to add **gpay://** at the beginning of the URI. This should launch Google Pay on iOS.\n\nFor more information regarding the\nrequest and response argument specifications, see [NPCI UPI Linking Specification](https://www.npci.org.in/PDF/npci/upi/circular/2017/Circular18_BankCompliances_to_enbaleUPIMerchantecosystem_0.pdf).\n| **Note:** Currently, iOS does not support switching back to the merchant app post payment. The user needs to manually toggle back to the merchant app once the payment is completed. This is in line with the current status quo on collect/intent flows.\n\n**Example iOS intent URI** \n\n gpay://upi/pay?pa=merchant%40pspbank&pn=MyNameHere&tr=15330175804633937&tn=Test%20deposit%2015330175804633937%20DH0490&am=5000&cu=INR&mc=621\n\n| Parameters | Description |\n|------------|-------------------------|\n| `pa` | your-merchant-vpa@xxx |\n| `pn` | your-merchant-name |\n| `mc` | your-merchant-code |\n| `tr` | your-transaction-ref-id |\n| `tn` | your-transaction-note |\n| `am` | your-order-amount |\n| `cu` | INR |"]]