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/{dunningCampaignId}

GET/v1/dunning-campaigns/{dunningCampaignId}
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
dunningCampaignIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
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
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/dunning-campaigns/:dunningCampaignId?environment=...&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "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"
  },
  "requestId": "string"
}

Was this page helpful?