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

**curl**

```bash
curl "https://api.vortex.nyc/v1/merchant-accounts/{merchantAccountId}/state?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
```

**TypeScript**

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

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

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "merchantAccountId": "string",
    "environment": "sandbox",
    "merchantStatus": "draft",
    "onboardingSessionId": "string",
    "onboardingStatus": "draft",
    "openRequirementIds": [
      "string"
    ],
    "activeCapabilityKeys": [
      "string"
    ],
    "restrictedCapabilityKeys": [
      "string"
    ],
    "canAcceptPayments": true,
    "payoutReadiness": "ready",
    "payoutBlockReason": "string",
    "defaultPayoutAccountId": "string",
    "defaultPaymentMethodId": "string",
    "latestSettlementStatus": "string",
    "latestPayoutStatus": "string",
    "capabilitySnapshots": [
      {
        "id": "string",
        "environment": "sandbox",
        "merchantAccountId": "string",
        "capabilityKey": "string",
        "status": "active",
        "restrictedReason": "string",
        "effectiveAt": "string",
        "expiresAt": "string",
        "updatedByType": "system",
        "updatedByRef": "string"
      }
    ],
    "generatedAt": "string"
  },
  "requestId": "string"
}
```
