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

**curl**

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

**TypeScript**

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

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

**Responses**

- `200` — Success

Response example, 200:

```json
{
  "data": {
    "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",
    "check": {
      "entitlementKey": "string",
      "hasEntitlement": true
    }
  },
  "requestId": "string"
}
```
