> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Pay with Reward Points - Custom Integration

> Enable your customers to pay using a combination of reward points and another payment method such as cards, netbanking, wallets or UPI, on your Web custom integration.

<Info>
  **Feature Request**

  This is an on-demand feature. Please raise a request with our [Support team](https://razorpay.com/support/#request) to get this feature activated on your Razorpay account.

  to get this feature activated on your account.
</Info>

## Prerequisites

* Sign up for a Razorpay account.
* Generate [API Keys](/api/authentication#generate-api-keys) on the Dashboard.
* Configure [payment capture settings](/payments/payments#dashboard-actions) on the Dashboard.
* Integrate Razorpay Custom Checkout on your [website](/payments/payment-gateway/web-integration/custom).
* Customers should have earned reward points. In the absence of reward points, customers will get an error and will not be able to proceed with `Pay with Reward Points`.

## Integrate Reward Points on Web Custom

Follow the steps mentioned in the [Web Custom Integration document](/payments/payment-gateway/web-integration/custom).

To add **Pay with Reward Points** as a payment method, you need to pass the `method` and `provider` parameters while creating the payment.

#### Request Parameters

Along with the other checkout options, you must pass:

`method` *mandatory*
: `string` The method used to make the payment. Here, it should be `app`.

`provider` *mandatory if method=app*
: `string` Name of the service provider. Here, it should be `twid`.

```js: Create Payment theme={null}
razorpay.createPayment({
  amount: 12340,
  currency: 'INR',
  email: 'gaurav.kumar@example.com',
  contact: '9111145678',
  order_id: 'order_EAbtuXPh24LrEc',
  method: 'app',
  provider: 'twid'
});
```

### Related Information

* [FAQs](/payments/payment-methods/apps/reward-points/faqs)
