Skip to main content
Question

Customer Portal link in app

  • November 19, 2024
  • 1 reply
  • 345 views

Forum|alt.badge.img+3

Is there a way to generate the same Customer Portal link (the one outlined here https://www.revenuecat.com/docs/web/revenuecat-billing/customer-portal) for a user that is sent to them in their invoice? 

This post has been closed for comments

1 reply

antonio
RevenueCat Staff
Forum|alt.badge.img+4
  • RevenueCat Staff
  • November 19, 2024

Hi ​@mooselliot,

You can get the management URL of a RevenueCat Billing subscription by:

  • Fetching the subscription using our API V2 (`management_url` field)
  • Fetching the customer info using our API V1 (`management_url` field).

V1 might return a different URL if the user has multiple active subscriptions in different platforms, as the property is at the customer level. API V2 would always return the correct one since it’s per subscription.

 

I hope this answers your question.