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/billing-accounts/{billingAccountId}

GET/v1/billing-accounts/{billingAccountId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
billingAccountIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
billingAccountIdstringrequired
min length 1
customerIdstringrequired
min length 1
merchantAccountIdstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
invoiceDeliveryModestringrequired
Allowed:emailmanualapi_only
collectionModestringrequired
Allowed:manualautomatic
autoCollectionEnabledbooleanrequired
metadataobjectrequired
createdAtstringrequired
min length 1
customerProfileIdstring | null
Show properties
Any of:
string
string
null
null
defaultPaymentMethodIdstring | null
Show properties
Any of:
string
string
null
null
renewalTimingstring | null
Show properties
Any of:
string
string
null
null
netTermsDaysnumber | null
Show properties
Any of:
number
number
null
null
dunningCampaignIdstring | null
Show properties
Any of:
string
string
null
null
archivedAtstring | 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/billing-accounts/{billingAccountId}?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "billingAccountId": "string",
    "customerId": "string",
    "merchantAccountId": "string",
    "environment": "sandbox",
    "invoiceDeliveryMode": "email",
    "collectionMode": "manual",
    "autoCollectionEnabled": true,
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "createdAt": "string",
    "customerProfileId": "string",
    "defaultPaymentMethodId": "string",
    "renewalTiming": "advance",
    "netTermsDays": 0,
    "dunningCampaignId": "string",
    "archivedAt": "string"
  },
  "requestId": "string"
}