---
search:
  tags:
    - merchantOnboarding
    - POST
seo:
  description: >-
    Reference for the POST
    /v1/merchant-accounts/{merchantAccountId}/onboarding-link endpoint in the
    Vortex Payments API.
sidebar:
  label: POST /v1/merchant-accounts/{merchantAccountId}/onboarding-link
  badge: POST
title: POST /v1/merchant-accounts/{merchantAccountId}/onboarding-link
type: openapi-operation
---
`POST /v1/merchant-accounts/{merchantAccountId}/onboarding-link`

**curl**

```bash
curl "https://api.vortex.nyc/v1/merchant-accounts/{merchantAccountId}/onboarding-link?environment=sandbox&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"environment":"sandbox","createdByRef":"seal:org_1"}'
```

**TypeScript**

```ts
import { createMerchantOnboardingLink, createVortex } from "@vortex-api/vortex/2026-09";

const vortex = createVortex({ apiKey: process.env.VORTEX_API_KEY });
const { data } = await createMerchantOnboardingLink({
  client: vortex,
  path: { merchantAccountId: "..." },
  query: { environment: "sandbox", merchantAccountId: "..." },
  body: {"environment":"sandbox","createdByRef":"seal:org_1"},
});
```

**Request body** (`application/json`, required)

- `environment` (string | null)
- `tenantId` (string | null)

Request body example:

```json
{
  "environment": "sandbox",
  "tenantId": "string"
}
```

**Responses**

- `201` — Success

Response example, 201:

```json
{
  "data": {
    "merchantAccountId": "string",
    "onboardingSessionId": "string",
    "status": "draft",
    "reused": true,
    "createdAt": "string",
    "updatedAt": "string"
  },
  "requestId": "string"
}
```
