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/license-keys/{licenseKeyId}/lifecycle

POST/v1/license-keys/{licenseKeyId}/lifecycle
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
licenseKeyIdstringrequired
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
actionstringrequired
Allowed:enabledisablerotatedecrement_uses
Responses
200

Success

dataobjectrequired
Show properties
idstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
merchantAccountIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
productRefstring | null
Show properties
Any of:
string
string
null
null
serialstringrequired
min length 1
seatLimitnumber | null
Show properties
Any of:
number
number
null
null
usesCountnumberrequired
statusstringrequired
Allowed:activedisabled
disabledAtstring | null
Show properties
Any of:
string
string
null
null
sourceRefstring | null
Show properties
Any of:
string
string
null
null
metadataobjectrequired
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/license-keys/:licenseKeyId/lifecycle" \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "id": "string",
    "environment": "sandbox",
    "merchantAccountId": "string",
    "customerId": "string",
    "billingAccountId": "string",
    "productRef": "string",
    "serial": "string",
    "seatLimit": 0,
    "usesCount": 0,
    "status": "active",
    "disabledAt": "string",
    "sourceRef": "string",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "updatedAt": "string"
  },
  "requestId": "string"
}

Was this page helpful?