Let customers decide what to pay
Accept tips and donations, or sell pay-what-you-want products and services.
You can use this feature to collect a tip for a service provided, accept donations for a cause, or give your customers the option to pay what they want for your product or service. Go to Stripe Support to learn more about Stripe’s requirements for accepting tips or donations.
Pay-what-you-want payments have the following limitations:
- You can’t add any other line items and the quantity can only be 1.
- You can’t use promotion codes or discounts with them.
- They don’t support recurring payments or optional items.

Set up your product catalog
Stripe Checkout uses Products and Prices to structure pay-what-you-want payments. In the following example, a nonprofit is selling tickets to a fundraising dinner and wants to allow their customers to pay what they want for their tickets.
To create a pay-what-you-want model on Stripe through the Dashboard, complete these steps:
Create the
Fundraising dinnerproduct.- Go to More > Product catalog.
- Click +Add product.
- Enter the Name of the product (
Fundraising dinner). - (Optional) Add a Description. The customer sees the description at checkout.
Create the price for the
Fundraising dinnerproduct:- Click More pricing options at the bottom.
- Select One-off.
- Select Customer chooses price in the Choose your pricing model dropdown.
- (Optional) Add a suggested price.
- (Optional) Specify limits that the customer can input.
- Click Next and Add product.
Create a Checkout Session
To enable customers to change the amount on the payment page, use the price ID when you create a Checkout Session. If you select Customer chooses price as your pricing model, you can’t add any other line items and the quantity can only be 1.
curl https://api.stripe.com/v1/checkout/sessions \ -u ":" \ -d "line_items[0][price]=sk_test_Hrs6SAopgFPF0bZXSN3f6ELN" \ -d "line_items[0][quantity]=1" \ -d mode=payment \ --data-urlencode "success_url=https://example.com/success"{{PRICE_ID}}