---
description: >-
  Validate that UPI address is valid or not. If it is a valid you will get the
  name against UPI address
---

# Validate Vpa



{% tabs %}
{% tab title="Production" %}
[https://payout.payumoney.com/payout/merchant/validateVpa](https://payout.payumoney.com/payout/merchant/validateVpa)
{% endtab %}

{% tab title="Testing" %}
[https://test.payumoney.com/payout/merchant/validateVpa](https://test.payumoney.com/payout/merchant/validateVpa)
{% endtab %}
{% endtabs %}

## &#x20;**Request Header Params**

| **Key**          | **Description**                                    | **Data type**  | **Mandatory**  | **possible Values**     |
| ---------------- | -------------------------------------------------- | -------------- | -------------- | ----------------------- |
| Authorization    | Access token generated earlier.                    | String         | Yes            |  Bearer {access\_token} |
| payoutMerchantId | This is the merchant id provided while on-boarding | String         | Yes            |                         |

{% hint style="info" %}
**payountMerchantId is different from payumoney merchant id, please check payouts dashboard or call customer support if you don’t know your payoutsMerchantID**
{% endhint %}



## &#x20;**Request Params**

| **Key**  | **Description**       | **Data type**  | **Mandatory**  | **possible Values**  |
| -------- | --------------------- | -------------- | -------------- | -------------------- |
| vpa      | UPI address to verify | String         | Yes            |                      |

## **Example**

**Sample Request :**

```
curl -X POST \
  https://test.payumoney.com/payout/merchant/validateVpa \
  -H 'authorization: bearer 06aadbs9dac905b5deb7ad844390e0feae784a0ebc03a047aea72fc57b57012d' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/x-www-form-urlencoded' \
  -H 'payoutmerchantid: 1111111' \
  -d vpa=AMZN0002639304%40apl
```



**Response :**

{% tabs %}
{% tab title="Success" %}
```
{
    "status": 0,
    "msg": "vpa available",
    "code": null,
    "data": {
        "message": null,
        "name": "ANKUSH POKARANA"
    }
}
```
{% endtab %}

{% tab title="Failure" %}
```
{
    "status": 1,
    "msg": "vpa not available",
    "code": null,
    "data": {
        "message": "UPI address is invalid",
        "name": null
    }
}
```
{% endtab %}
{% endtabs %}

&#x20;
