How It Works
- Your backend requests a widget token from Fluxrate using an API key
- You embed the widget in your frontend using the token
- The widget securely displays the customer’s billing data
Generating a Widget Token
From your backend (server-side only), generate a token for a specific customer:Embedding in Your Frontend
Pass the token to your frontend and embed the portal:Public Invoice Links
Individual invoices can also be shared via a public URL (no login required):public_token. Share this URL with the customer:
Widget tokens are short-lived (1 hour). Generate a fresh token on each page load in your frontend.