Skip to main content
The Customer Portal provides a self-service interface where your customers can view their subscription, invoices, and billing information. Reduce support burden while giving customers control over their accounts.

Portal Sections

The Customer Portal has three main sections:

Sending Portal Access

Via Dashboard

  1. Navigate to Customers → select customer
  2. Click Send Portal Link
  3. Customer receives email with secure link
  4. 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: Example Request:
Response:
Redirect your customer to the sessionUrl to access their portal.

Configuring Portal Sections

Plan Overview Settings

Control what customers see in the Plan Overview section: The Plan Overview shows:
  • Subscription name and status
  • Estimated next charge amount
  • Next charge date
  • Pricing breakdown by product (tiers, quantities, fees)

Invoice List Settings

The Invoices section displays:
  • Issue date and due date
  • Invoice amount
  • Status (Paid, Issued, Overdue)
  • Invoice ID
  • Open Invoice and Download PDF actions

Billing Details Settings

Customers can view and manage:
  • Company billing details
  • Payment methods
  • Auto-pay settings

Branding

The portal displays your company branding:
  1. Navigate to SettingsBranding
  2. Upload your logo
  3. Set primary colors
  4. The portal will use your branding automatically

Custom Domain

By default, the portal is served at:
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:
  • 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.

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.