Create a Boleto Charge batch
Creates an empty DRAFT batch for this account. Scope
boleto_charge.manage; BaaS only. Add items in atomic chunks with
PUT .../items, then dispatch once. Creating a draft consumes no
issuance quota. Idempotency-Key is required; an exact retry returns
the existing batch.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
accountId
Account identifier.
Headers
Idempotency-Key
Client-generated idempotency token.
X-Tenant-Id
Tenant context used for authorization and routing.
Request
This endpoint expects an object.
name
Optional operator-facing batch name.
Response
Idempotent retry; returns the existing batch
batchId
Batch identifier.
name
Optional operator-facing name; empty when omitted.
status
Batch lifecycle. Only DRAFT is editable. COMPLETED,
PARTIAL_FAILED, and FAILED are terminal for issuance attempts;
individual boleto registration and payment continue afterwards.
totalItems
Number of staged items.
quotaReserved
Slots permanently reserved when dispatch was admitted.
statistics
Current generation progress and payment conversion.
createdAt
Draft creation instant, in UTC.
updatedAt
Last persisted batch/statistics update, in UTC.
items
Current page of staged items and issuance results.
page
Current item page.
pageSize
Requested item page size.
totalPages
Number of item pages.
hasNext
Whether another item page exists.
dispatchedAt
Instant quota was reserved and the batch was queued.
completedAt
Instant every issuance attempt reached an outcome.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error