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}}.
/v1/portalAuthorizationBearer token · headerrequiredPublic API key bearer token.
environmentstringMerchant environment — key-bound keys resolve it from the credential; unbound callers default to sandbox.
sandboxproductionmerchantAccountIdstringMerchant account inside the resolved organization. Required when the org owns more than one merchant in this environment.
organizationIdstringOrganization override — session/JWT callers may name any member org (membership re-checked per request); API keys are bound to a single org.
exportstringLedger 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.
paymentsinvoicessettlementscustomerssubscriptionspaymentLinkstaxTransactionsmorestringContinuation 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.
meterUsagestringPer-meter usage rows for one customer drawer ({ items }).
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.
Success
dataMerchantPortalView | MerchantPortalPageLeg | MerchantPortalMeterUsageLeg | PortalMerchantSwitcherrequiredShow propertiesHide properties
organizationNamestringrequiredmerchantAccountIdstringrequiredlinkExpiresAtstring<date-time>accountMerchantPortalAccountSafe subset of the merchant's own account snapshot — business identity, masked settlement destination, status/capabilities.
Show propertiesHide properties
displayNamestringrequireddoingBusinessAsstringlegalEntityTypestringrequiredcountrystringrequiredmerchantModestringrequiredprocessingpayout_onlyhybriddefaultCurrencystringrequiredstatusstringrequiredcapabilityStatusstringrequiredemailstringbusinessPhonestringurlstringmccstringbusinessTaxIdMaskedstringacceptsAchbooleanrequiredmaxTransactionAmountnumberachMaxTransactionAmountnumbersettlementAccountMerchantPortalSettlementDestinationrequiredShow propertiesHide properties
presentbooleanrequiredaccountTypestringbankCodestringaccountNumberMaskedstringnamestringbillingEntityMerchantPortalBillingEntityThe org legal entity that bills for this merchant account — masked tax IDs and settlement destination only.
Show propertiesHide properties
idstringrequiredlegalNamestringrequireddoingBusinessAsstringlegalEntityTypestringrequiredcountrystringrequireddefaultCurrencystringrequiredtaxIdentityobjectrequiredShow propertiesHide properties
businessTaxIdMaskedstringpersonalTaxIdMaskedstringsettlementAccountMerchantPortalSettlementDestinationrequiredbusinessAddressMerchantPortalBillingEntityAddressShow propertiesHide properties
line1stringrequiredline2stringcitystringrequiredregionstringpostalCodestringrequiredcountrystringrequiredincorporationDateMerchantPortalBillingEntityProfileDateShow propertiesHide properties
daynumberrequiredmonthnumberrequiredyearnumberrequiredprincipalPercentageOwnershipnumberhasAcceptedCreditCardsPreviouslybooleanannualCardVolumeinteger<int64>identityVerificationStatusstringcreatedAtstring<date-time>requiredupdatedAtstring<date-time>requiredpageInfoobjectContinuation token per paginated leg — present only when that leg has another page; feed it back via ?more=<leg>:<token>.
itemsobject[]requirednextTokenstringitemsobject[]requiredShow propertiesHide properties
objectmeterIdstringrequirednamestringrequiredaggregationTypestringrequiredwindowGrainstringrequiredaggregatedQuantitynumberrequiredmerchantsPortalMerchantOption[]requiredShow propertiesHide properties
PortalMerchantOptionmerchantAccountIdstringrequiredenvironmentstringrequiredsandboxproductionstatusstringrequireddisplayNamestringBad request, including malformed JSON
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectMissing or invalid API key
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectAuthenticated key cannot access this resource or environment
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectRoute or scoped resource was not found
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectConflict, including idempotency body drift
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectValidation failed
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectAPI key rate limit exceeded
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobjectError
errorobjectrequiredShow propertiesHide properties
codestringrequiredbad_requestunauthorizedforbiddennot_foundconflictrate_limitedvalidation_failurenot_implementedinternal_errormessagestringrequiredtypestringapi_errorauthentication_errorcard_erroridempotency_errorinvalid_request_errorpermission_errorrate_limit_errorparamstringThe request field that failed validation (dot path), when the error is field-attributable.
requestIdstringdocsUrlstringDeep link to the errors guide section for this code.
detailsobject