Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

POST /v1/entitlements/revoke

POST/v1/entitlements/revoke
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Header parameters
Idempotency-Keystring

Required for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.

min length 1
Request body
requiredapplication/json
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
entitlementKeystringrequired
min length 1
sourcestringrequired
Allowed:subscriptionoperatorpromotion
sourceRefstringrequired
min length 1
reasonstring | null
Show properties
Any of:
string
string
null
null
Responses
200

Success

dataobjectrequired
Show properties
entitlementIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
entitlementKeystringrequired
min length 1
statusstringrequired
Allowed:activerevoked
sourcestringrequired
Allowed:subscriptionoperatorpromotion
sourceRefstringrequired
min length 1
grantedAtstringrequired
min length 1
metadataobjectrequired
revokedAtstring | null
Show properties
Any of:
string
string
null
null
reasonstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/entitlements/revoke?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "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"
}

Was this page helpful?