Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

POST /v1/billing/collect-invoice-payment

POST/v1/billing/collect-invoice-payment
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Header parameters
Idempotency-Keystring

Required for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.

min length 1
Request body
requiredapplication/json
amountnumberrequired
billingAccountIdstringrequired
min length 1
currencystringrequired
min length 1
customerProfileIdstringrequired
min length 1
customerTaxAddressany | null
Show properties
Any of:
any
any
null
null
externalInvoiceRefany | null
Show properties
Any of:
any
any
null
null
metadataany | null
Show properties
Any of:
any
any
null
null
organizationIdany | null
Show properties
Any of:
any
any
null
null
platformFeeAmountany | null
Show properties
Any of:
any
any
null
null
taxBehaviorany | null
Show properties
Any of:
any
any
null
null
taxClassificationKeyany | null
Show properties
Any of:
any
any
null
null
taxableany | null
Show properties
Any of:
any
any
null
null
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
invoiceIdstringrequired
min length 1
paymentMethodIdstring | null
Show properties
Any of:
string
string
null
null
idempotencyKeystring | null
Show properties
Any of:
string
string
null
null
Responses
200

Success

dataobjectrequired
Show properties
invoiceIdstringrequired
min length 1
paymentIntentIdstringrequired
min length 1
paymentIdstringrequired
min length 1
paymentStatusstringrequired
Allowed:pendingrequires_actionauthorizedcapturedfailedcanceledreturned
requiresActionbooleanrequired
nextStepstringrequired
Allowed:nonecomplete_required_actioncapturecancelretry
hostedActionUrlstring | null
Show properties
Any of:
string
string
null
null
nextActionTypestring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/billing/collect-invoice-payment" \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "invoiceId": "string",
    "paymentIntentId": "string",
    "paymentId": "string",
    "paymentStatus": "pending",
    "requiresAction": true,
    "nextStep": "none",
    "hostedActionUrl": "string",
    "nextActionType": "string"
  },
  "requestId": "string"
}