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/invoices/{invoiceId}/collection

GET/v1/invoices/{invoiceId}/collection
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
invoiceIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
attemptsobject[]required
Show properties
Array of object
attemptIdstringrequired
min length 1
invoiceIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
statusstringrequired
Allowed:pendingrequires_actionsucceededfailedcanceledrefunded
requestedAmountnumberrequired
collectedAmountnumberrequired
metadataobjectrequired
createdAtstringrequired
min length 1
paymentIntentIdstring | null
Show properties
Any of:
string
string
null
null
paymentIdstring | null
Show properties
Any of:
string
string
null
null
failureReasonstring | null
Show properties
Any of:
string
string
null
null
resolvedAtstring | null
Show properties
Any of:
string
string
null
null
allocationsobject[]required
Show properties
Array of object
allocationIdstringrequired
min length 1
invoiceIdstringrequired
min length 1
paymentIdstringrequired
min length 1
amountnumberrequired
allocatedAtstringrequired
min length 1
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/invoices/:invoiceId/collection?environment=...&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "attempts": [
      {
        "attemptId": "string",
        "invoiceId": "string",
        "billingAccountId": "string",
        "status": "pending",
        "requestedAmount": 0,
        "collectedAmount": 0,
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "createdAt": "string",
        "paymentIntentId": "string",
        "paymentId": "string",
        "failureReason": "string",
        "resolvedAt": "string"
      }
    ],
    "allocations": [
      {
        "allocationId": "string",
        "invoiceId": "string",
        "paymentId": "string",
        "amount": 0,
        "allocatedAt": "string"
      }
    ]
  },
  "requestId": "string"
}