Skip to main content
POST
Bill child chapters

Authorizations

Authorization
string
header
required

A Dueflow access token: dfp_ (personal) or dfs_ (service). Permissions are the token's scopes intersected with the role ceiling, re-evaluated per request.

Scopes

payments:write
chapters:read

Headers

Idempotency-Key
string
required

A unique key per logical operation, e.g. a UUID. Keys are remembered for 24 hours per token: a retry within that window with the same key replays the original response (marked Idempotent-Replayed: true) instead of repeating the write; reusing a key with different parameters is a 409.

Maximum string length: 255

Body

application/json
chapterIds
string[]
required
Required array length: 1 - 500 elements
Minimum string length: 1
amount
number
required
Required range: x >= 0.01
description
string
required
Required string length: 1 - 2000
amountOverrides
object
dueDate
string<date>
earlyDiscount
number
Required range: x >= 0.01
earlyDeadline
string<date>
lateFee
number
Required range: x >= 0.01
lateDeadline
string<date>
autoRemindersEnabled
boolean
default:true
reminderIntervalHours
integer
Required range: x <= 9007199254740991
isRecurring
boolean
default:false
intervalUnit
enum<string>
Available options:
weekly,
monthly,
quarterly,
yearly
totalCycles
integer
Required range: 2 <= x <= 120
startDate
string<date>

Response

Success

batchId
string
required
chapters
object[]
required