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}/invoices

GET/v1/customers/{customerId}/invoices
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
invoiceIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
statusstringrequired
Allowed:draftopenpaidpartially_paidpast_duevoiduncollectible
currencystringrequired
min length 1
subtotalnumberrequired
discountTotalnumberrequired
taxTotalnumberrequired
totalnumberrequired
amountPaidnumberrequired
amountRemainingnumberrequired
metadataobjectrequired
subscriptionIdstring | null
Show properties
Any of:
string
string
null
null
creditNoteTotalnumber | null
Show properties
Any of:
number
number
null
null
customerBalanceAppliedTotalnumber | null
Show properties
Any of:
number
number
null
null
periodStartAtstring | null
Show properties
Any of:
string
string
null
null
periodEndAtstring | null
Show properties
Any of:
string
string
null
null
issuedAtstring | null
Show properties
Any of:
string
string
null
null
dueAtstring | null
Show properties
Any of:
string
string
null
null
finalizedAtstring | null
Show properties
Any of:
string
string
null
null
voidedAtstring | null
Show properties
Any of:
string
string
null
null
createdAtstring | null
Show properties
Any of:
string
string
null
null
updatedAtstring | 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/invoices?environment=...&merchantAccountId=...&limit=...&cursor=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "invoiceId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "status": "draft",
        "currency": "string",
        "subtotal": 0,
        "discountTotal": 0,
        "taxTotal": 0,
        "total": 0,
        "amountPaid": 0,
        "amountRemaining": 0,
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "subscriptionId": "string",
        "creditNoteTotal": 0,
        "customerBalanceAppliedTotal": 0,
        "periodStartAt": "string",
        "periodEndAt": "string",
        "issuedAt": "string",
        "dueAt": "string",
        "finalizedAt": "string",
        "voidedAt": "string",
        "createdAt": "string",
        "updatedAt": "string"
      }
    ],
    "hasMore": true,
    "nextCursor": "string"
  },
  "requestId": "string"
}