---
search:
  tags:
    - customers
    - GET
seo:
  description: >-
    Reference for the GET /v1/customers/{customerId}/access endpoint in the
    Vortex Payments API.
sidebar:
  label: GET /v1/customers/{customerId}/access
  badge: GET
title: GET /v1/customers/{customerId}/access
type: openapi-operation
---
`GET /v1/customers/{customerId}/access`

**curl**

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

**TypeScript**

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

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

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "access": {
      "billingAccountId": "string",
      "key": "string",
      "allowed": true,
      "state": "ready",
      "billingStatus": "inactive",
      "reasonCodes": [
        "string"
      ],
      "activeGrants": [
        {
          "entitlementId": "string",
          "customerId": "string",
          "billingAccountId": "string",
          "entitlementKey": "string",
          "status": "active",
          "source": "subscription",
          "sourceRef": "string",
          "grantedAt": "string",
          "metadata": {
            "property1": "string",
            "property2": "string"
          },
          "revokedAt": "string",
          "reason": "string"
        }
      ],
      "customerExternalId": "string"
    },
    "entitlements": {
      "customerId": "string",
      "activeKeys": [
        "string"
      ],
      "active": [
        {
          "entitlementId": "string",
          "customerId": "string",
          "billingAccountId": "string",
          "entitlementKey": "string",
          "status": "active",
          "source": "subscription",
          "sourceRef": "string",
          "grantedAt": "string",
          "metadata": {
            "property1": "string",
            "property2": "string"
          },
          "revokedAt": "string",
          "reason": "string"
        }
      ],
      "revoked": [
        {
          "entitlementId": "string",
          "customerId": "string",
          "billingAccountId": "string",
          "entitlementKey": "string",
          "status": "active",
          "source": "subscription",
          "sourceRef": "string",
          "grantedAt": "string",
          "metadata": {
            "property1": "string",
            "property2": "string"
          },
          "revokedAt": "string",
          "reason": "string"
        }
      ],
      "billingAccountId": "string"
    }
  },
  "requestId": "string"
}
```
