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/merchant-accounts/{merchantAccountId}/state

GET/v1/merchant-accounts/{merchantAccountId}/state
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
merchantAccountIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
Responses
200

Success

dataobjectrequired
Show properties
merchantAccountIdstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
merchantStatusstringrequired
Allowed:draftpending_reviewactiverestrictedrejecteddisabled
onboardingSessionIdstring | null
Show properties
Any of:
string
string
null
null
onboardingStatusstring | null
Show properties
Any of:
string
string
null
null
openRequirementIdsstring[]required
activeCapabilityKeysstring[]required
restrictedCapabilityKeysstring[]required
canAcceptPaymentsbooleanrequired
payoutReadinessstringrequired
Allowed:readypausedblockedunknown
payoutBlockReasonstring | null
Show properties
Any of:
string
string
null
null
defaultPayoutAccountIdstring | null
Show properties
Any of:
string
string
null
null
defaultPaymentMethodIdstring | null
Show properties
Any of:
string
string
null
null
latestSettlementStatusstring | null
Show properties
Any of:
string
string
null
null
latestPayoutStatusstring | null
Show properties
Any of:
string
string
null
null
capabilitySnapshotsobject[]required
Show properties
Array of object
idstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
merchantAccountIdstringrequired
min length 1
capabilityKeystringrequired
min length 1
statusstringrequired
Allowed:activerestricteddisabled
restrictedReasonstring | null
Show properties
Any of:
string
string
null
null
effectiveAtstringrequired
min length 1
expiresAtstring | null
Show properties
Any of:
string
string
null
null
updatedByTypestringrequired
Allowed:systemoperatormerchant
updatedByRefstring | null
Show properties
Any of:
string
string
null
null
generatedAtstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/merchant-accounts/{merchantAccountId}/state?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "merchantAccountId": "string",
    "environment": "sandbox",
    "merchantStatus": "draft",
    "onboardingSessionId": "string",
    "onboardingStatus": "draft",
    "openRequirementIds": [
      "string"
    ],
    "activeCapabilityKeys": [
      "string"
    ],
    "restrictedCapabilityKeys": [
      "string"
    ],
    "canAcceptPayments": true,
    "payoutReadiness": "ready",
    "payoutBlockReason": "string",
    "defaultPayoutAccountId": "string",
    "defaultPaymentMethodId": "string",
    "latestSettlementStatus": "string",
    "latestPayoutStatus": "string",
    "capabilitySnapshots": [
      {
        "id": "string",
        "environment": "sandbox",
        "merchantAccountId": "string",
        "capabilityKey": "string",
        "status": "active",
        "restrictedReason": "string",
        "effectiveAt": "string",
        "expiresAt": "string",
        "updatedByType": "system",
        "updatedByRef": "string"
      }
    ],
    "generatedAt": "string"
  },
  "requestId": "string"
}