# India

## Payment Methods

<table><thead><tr><th width="107" align="center">Icon</th><th align="center">payment_method</th><th width="156">Name</th><th width="120" align="center">Flow</th><th width="176" align="center">Payment Type</th><th align="center">Iframe supported</th></tr></thead><tbody><tr><td align="center"><a href="https://resources.directa24.com/cashin/payment_method/square/UI.svg"><img src="https://resources.directa24.com/cashin/payment_method/square/UI.svg" alt="" data-size="line"></a></td><td align="center"><code>UI</code></td><td>UPI</td><td align="center"><code>REDIRECT</code></td><td align="center"><code>BANK_DEPOSIT</code></td><td align="center">No</td></tr><tr><td align="center"><img src="/files/DpbccAPQmP4BHViOSHts" alt="" data-size="line"></td><td align="center"><code>UIS</code></td><td>UPI Seamless</td><td align="center"><code>REDIRECT</code><br><code>ONE_SHOT</code></td><td align="center"><code>BANK_DEPOSIT</code></td><td align="center">Yes</td></tr></tbody></table>

{% hint style="success" %}
Use the [Payment Methods Endpoint](/api-documentation/deposits-api/endpoints/payment-methods-endpoint.md) to retrieve the Payment Methods' types, logos and more details.
{% endhint %}

## Fields required for the [OneShot Experience](/api-documentation/deposits-api/endpoints/deposit-creation-endpoint.md#oneshot-experience)

| Field            | Required? |
| ---------------- | --------- |
| `Country`        | Yes       |
| `Amount`         | Yes       |
| `Payer[]`        | Yes       |
| `payment_method` | Yes       |

### Payer object requirements

<table data-header-hidden><thead><tr><th>Payment Method Name</th><th width="139" align="center">document</th><th width="92" align="center">email</th><th width="143" align="center">first_name</th><th width="130" align="center">last_name</th><th align="center">phone</th></tr></thead><tbody><tr><td>Payment Method Name</td><td align="center"><code>document</code></td><td align="center"><code>email</code></td><td align="center"><code>first_name</code></td><td align="center"><code>last_name</code></td><td align="center"><code>phone</code></td></tr><tr><td>All</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">No</td></tr></tbody></table>

{% hint style="success" %}
`Other` fields not in these lists are optional.
{% endhint %}

### UPI&#x20;

{% tabs %}
{% tab title="Request" %}

```javascript
{
    "invoice_id" : "{{invoiceId}}",
    "amount": "500",
    "country": "IN",
    "currency": "INR",
    "payment_method": "UI",
    "payer": {
        "document": "1233131313",
        "document_type": "ID",
        "first_name": "Rojit",
        "last_name": "Test",
        "phone": "91 2234567890",
        "email": "testing@ing.com"
    },
 
    "description": "test description",
    "client_ip": "123.123.123.123",
    "back_url": "https://www.lime-pay.com/deposit_cancelled",
    "success_url": "https://www.lime-pay.com/deposit_completed",
    "error_url": "https://www.lime-pay.com/deposit_error",
    "notification_url": "https://www.lime-pay.com/limepay/notify",
    "logo": "https://www.lime-pay.com/limepay.png",
    "test": false,
    "mobile": false,
    "language": "en"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "checkout_type": "ONE_SHOT",
    "redirect_url": "https://payment-stg.lime-pay.com/v1/checkout/eyJhbGciOiJIUzM4NCJ9.eyJqdGkiOiI1Njk4Mjg2NSIsImlhdCI6MTcxNDAwNDExMSwiZXhwIjoxNzE1MzAwMTExLCJsYW5ndWFnZSI6InB0In0.m_veUauWLd5oFp9vcVd6q7Sa-ou6__12U5LkqF5XdDm1r0-tonU83KmUJ15FTrcf/IN/UI/4731/10881",
    "iframe": true,
    "deposit_id": 301245385,
    "user_id": "11",
    "merchant_invoice_id": "postmanTest701370365",
    "payment_info": {
        "type": "VOUCHER",
        "payment_method": "UI",
        "payment_method_name": "UPI",
        "amount": 1000.00,
        "currency": "INR",
        "expiration_date": "2024-05-01 22:55:08",
        "created_at": "2024-04-25 00:15:08",
        "metadata": {}
    }
}
```

