Add items to a draft Boleto Charge batch

Atomically appends 1–50 JSON items to a DRAFT batch. Every item uses the same request shape as single issuance and therefore requires its own identifier. A batch can contain at most 5,000 items.

Validation or an identifier conflict rejects the entire chunk: no item from that request is stored. Adding items consumes no issuance quota.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

accountIdstringRequired
Account identifier.
batchIdstringRequired
Boleto Charge batch identifier returned by the create endpoint.

Headers

X-Tenant-IdstringRequired
Tenant context used for authorization and routing.
Idempotency-KeystringOptional

Optional client-generated idempotency token (recommended for safe retries).

Request

This endpoint expects an object.
itemslist of objectsRequired
Atomic chunk of boleto issuance requests.

Response

Entire chunk appended
batchIdstring
Batch identifier.
namestring

Optional operator-facing name; empty when omitted.

statusenum

Batch lifecycle. Only DRAFT is editable. COMPLETED, PARTIAL_FAILED, and FAILED are terminal for issuance attempts; individual boleto registration and payment continue afterwards.

totalItemsinteger0-5000
Number of staged items.
quotaReservedinteger0-5000
Slots permanently reserved when dispatch was admitted.
statisticsobject
Current generation progress and payment conversion.
createdAtdatetime
Draft creation instant, in UTC.
updatedAtdatetime

Last persisted batch/statistics update, in UTC.

itemslist of objects
Current page of staged items and issuance results.
pageinteger
Current item page.
pageSizeinteger
Requested item page size.
totalPagesinteger
Number of item pages.
hasNextboolean
Whether another item page exists.
dispatchedAtdatetime or nullOptional
Instant quota was reserved and the batch was queued.
completedAtdatetime or nullOptional
Instant every issuance attempt reached an outcome.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error