Overview
Flowglad makes it simple to fetch pricing models and products to present to your customers. If you’re building in React or Next.js, use theuseBilling hook to access pricing data client-side; on the server, call flowglad(customerExternalId).getBilling() or flowglad(customerExternalId).getPricingModel() to retrieve the same pricing model data. Pass YOUR app’s user/organization ID as customerExternalId, not Flowglad’s customer ID.
Refer to the pricing model response object for the data fields returned.