> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pandablue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# India

> Country specifications and request fields for deposits in India

Country specifications and request fields for deposits in India. For the payment methods and their flows, see [India coverage](https://docs.pandablue.com/deposits/payment-methods/asia/india.md).

### Country specifications

| country code | currency code | amount decimals | document name | document format | document required? |
| - | - | -: | - | - | -: |
| `IN` | `INR` and `USD` | 2 | ID (PAN), DL (Driver's License), UID (Aadhar Card) | ID (PAN): Length 10. DL (Driver's License): Length between 15 and 16 inclusive. UID (Aadhar Card): Numeric. Length 12. | Y |

### Payment Methods

| `payment_method` | Name | Flow | Payment type |
| - | - | - | - |
| `UI` | UPI | `REDIRECT` | `BANK_DEPOSIT` |
| `UIS` | UPI Seamless | `ONE_SHOT`, `REDIRECT` | `BANK_DEPOSIT` |
| `ICSH` | iCash One | `ONE_SHOT` | `VOUCHER`, `WALLET` |

#### Required OneShot fields

| Field | Required |
| - | :-: |
| `country` | Yes |
| `amount` | Yes |
| `payer` or `payer[]` | Yes |
| `payment_method` | Yes |

> [!NOTE]
>
> Refer to the country table for any extra requirement, such as `client_ip` or bank details.

#### Payer object requirements

| Payment method | document | email | first\_name | last\_name | phone |
| - | :-: | :-: | :-: | :-: | :-: |
| `UI` | Yes | Yes | Yes | Yes | Optional |
| `UIS` | Yes | Yes | Yes | Yes | Yes |
| `ICSH` | Optional | Yes | Optional | Optional | Yes |

##### UPI Seamless

`UIS` requires payer `phone` and `reported_info.bank_account_number` with a UPI ID. Display both returned `qr_code` and `provider_link`.

##### iCash One

`ICSH` requires payer `email` and `phone`. Display both returned checkout values.

### UPI

UPI is a standard deposit created through the [OneShot](https://docs.pandablue.com/deposits/solutions/oneshot.md) integration.

#### Payer requirements

| Field | UPI (UI) | UPI Seamless (UIS) |
| - | - | - |
| `first_name` | Yes | Yes |
| `last_name` | Yes | Yes |
| `document` | Yes | Yes |
| `email` | Yes | Yes |
| `phone` | Optional | Yes |
| `reported_info.bank_account_number` (UPI ID) | No | Yes |

> [!WARNING]
>
> The payer and document fields required for India are validated for format only. They are not equivalent to the account validation service available for Brazil and Mexico: for India, we do not currently validate the existence or ownership of the payer's account, nor match the payer's name or document against it.

#### Example request

```sh theme={null}
{
    "invoice_id": "{{invoiceId}}",
    "amount": "500",
    "country": "IN",
    "currency": "INR",
    "payment_method": "UI",
    "payer": {
      "document": "1233131313",
      "document_type": "ID",
      "first_name": "Pandablue",
      "last_name": "Merchant",
      "phone": "91 2234567890",
      "email": "developer@merchant.com"
    },
    "description": "UPI deposit",
    "client_ip": "123.123.123.123",
    "back_url": "https://merchant.com/deposit_cancelled",
    "success_url": "https://merchant.com/deposit_completed",
    "error_url": "https://merchant.com/deposit_error",
    "notification_url": "https://merchant.com/notify",
    "logo": "https://merchant.com/logo.png",
    "test": true,
    "mobile": false,
    "language": "en"
  }'
```

#### Example response

```json theme={null}
{
  "checkout_type": "ONE_SHOT",
  "redirect_url": "https://pay-stg.depositpage.com/validate/UPI_DEPOSIT",
  "iframe": false,
  "deposit_id": 301626485,
  "user_id": "11",
  "merchant_invoice_id": "1000000001",
  "payment_info": {
    "type": "VOUCHER",
    "payment_method": "UI",
    "payment_method_name": "UPI",
    "amount": 500,
    "currency": "INR",
    "expiration_date": "2026-09-28 19:57:40",
    "created_at": "2026-09-28 13:57:40",
    "metadata": {}
  }
}
```

#### What is the UPI ID?

The UPI ID is the payer's Virtual Payment Address (VPA). It uniquely identifies their UPI account and uses the format `name@bankhandle`.

VPA is the technical term. Use **UPI ID** in merchant-facing UIs and payer-facing screens.

In the API, send it as `reported_info.bank_account_number`. It is required only for UPI Seamless. It must match `^[a-zA-Z0-9.\-_]{2,50}@[a-zA-Z]{2,50}$`.

### UPI Seamless

UPI Seamless is available only through the [OneShot](https://docs.pandablue.com/deposits/solutions/oneshot.md) integration. Send all required fields in the request.

It requires every UPI payer field. `payer.phone` is mandatory. Send the payer's UPI ID in `reported_info.bank_account_number`.

`reported_info.bank_account_number` must match this pattern:

```
^[a-zA-Z0-9.\-_]{2,50}@[a-zA-Z]{2,50}$
```

#### Example request

```sh theme={null}
{  "invoice_id": "{{invoiceId}}",
    "amount": "500",
    "country": "IN",
    "currency": "INR",
    "payment_method": "UIS",
    "payer": {
      "document": "1233131313",
      "document_type": "ID",
      "first_name": "Pandablue",
      "last_name": "Merchant",
      "phone": "91 2234567890",
      "email": "developer@merchant.com"
    },
    "reported_info": {
      "bank_account_number": "test@paymt"
    },
    "description": "UPI Seamless deposit",
    "client_ip": "123.123.123.123",
    "back_url": "https://merchant.com/deposit_cancelled",
    "success_url": "https://merchant.com/deposit_completed",
    "error_url": "https://merchant.com/deposit_error",
    "notification_url": "https://merchant.com/notify",
    "logo": "https://merchant.com/logo.png",
    "test": true,
    "mobile": false,
    "language": "en"
  }'
```

#### Example response

```json theme={null}
{
  "checkout_type": "ONE_SHOT",
  "redirect_url": "https://pay-stg.depositpage.com/validate/UPI_SEAMLESS_DEPOSIT",
  "iframe": true,
  "deposit_id": 301626486,
  "user_id": "11",
  "merchant_invoice_id": "1000000001",
  "payment_info": {
    "type": "VOUCHER",
    "payment_method": "UIS",
    "payment_method_name": "UPI Seamless",
    "amount": 500,
    "currency": "INR",
    "expiration_date": "2026-09-28 19:57:40",
    "created_at": "2026-09-28 13:57:40",
    "metadata": {
      "qr_code": "data:image/png;base64,...",
      "provider_link": "upi://pay?pa=..."
    }
  }
}
```

The response returns `payment_info.metadata.qr_code` and `payment_info.metadata.provider_link`. The provider link is a `upi://pay` deep link. A customized checkout must display both.

### UPI vs UPI Seamless

| | UPI (UI) | UPI Seamless (UIS) |
| - | - | - |
| Code | `UI` | `UIS` |
| Integration/flow | OneShot standard deposit | OneShot only |
| Iframe | No | Yes |
| Payer fields required | `first_name`, `last_name`, `document`, `email`; `phone` is optional | `first_name`, `last_name`, `document`, `email`, `phone` |
| `reported_info.bank_account_number` (UPI ID) | No | Yes |
| Data returned in response | `payment_info.metadata` | `payment_info.metadata.qr_code` and `payment_info.metadata.provider_link` |

### Payer name verification

> [!WARNING]
>
> For UPI deposits (UPI and UPI Seamless), we do not currently verify the name of the person who actually sends the funds against the payer information submitted by the merchant in the deposit request.
>
> As a result, we do not currently provide third-party payer detection or name matching for UPI. The deposit response does not indicate whether the person who made the payment is the same as the customer registered by the merchant.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.