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/payment-requests/expire-due

POST/v1/payment-requests/expire-due
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
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
environmentstring | null
Show properties
Any of:
string
string
null
null
merchantAccountIdstring | null
Show properties
Any of:
string
string
null
null
nowstring | null
Show properties
Any of:
string
string
null
null
limitnumber | null
Show properties
Any of:
number
number
null
null
Responses
200

Success

dataobjectrequired
Show properties
expiredobject[]required
Show properties
Array of object
paymentRequestIdstringrequired
min length 1
customerIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
statusstringrequired
Allowed:openpaidcanceledexpired
currencystringrequired
min length 1
amountRequestednumberrequired
amountPaidnumberrequired
amountRemainingnumberrequired
invoiceCountnumberrequired
attemptCountnumberrequired
createdByTypestringrequired
Allowed:systemoperator
createdByRefstringrequired
min length 1
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
metadataobjectrequired
lastAttemptStatusstring | null
Show properties
Any of:
string
string
null
null
lastAttemptErrorstring | null
Show properties
Any of:
string
string
null
null
lastPaymentIntentIdstring | null
Show properties
Any of:
string
string
null
null
lastPaymentIdstring | null
Show properties
Any of:
string
string
null
null
dueAtstring | null
Show properties
Any of:
string
string
null
null
expiresAtstring | null
Show properties
Any of:
string
string
null
null
lastAttemptedAtstring | null
Show properties
Any of:
string
string
null
null
paidAtstring | null
Show properties
Any of:
string
string
null
null
canceledAtstring | null
Show properties
Any of:
string
string
null
null
skippednumberrequired
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/payment-requests/expire-due?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "expired": [
      {
        "paymentRequestId": "string",
        "customerId": "string",
        "billingAccountId": "string",
        "status": "open",
        "currency": "string",
        "amountRequested": 0,
        "amountPaid": 0,
        "amountRemaining": 0,
        "invoiceCount": 0,
        "attemptCount": 0,
        "createdByType": "system",
        "createdByRef": "string",
        "createdAt": "string",
        "updatedAt": "string",
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "lastAttemptStatus": "succeeded",
        "lastAttemptError": "string",
        "lastPaymentIntentId": "string",
        "lastPaymentId": "string",
        "dueAt": "string",
        "expiresAt": "string",
        "lastAttemptedAt": "string",
        "paidAt": "string",
        "canceledAt": "string"
      }
    ],
    "skipped": 0
  },
  "requestId": "string"
}