Skip to main content
The customer portal is an Easner-hosted page, branded with your logo and accent colour, where a paying customer can see their subscriptions and payments, download receipts, update billing details and saved payment methods, and cancel or resume a subscription. You do not build any of it. Your server asks for a link and redirects the customer to it.
Scope: checkoutThe portal must be turned on in Settings → Payments. If it is off, the call returns 409 portal_disabled. Which actions customers may take (cancel, switch plans, update payment methods, see payments) are also set there.

Create a portal session

POST /v1/customer_portal/sessions returns a signed link that is valid for one hour. Each call makes a new link. The route does not use Idempotency-Key, so do not send one.
Redirect the customer to url straight away. Do not store it or email it: it is a credential that expires in one hour. The customer must already exist: a customer is created when someone pays you through Checkout or a payment link in the same mode. An unknown customer is 404 customer_not_found. A return_url on a website you have not listed is 400 return_url_not_allowed on live keys (test keys allow any https origin and loopback without listing), and a malformed one is 400 invalid_return_url.

What the customer can do

The link opens a read-only session. To change anything (cancel, resume, change plan, update a payment method or billing details) the portal asks the customer for a fresh six-digit code sent to their email. That keeps a leaked link from being used to change an account. Receipts download as PDFs. On a per-seat subscription, the customer can also change the number of seats. The sheet shows the charge, or the credit for removed seats, before they confirm, and asks for the same six-digit code. You allow this in Settings, Payments tab, Customer portal, with Change seats. A subscription that started without a card shows Add a card. Adding one during the trial means the first payment is taken when the trial ends. Adding one after a trial ended (the subscription is paused) resumes it and takes the first payment right then. See Start a trial without a card. Portal links created from the API are not the same as the “Manage your payments” links Easner emails to customers.

Test and live

A test key opens test customers. A live key opens live customers. The same email can be a customer in both modes. Test portal pages show test payments only.

Errors

Full list: Errors.

Refunds

Refund a payment from your server.
Last modified on November 17, 2026