Portal Sections
The Customer Portal has three main sections:Sending Portal Access
Via Dashboard
- Navigate to Customers → select customer
- Click Send Portal Link
- Customer receives email with secure link
- Link expires after configured time
Via API
Create a portal session programmatically and redirect the customer to the URL it returns. Endpoint:POST /customer-portal-sessions
Omit a settings object to use your organization’s defaults.
url. Sessions are single-use and short-lived, so create one at the moment the customer clicks through rather than storing the link.
Configuring Portal Sections
Each setting falls back to your organization’s default when omitted.Plan Overview Settings
The Plan Overview shows the subscription name and status, the estimated next charge and its date, and a pricing breakdown by product.
Invoice List Settings
The Invoices section lists issue and due dates, amounts, status, and actions to open an invoice or download its PDF.
Billing Details Settings
Branding
The portal displays your company branding:- Navigate to Settings → Branding
- Upload your logo
- Set primary colors
- The portal will use your branding automatically
Custom Domain
By default the portal is served from an Alguna-hosted URL, returned asurl on the session.
You can use your own domain (e.g., billing.yourcompany.com) for a seamless customer experience. See Custom Domains for setup instructions.
Security
Portal sessions are:- Short-lived: the session carries an
expires_at, after which the customer needs a new one - Tied to a specific customer
- Single-use per token
- Passwordless: possession of the link is the credential, so treat it as a secret and generate it on demand
Best Practices
Brand Consistently
Match portal branding to your main application.
Control Cancellation
Set
allow_subscription_cancel to false for enterprise customers who should talk to sales.Hide Sections as Needed
Set
show_section to false to simplify the portal for specific customers.Use a Customer Alias
Pass your own customer ID as
customer_alias so you don’t have to store Alguna IDs.API Reference
Create Portal Session
Generate portal links via API.
Webhooks
Track subscription and invoice events.
Next Steps
Hosted Checkout
Set up hosted checkout pages.
Custom Domains
Use your own domain for hosted pages.