Portal Sections
The Customer Portal has three main sections:| Section | What Customers See |
|---|---|
| Plan Overview | Current subscription, pricing tiers, next charge date, cancel option |
| Invoices | Invoice history with status, amounts, and PDF downloads |
| Billing Information | Company details, payment methods, auto-pay settings |
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 to embed in your application. Endpoint:POST /portal/customer-session/customer-portal
Request:
| Property | Type | Required | Description |
|---|---|---|---|
accountId | string | If no alias | The Alguna account ID |
accountAlias | string | If no ID | External ID (e.g., your Salesforce ID or internal customer ID) |
planOverviewSettings | object | Optional | Configure the Plan Overview section |
invoiceListSettings | object | Optional | Configure the Invoices section |
billingDetailsSettings | object | Optional | Configure the Billing Information section |
sessionUrl to access their portal.
Configuring Portal Sections
Plan Overview Settings
Control what customers see in the Plan Overview section:| Property | Default | Description |
|---|---|---|
showSection | true | Show or hide the entire Plan Overview section |
allowSubscriptionCancel | true | Allow customers to cancel their subscription |
- Subscription name and status
- Estimated next charge amount
- Next charge date
- Pricing breakdown by product (tiers, quantities, fees)
Invoice List Settings
| Property | Default | Description |
|---|---|---|
showSection | true | Show or hide the Invoices section |
- Issue date and due date
- Invoice amount
- Status (Paid, Issued, Overdue)
- Invoice ID
- Open Invoice and Download PDF actions
Billing Details Settings
| Property | Default | Description |
|---|---|---|
showSection | true | Show or hide the Billing Information section |
- Company billing details
- Payment methods
- Auto-pay 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 at:billing.yourcompany.com) for a seamless customer experience. See Custom Domains for setup instructions.
Security
Portal sessions are:- Time-limited (expire after configured duration)
- Tied to a specific customer account
- Accessible via secure, single-use tokens
- No password required
Best Practices
Brand Consistently
Match portal branding to your main application.
Control Cancellation
Use
allowSubscriptionCancel: false for enterprise customers who should contact sales.Hide Sections as Needed
Use
showSection: false to simplify the portal for specific customers.Use Account Alias
Pass your internal customer ID as
accountAlias to avoid storing Alguna IDs.