Skip to content

Dunning Levels (Payment Reminders)

Allowed query parameters

None

Create a dunning

post
/dunning
Attribute (* required)TypeDescription
title *StringTitle of the dunning template (1-255 characters)
textString?Content of the dunning message (supports HTML)
days_overdue *IntegerNumber of days after due date to trigger (1-365)

Example response

json
// HTTP 201 Created
{
    // a dunning object
}

Update a dunning

put
/dunning/{id}
Attribute (* required)TypeDescription
titleStringTitle of the dunning template (1-255 characters)
textString?Content of the dunning message (supports HTML)
days_overdueIntegerNumber of days after due date to trigger (1-365)

Example response

json
// HTTP 200 OK
{
    // a dunning object
}

Retrieve a dunning

get
/dunning/{id}

Example response

json
// HTTP 200 OK
{
    "id": "8y3AdBxwPL",
    "level": 1,
    "days_overdue": 30,
    "title": "First Payment Reminder",
    "text": "Dear customer, your invoice {invoice_nr} is now {days_overdue} days overdue. Please settle this invoice as soon as possible."
}

Delete a dunning

delete
/dunning/{id}

Example response

json
// HTTP 204 No Content

List dunnings

get
/dunning

The list endpoint accepts the same parameters as in Retrieve a dunning and returns a paginated array of the same dunning object in the data property.

Read more about Pagination, Filtering, Sorting and Includes on the Introduction page.