# PAN-only investor journey

A PAN-only link names only the investor's PAN. Use it for an investor who already completed KYC with a fund under your parent business. The investor signs in and sees the portal. A PAN-only link does not start onboarding.

To send a new investor to a scheme, use a full link. See [Send an investor to the Investor Portal](/capital-markets/investor-portal/set-up).

## Before you start

- The Investor Portal is enabled for your AMC. Contact Glomo support to set it up.
- You have the API key of the **parent business**, not of a fund's business. See [Get started](/get-started).


## 1. Create the link on your server

Send only `pan`:

```curl
curl -X POST 'https://api.glomopay.com/api/v1/investor-journey' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "pan": "ABCPD1234E"
  }'
```

| Field  | Required  | Notes  |
|  --- | --- | --- |
| `pan` | Yes | The investor's PAN. The fourth letter must be `P`. Surrounding spaces are removed. |


The response:

```json
{
  "url": "https://investors.example-amc.com#payload=..."
}
```

## 2. Send the investor to the link

Redirect the investor to the `url`, or send it to them. Pass it on unchanged: the investor's details travel encrypted in the part after `#`.

The link is for the one investor you named. Create a new link for each investor.

## 3. The investor opens the link

- **An investor with completed KYC in any fund under your parent business** signs in with a one-time password (OTP) sent to the email on record, and lands in the portal. When the PAN is in more than one fund, the portal uses the most recent record.
- **Any other PAN** sees "Investor not found". To onboard a new investor, send a full link.


See [What the investor sees](/capital-markets/investor-portal#what-the-investor-sees).

## Errors

| Status  | Message  | What to do  |
|  --- | --- | --- |
| 400 | `Validation failed: Pan can't be blank` | Send `pan`. Every link needs it. |
| 400 | `Validation failed: Pan is not a valid PAN number` | Send a valid individual PAN. |
| 400 | `Validation failed: Email can't be blank` | You sent `scheme_no`. Remove it for a PAN-only link, or add `email` for a full link. |
| 400 | `Investor portal is not configured for this merchant` | The Investor Portal is not set up for your AMC. Contact Glomo support. |
| 401 | `Access restricted to platform businesses only` | You used a fund's API keys. Use the parent business's API keys. |
| 401 | `Missing token` | Send your JWT in the `Authorization` header. |


## Next

- [Create investor journey](/api-reference/openapi/investor_journey/createinvestorjourney) (API reference)
- [Send an investor to the Investor Portal](/capital-markets/investor-portal/set-up)
- [Investor Portal](/capital-markets/investor-portal)