> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useagentbank.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get current portal user

> Read the merchant identity associated with a portal JWT.

```text theme={null}
GET /v1/merchant/me
```

**Authentication:** `Authorization: Bearer <portal_jwt>`.

## Request

This endpoint has no parameters or request body.

```bash theme={null}
curl -sS "$AGENTBANK_BASE_URL/v1/merchant/me" \
  -H "Authorization: Bearer $PORTAL_JWT"
```

## Response

```json theme={null}
{
  "merchant_partner_id": "mp_...",
  "merchant_portal_user_id": "mpu_...",
  "username": "example_merchant"
}
```

Use this to confirm that a cached portal token belongs to the intended merchant
before showing read-only history or webhook configuration.
