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

POST/v1/invoices/{invoiceId}/collection-retries
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
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
invoiceIdstring | null
Show properties
Any of:
string
string
null
null
sourceAttemptIdstringrequired
min length 1
baseTimestring | null
Show properties
Any of:
string
string
null
null
Responses
201

Success

dataobject | nullrequired
Show properties
Any of:
object
retryIdstringrequired
min length 1
invoiceIdstringrequired
min length 1
billingAccountIdstringrequired
min length 1
sourceAttemptIdstringrequired
min length 1
retrySequencenumberrequired
statusstringrequired
Allowed:pendingrunningsucceededfailedexhaustedcanceled
runAtstringrequired
min length 1
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
subscriptionIdstring | null
Show properties
Any of:
string
string
null
null
lastErrorstring | null
Show properties
Any of:
string
string
null
null
paymentIntentIdstring | null
Show properties
Any of:
string
string
null
null
paymentIdstring | null
Show properties
Any of:
string
string
null
null
paymentStatusstring | null
Show properties
Any of:
string
string
null
null
exhaustedAtstring | null
Show properties
Any of:
string
string
null
null
exhaustionReasonstring | null
Show properties
Any of:
string
string
null
null
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl "https://api.vortex.nyc/v1/invoices/:invoiceId/collection-retries?environment=...&merchantAccountId=..." \
  -X POST \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{...}'
Response
{
  "data": {
    "retryId": "string",
    "invoiceId": "string",
    "billingAccountId": "string",
    "sourceAttemptId": "string",
    "retrySequence": 0,
    "status": "pending",
    "runAt": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "subscriptionId": "string",
    "lastError": "string",
    "paymentIntentId": "string",
    "paymentId": "string",
    "paymentStatus": "string",
    "exhaustedAt": "string",
    "exhaustionReason": "string"
  },
  "requestId": "string"
}