> ## Documentation Index
> Fetch the complete documentation index at: https://docs.payreque.st/llms.txt
> Use this file to discover all available pages before exploring further.

# Discount codes

> Create a percentage discount for an eligible one-time product and share a Payment Page link that applies it automatically.

Use a discount code to reduce the price of an eligible one-time product on your PayRequest Payment Page. Customers can enter a code at checkout or open a product link that applies it for them.

## Create a discount code

1. In your PayRequest dashboard, open **Products** and edit the product.
2. Under **Payment Page discount codes**, enter a code such as `WELCOME10` and the discount percentage.
3. Optionally set an end date.
4. Select **Add discount code**.

To stop offering a code on that product, select **Remove** next to it. If you use the same code on more than one product, each product must be configured with the same percentage and end date.

## Share a link that applies the code

Select **Open discount link** next to the code to open the link. You can also add the code yourself:

```text theme={null}
https://payrequest.me/yourhandle/p/your-product?promo=WELCOME10
https://payrequest.me/yourhandle?product=123&promo=WELCOME10
```

Use `&promo=` if the URL already has a query parameter. When a valid code is applied, the price breakdown shows the original product price, the discount and the new total. The customer can remove the code before paying.

## Where codes work

Discount codes are available on eligible one-time digital product checkouts on the Payment Page. Each checkout accepts one code. Subscriptions, existing invoice payments and the shop cart use their regular pricing.

See [Payment Page Dynamic Links](https://docs.payreque.st/payment-processing/payment-page-dynamic-links.md) for other parameters you can use with a product link.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.