# Create a portal session for a Lite merchant.

> A single-use link into the merchant's portal, signed in on this one connection: open it in a new tab, or in an iframe on an origin you declared in Settings › Sync › Platform (`frame-ancestors`). It works once, before `expires_at` (5 minutes); the session it opens is short and read-only: the merchant changes their payout account after signing in with their own e-mail code. Only `lite` accounts have a portal.

`POST https://api.wajub.com/accounts/{id}/portal_sessions`

## Path parameters

- `id` (string, required): The subaccount `id`.

## Responses

- `201`: Created
- `400`: Not a Lite account
- `404`: Not Found
- `409`: Connection not active

## Example response (201)

```json
{
  "code": 201,
  "status": "Created",
  "message": "Portal session created",
  "portal_session": {
    "url": "https://acme.wajub.app/enter?session=…",
    "expires_at": "2026-11-19T10:05:00+00:00"
  }
}
```
