Skip to main content
Question

Creating customers for Web Purchase Links

  • September 1, 2025
  • 1 reply
  • 29 views

Forum|alt.badge.img

Hi,

I have a mobile app using the RevenueCat SDK for in-app payments. We recently developed a WebApp where users will be able to sign up and purchase a subscription directly from the web using Web Purchase Links.

I’d like to clarify one point: to avoid using Redemption Links, I understand that I need to provide an app_user_id. What’s the best way to create a new RevenueCat customer with an app_user_id directly from my WebApp? Is there an API endpoint or recommended approach for this flow?

Thanks for your support!

This post has been closed for comments

1 reply

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • September 5, 2025

Hi ​@marco-1cc1d9! We have tips on setting app user IDs which you can find here: https://www.revenuecat.com/docs/customers/identifying-customers#tips-for-setting-custom-app-user-ids

If you’re using an authentication service (like Auth0, Firebase, Supabase, etc) they can create IDs for you. Then, you simply have to identify the user to the SDK (if using RC Web) or app the app_user_id property to the POST receipt endpoint (if using Stripe) for us to associate the purchase with the user.

You can also always call the V1 GET customers endpoint from your server, as this will create a customer with the provided app user ID if one doesn’t already exist.

Let me know if you have additional questions!