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

GET/v1/customers/{customerId}/billing-accounts
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
limitstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
cursorstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
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
hasMorebooleanrequired
nextCursorstring | 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}/billing-accounts?environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "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"
      }
    ],
    "hasMore": true,
    "nextCursor": "string"
  },
  "requestId": "string"
}

Was this page helpful?