Skip to main content

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? 

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.