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/dunning-campaigns

GET/v1/dunning-campaigns
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
limitstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
offsetstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
Responses
200

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
campaignIdstringrequired
min length 1
codestringrequired
min length 1
namestringrequired
min length 1
daysBetweenAttemptsnumberrequired
maxAttemptsnumberrequired
terminalActionstringrequired
Allowed:nonemark_uncollectible
statusstringrequired
Allowed:activearchived
isDefaultbooleanrequired
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
metadataobjectrequired
descriptionstring | null
Show properties
Any of:
string
string
null
null
attemptSchedulesobject[] | null
Show properties
Any of:
object[]
Array of object
attemptNumbernumberrequired
daysAfterPreviousnumberrequired
null
null
thresholdsobject[] | null
Show properties
Any of:
object[]
Array of object
currencystringrequired
min length 1
amountCentsnumberrequired
null
null
archivedAtstring | null
Show properties
Any of:
string
string
null
null
totalnumberrequired
hasMorebooleanrequired
nextOffsetnumber | null
Show properties
Any of:
number
number
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/dunning-campaigns?environment=...&merchantAccountId=...&limit=...&offset=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "campaignId": "string",
        "code": "string",
        "name": "string",
        "daysBetweenAttempts": 0,
        "maxAttempts": 0,
        "terminalAction": "none",
        "status": "active",
        "isDefault": true,
        "createdAt": "string",
        "updatedAt": "string",
        "metadata": {
          "property1": "string",
          "property2": "string"
        },
        "description": "string",
        "attemptSchedules": [
          {
            "attemptNumber": 0,
            "daysAfterPrevious": 0
          }
        ],
        "thresholds": [
          {
            "currency": "string",
            "amountCents": 0
          }
        ],
        "archivedAt": "string"
      }
    ],
    "total": 0,
    "hasMore": true,
    "nextOffset": 0
  },
  "requestId": "string"
}