POST /v1/dunning-campaigns
POST
/v1/dunning-campaignsAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredQuery parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcodestringrequiredmin length 1
namestringrequiredmin length 1
daysBetweenAttemptsnumberrequiredmaxAttemptsnumberrequiredcampaignIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullterminalActionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullisDefaultboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nulldescriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullattemptSchedulesobject[] | nullShow propertiesHide properties
Any of:
object[]
Array of
objectattemptNumbernumberrequireddaysAfterPreviousnumberrequirednull
nullthresholdsobject[] | nullShow propertiesHide properties
Any of:
object[]
Array of
objectcurrencystringrequiredmin length 1
amountCentsnumberrequirednull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
campaignIdstringrequiredmin length 1
codestringrequiredmin length 1
namestringrequiredmin length 1
daysBetweenAttemptsnumberrequiredmaxAttemptsnumberrequiredterminalActionstringrequiredAllowed:
nonemark_uncollectiblestatusstringrequiredAllowed:
activearchivedisDefaultbooleanrequiredcreatedAtstringrequiredmin length 1
updatedAtstringrequiredmin length 1
metadataobjectrequireddescriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullattemptSchedulesobject[] | nullShow propertiesHide properties
Any of:
object[]
Array of
objectattemptNumbernumberrequireddaysAfterPreviousnumberrequirednull
nullthresholdsobject[] | nullShow propertiesHide properties
Any of:
object[]
Array of
objectcurrencystringrequiredmin length 1
amountCentsnumberrequirednull
nullarchivedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1