What customers can do
Invoices & receipts
View and download tax-correct invoices for every order
Subscriptions
Upgrade, downgrade, switch plans, or cancel
Benefits
Retrieve license keys, file downloads, and other entitlements
Usage charges
Inspect metered and usage-based line items before they bill
Before you start
- A Macropay account with an organization
- An organization access token for API calls
- At least one customer who has placed an order or holds a subscription
Work through this guide in the Sandbox first. You can spin up test customers and subscriptions without moving real money.
The fastest path: hosted portal
If you don’t want to write any code yet, you don’t have to. Macropay hosts a portal at a public URL for your organization:Authenticated access with session links
To send a signed-in customer straight into their portal, mint a customer session on your backend and redirect them to the returned URL. The token is short-lived and scoped to a single customer, so it’s safe to generate on demand.Redirect from a route
A “Manage billing” button is just a backend route that creates a session and 302s the customer over. Here it is as a Next.js route handler:Embedding the portal in your app
Prefer to keep customers inside your own product? Render the portal in an iframe. A small client component fetches the session URL from your API and drops it in:Match it to your brand
The portal should feel like your product, not ours. Configure its look in the dashboard:1
Open branding settings
Go to Settings → Branding.
2
Upload your logo
Add a logo for the portal header and emails.
3
Set your colors
Choose a primary brand color and accent colors.
A note on what customers never see
The portal exposes billing history and benefits — never raw card data. Payment details are tokenized in our PCI DSS Level 1 compliant vault, so the portal renders only a safe reference (brand and last four) and card entry happens on our hardened surface. Combined with merchant-of-record coverage, that keeps both PCI scope and tax liability off your plate.Where to go next
Customer management
How customer records and states work
Customer state API
Read a customer’s entitlements straight from your backend
Benefits
Set up license keys, downloads, and other perks
Subscription changes
Drive upgrades and downgrades from your own UI