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

Read the session merchant portal — the same composed view as the hosted /merchant-portal/:token door, authorized by the caller's organization. Bare GET returns the portal view; ?more=<leg>:<token> pages one list leg; ?export=<leg> streams CSV; ?meterUsage=<customerId> reads the drawer leg. Omitted merchantAccountId auto-selects a sole merchant; zero or many returns {data:{merchants}}.

GET/v1/portal
Authorization
AuthorizationBearer token · headerrequired

Public API key bearer token.

Query parameters
environmentstring

Merchant environment — key-bound keys resolve it from the credential; unbound callers default to sandbox.

Allowed:sandboxproduction
merchantAccountIdstring

Merchant account inside the resolved organization. Required when the org owns more than one merchant in this environment.

min length 1
organizationIdstring

Organization override — session/JWT callers may name any member org (membership re-checked per request); API keys are bound to a single org.

min length 1
exportstring

Ledger leg to stream as a text/csv attachment (vortex-<leg>-<environment>.csv). Export pages the leg to exhaustion; a cursor that cannot complete returns 409 rather than a truncated file.

Allowed:paymentsinvoicessettlementscustomerssubscriptionspaymentLinkstaxTransactions
morestring

Continuation page for one list leg, <leg>:<continuation-token> — the token comes from the view's pageInfo map or a prior page's nextToken. Returns { items, nextToken? } filtered by the same from/to bounds.

matches ^[^:]+:.+$
meterUsagestring

Per-meter usage rows for one customer drawer ({ items }).

min length 1
fromstring<date-time>

Inclusive ISO timestamp lower bound applied to each leg's timestamp field.

tostring<date-time>

Inclusive ISO timestamp upper bound applied to each leg's timestamp field.

Responses
200

Success

dataMerchantPortalView | MerchantPortalPageLeg | MerchantPortalMeterUsageLeg | PortalMerchantSwitcherrequired
Show properties
One of:
MerchantPortalView
organizationNamestringrequired
merchantAccountIdstringrequired
linkExpiresAtstring<date-time>
accountMerchantPortalAccount

Safe subset of the merchant's own account snapshot — business identity, masked settlement destination, status/capabilities.

Show properties
displayNamestringrequired
doingBusinessAsstring
legalEntityTypestringrequired
countrystringrequired
merchantModestringrequired
Allowed:processingpayout_onlyhybrid
defaultCurrencystringrequired
statusstringrequired
capabilityStatusstringrequired
emailstring
businessPhonestring
urlstring
mccstring
businessTaxIdMaskedstring
acceptsAchbooleanrequired
maxTransactionAmountnumber
achMaxTransactionAmountnumber
settlementAccountMerchantPortalSettlementDestinationrequired
Show properties
presentbooleanrequired
accountTypestring
bankCodestring
accountNumberMaskedstring
namestring
billingEntityMerchantPortalBillingEntity

The org legal entity that bills for this merchant account — masked tax IDs and settlement destination only.

Show properties
idstringrequired
legalNamestringrequired
doingBusinessAsstring
legalEntityTypestringrequired
countrystringrequired
defaultCurrencystringrequired
taxIdentityobjectrequired
Show properties
businessTaxIdMaskedstring
personalTaxIdMaskedstring
settlementAccountMerchantPortalSettlementDestinationrequired
businessAddressMerchantPortalBillingEntityAddress
Show properties
line1stringrequired
line2string
citystringrequired
regionstring
postalCodestringrequired
countrystringrequired
incorporationDateMerchantPortalBillingEntityProfileDate
Show properties
daynumberrequired
monthnumberrequired
yearnumberrequired
principalPercentageOwnershipnumber
hasAcceptedCreditCardsPreviouslyboolean
annualCardVolumeinteger<int64>
min 0
identityVerificationStatusstring
createdAtstring<date-time>required
updatedAtstring<date-time>required
pageInfoobject

Continuation token per paginated leg — present only when that leg has another page; feed it back via ?more=<leg>:<token>.

MerchantPortalPageLeg
itemsobject[]required
nextTokenstring
min length 1
MerchantPortalMeterUsageLeg
itemsobject[]required
Show properties
Array of object
meterIdstringrequired
namestringrequired
aggregationTypestringrequired
windowGrainstringrequired
aggregatedQuantitynumberrequired
PortalMerchantSwitcher
merchantsPortalMerchantOption[]required
Show properties
Array of PortalMerchantOption
merchantAccountIdstringrequired
environmentstringrequired
Allowed:sandboxproduction
statusstringrequired
displayNamestring
400

Bad request, including malformed JSON

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
401

Missing or invalid API key

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
403

Authenticated key cannot access this resource or environment

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
404

Route or scoped resource was not found

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
409

Conflict, including idempotency body drift

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
422

Validation failed

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
429

API key rate limit exceeded

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
default

Error

errorobjectrequired
Show properties
codestringrequired
Allowed:bad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_error
messagestringrequired
typestring
Allowed:api_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_error
paramstring

The request field that failed validation (dot path), when the error is field-attributable.

requestIdstring
docsUrlstring

Deep link to the errors guide section for this code.

detailsobject
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/portal?environment=sandbox" \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "organizationName": "string",
    "merchantAccountId": "string",
    "linkExpiresAt": "2019-08-24T14:15:22Z",
    "account": {
      "displayName": "string",
      "doingBusinessAs": "string",
      "legalEntityType": "string",
      "country": "string",
      "merchantMode": "processing",
      "defaultCurrency": "string",
      "status": "string",
      "capabilityStatus": "string",
      "email": "string",
      "businessPhone": "string",
      "url": "string",
      "mcc": "string",
      "businessTaxIdMasked": "string",
      "acceptsAch": true,
      "maxTransactionAmount": 0,
      "achMaxTransactionAmount": 0,
      "settlementAccount": {
        "present": true,
        "accountType": "string",
        "bankCode": "string",
        "accountNumberMasked": "string",
        "name": "string"
      }
    },
    "billingEntity": {
      "id": "string",
      "legalName": "string",
      "doingBusinessAs": "string",
      "legalEntityType": "string",
      "country": "string",
      "defaultCurrency": "string",
      "taxIdentity": {
        "businessTaxIdMasked": "string",
        "personalTaxIdMasked": "string"
      },
      "settlementAccount": {
        "present": true,
        "accountType": "string",
        "bankCode": "string",
        "accountNumberMasked": "string",
        "name": "string"
      },
      "businessAddress": {
        "line1": "string",
        "line2": "string",
        "city": "string",
        "region": "string",
        "postalCode": "string",
        "country": "string"
      },
      "incorporationDate": {
        "day": 0,
        "month": 0,
        "year": 0
      },
      "principalPercentageOwnership": 0,
      "hasAcceptedCreditCardsPreviously": true,
      "annualCardVolume": 0,
      "identityVerificationStatus": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    },
    "pageInfo": {
      "property1": "string",
      "property2": "string"
    }
  }
}