# webUPI.requestPayment()

Request that the user creates a payment request to be used by the web app. This will return a UPI URI.

#### **Method**

```jsx

async function requestPayment(args: RequestPaymentArgs): RequestPaymentResponse;

```

#### **Parameters**

```jsx

interface RequestPaymentArgs {
  amount: string | number;
  payeeVPA?: string; // If web app wants the user to create from a specific UPI ID account.
  transactionNote?: string;
}

```

#### **Response**

```jsx

interface RequestPaymentResponse {
  upiUri: string;
}

```

#### **Code Example**

```jsx

await webUPI.enable();
const paymentRequest = await webUPI.requestPayment({
  payeeVPA: 'yourvpa@bank',
  amount: 1000,
  transactionNote: 'Payment for services'
});
```
