---
search:
  tags:
    - entitlements
    - POST
seo:
  description: >-
    Reference for the POST /v1/entitlements/revoke endpoint in the Vortex
    Payments API.
sidebar:
  label: POST /v1/entitlements/revoke
  badge: POST
title: POST /v1/entitlements/revoke
type: openapi-operation
---
`POST /v1/entitlements/revoke`

**curl**

```bash
curl "https://api.vortex.nyc/v1/entitlements/revoke?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
```

**TypeScript**

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

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

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

- `environment` (string | null)
- `merchantAccountId` (string | null)
- `customerId` (string, required)
- `billingAccountId` (string, required)
- `entitlementKey` (string, required)
- `source` (string, required)
- `sourceRef` (string, required)
- `reason` (string | null)

Request body example:

```json
{
  "environment": "sandbox",
  "merchantAccountId": "string",
  "customerId": "string",
  "billingAccountId": "string",
  "entitlementKey": "string",
  "source": "subscription",
  "sourceRef": "string",
  "reason": "string"
}
```

**Responses**

- `200` — Success

Response example, 200:

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