> For the complete documentation index, see [llms.txt](https://docs.ippopay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ippopay.com/upi-intent-self-hosted.md).

# UPI Intent (Self Hosted)

UPI Intent enables users to have a smooth experience of UPI payments on Mobile devices. Users can able to pay via any UPI PSP Apps on their devices.

This Self Hosted UPI Intent flow enabled users to have a seamless experience on UPI Intents without having to integrate our SDK.&#x20;

## GET URI for UPI Intent

<mark style="color:green;">`POST`</mark> `https://public_key:secret_key@api.ippopay.com/v1/order/{ORDER ID}/process`

Use this API to fetch URI for the UPI Intent

#### Request Body

| Name          | Type   | Description                  |
| ------------- | ------ | ---------------------------- |
| Name          | string | Name of the customer         |
| email         | string | Email id of the customer     |
| phone         | string | Phone number of the customer |
| pay\_mode\_id | string | upi-intent                   |

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

```
{
  "success": true,
  "message": "Opening UPI Apps...",
  "data": {
    "pay_process": {
      "action": "intent",
      "redirect_data": {
        "data": {
          "upi_intent": "upi://pay?pa=ippopaypg@yesbank&pn=Ippopay&mc=7399&tr=ORDER_XXX&tn=IppopayPG&am=1439.6"
        }
      }
    }
  }
}
```

{% endtab %}
{% endtabs %}
