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

GET /v1/customers/{customerId}/access

GET/v1/customers/{customerId}/access
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
customerIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
keystring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
accessobjectrequired
Show properties
billingAccountIdstring | nullrequired
Show properties
Any of:
string
string
null
null
keystringrequired
min length 1
allowedbooleanrequired
statestringrequired
Allowed:readyaction_requiredblockedunknown
billingStatusstringrequired
Allowed:inactivecurrentopenpast_due
reasonCodesstring[]required
activeGrantsobject[]required
Show properties
Array of object
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
customerExternalIdstring | null
Show properties
Any of:
string
string
null
null
entitlementsobjectrequired
Show properties
customerIdstringrequired
min length 1
activeKeysstring[]required
activeobject[]required
Show properties
Array of object
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
revokedobject[]required
Show properties
Array of object
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
billingAccountIdstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/customers/{customerId}/access?key=...&environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "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"
}