{% endtab %}
{% endtabs %}

### UPI  Seamless

\
This method requires the field listed below to generate deposit successfully

{% hint style="info" %}
The UPI Seamless payment method is only available using the OneShot integration as all fields must be sent.
{% endhint %}

<table><thead><tr><th width="409">Field</th><th>Required?</th></tr></thead><tbody><tr><td><code>Country</code></td><td>Yes</td></tr><tr><td><code>Amount</code></td><td>Yes</td></tr><tr><td><code>Payer[]</code></td><td>Yes</td></tr><tr><td><code>payment_method</code></td><td>Yes</td></tr><tr><td><code>reported_info[].bank_account_number</code></td><td>Yes, see example below<br><code>"bank_account_number"</code>= VPA (UPI ID)</td></tr></tbody></table>

{% hint style="success" %}
VPA is the technical term used for the identifier of the UPI Accounts, for UX and user-facing views, use “UPI ID” instead
{% endhint %}

{% hint style="warning" %}
VPA Regex: ^\[a-zA-Z0-9.\_\\-]{2,50}@\[a-zA-Z]{2,50}$
{% endhint %}

\
Payer object requirements For UPI Seamless

| Payment Method Name | document | email | first\_name | last\_name | phone |
| ------------------- | :------: | :---: | :---------: | :--------: | :---: |
| All                 |    Yes   |  Yes  |     Yes     |     Yes    |  Yes  |

{% tabs %}
{% tab title="Request" %}

```json
{
    "invoice_id" : "{{invoiceId}}",
    "amount": "500",
    "country": "IN",
    "currency": "INR",
    "payer": {
        "document": "1233131313",
        "document_type": "ID",
        "first_name": "John",
        "last_name": "Doe",
        "phone": "91 2234567890",
        "email": "testing@ing.com"
    },
    "payment_method": "UIS",
    "reported_info": {
        "bank_account_number": "test@paymt"
    },
    "description": "test description",
    "client_ip": "123.123.123.123",
    "back_url": "https://www.lime-pay.com/deposit_cancelled",
    "success_url": "https://www.lime-pay.com/deposit_completed",
    "error_url": "https://www.lime-pay.com/deposit_error",
    "notification_url": "https://www.lime-pay.com/limepay/notify",
    "logo": "https://www.lime-pay.com/limepay.png",
    "test": true,
    "mobile": false,
    "language": "en"
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "checkout_type": "ONE_SHOT",
    "redirect_url": "https://payment.lime-pay.com/v1/checkout/eyJhbGciOiJIUzM4NCJ9.eyJqdGkiOiI4MzMyMzY5NzAiLCJpYXQiOjE3MTM5NTc1OTUsImV4cCI6MTcxNTI1MzU5NSwibGFuZ3VhZ2UiOiJwdCJ9.7URAL4pNP8ARSoBiBJJe0dknC6US2LXra6Q6ginDtH1AZLnsCfOQsPQA-133rtFP/IN/UIS/8261/4",
    "iframe": true,
    "deposit_id": 991814322,
    "merchant_invoice_id": "postmanTest934792442",
    "payment_info": {
        "type": "VOUCHER",
        "payment_method": "UIS",
        "payment_method_name": "UPI Seamless",
        "amount": 500.00,
        "currency": "INR",
        "expiration_date": "2024-04-25 11:19:51",
        "created_at": "2024-04-24 11:19:51",
        "metadata": {
            "qr_code": "data:image/png;base64,encodedimage",
            "provider_link": "upi://pay?pa=paymentdata"
        }
    }
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
For Customizeable UPI Seamless checkout, Kindly ensure that both the `qr_code` and `provider_link` is displayed on the checkout. The `provider_link` is the intent button that allows end-users make payment right from  any of their mobile app. The `provider_link` is a deep link, therefore, make sure to open it outside of any containers/mobile apps.
{% endhint %}

<figure><img src="/files/JVe2X9VA6pPwNjdiIV0d" alt=""><figcaption><p>UPI Seamless checkout.</p></figcaption></figure>

***

### Discover the Payment Flows Behind Our Top Methods! 🚀

<figure><img src="/files/B912xWX9aZUReISpMmxK" alt=""><figcaption><p>UPI Seamless Flow</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lime-pay.com/api-documentation/deposits-api/payment-methods/asia/india.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
