Overview
The Customer Portal enables self-service management of subscriptions, payment methods, and billing information. Customers access the portal through secure, time-limited magic links generated either via API or email verification.Features
Subscription Management
Customers can view subscription details (product, pricing, renewal dates, payment method) and perform updates or cancellations as needed.Payment Methods
Customers can:- Set default payment methods
- Update billing addresses
- Remove non-default payment methods, or default payment method when no active subscriptions exist
Billing Information
Customers can update invoice-related billing details separate from payment method information.Invoice History
Customers can download PDF copies of subscription-generated invoices from the Billing History section.Access Options
Email Verification
- Obtain your unique portal link from Settings → Merchant → Customer Portal
- Configure portal settings and save
- Share the link ending with cpc_xxxxx with customers
- Customers enter their registered email to receive a magic link
API Integration
Generate magic links programmatically:Sample Code
Sample Code
Always test your code thoroughly before deploying to production!