Skip to main content
POST
Duplicate dunning schedule

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

id
string<uuid>
required

The unique identifier of the dunning schedule in our system.

Response

A dunning schedule: the sequence of e-mails about an invoice, from its issue to after its due date, and after its payment. Each customer follows at most one.

id
string<uuid>
required

The unique identifier of the dunning schedule in our system.

name
string
required

The name of the dunning schedule.

Minimum string length: 1
Example:

"Régua padrão"

isDefault
boolean
required

Whether the dunning schedule is the default one of the tenant, which a customer follows when its creation leaves out the dunning schedule. A tenant has at most one default dunning schedule, and an archived dunning schedule is never the default.

archivedAt
null | string<date-time>
required

The timestamp when the dunning schedule was archived, or null if not archived. An archived dunning schedule cannot be changed or assigned to a customer.

steps
object[]
required

The dunning steps of the dunning schedule, ordered by when they send: the issue day first, then by the days from the due date, and the payment last.