# Integrate Google Pay for in-app payments

Follow the [Android guide](https://developers.google.com/pay/india/api/android/in-app-payments)
for generating the URI for iOS intent and integrating Google Pay with
your app.

> [!IMPORTANT]
> **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.

For more information regarding the
request 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).

> [!NOTE]
> **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.

**Example iOS intent URI**

    gpay://upi/pay?pa=merchant%40pspbank&pn=MyNameHere&tr=15330175804633937&tn=Test%20deposit%2015330175804633937%20DH0490&am=5000&cu=INR&mc=621

| Parameters | Description |
|---|---|
| `pa` | your-merchant-vpa@xxx |
| `pn` | your-merchant-name |
| `mc` | your-merchant-code |
| `tr` | your-transaction-ref-id |
| `tn` | your-transaction-note |
| `am` | your-order-amount |
| `cu` | INR |