Skip to main content
PUT
Batch print paper checks
This endpoint prints all specified checks, assigns sequential check numbers, and returns a merged PDF containing all checks. Prerequisites:
  • All specified checks must have status ‘not_printed’
  • Use POST /print-later/ to queue checks first
Check number assignment: Check numbers are assigned sequentially starting from first_check_number. The order of paper_check_ids in the request determines:
  1. The order of checks in the PDF
  2. The order of check number assignment
Example: If first_check_number=1001 and you print 3 checks, they will be numbered 1001, 1002, 1003. Returns:
  • pdf_content: Base64-encoded PDF with all checks
  • printed_checks: List showing each check ID and its assigned check number
  • total_printed: Count of checks printed
Side effects
  • If a check number is assigned, DualEntry also updates check_number on the record paid by this paper check.

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Maximum string length: 255

Body

application/json

Request body for batch printing queued checks.

Use this endpoint to print multiple queued checks at once. Check numbers will be assigned sequentially starting from first_check_number.

paper_check_ids
integer[]
required

List of paper check IDs to print. Checks must have status 'not_printed'. The order of IDs determines the order of checks in the PDF and check number assignment.

Example:
first_check_number
integer | null

Starting check number for this batch. If None, auto-assigns from bank account sequence. Subsequent checks will be numbered sequentially.

Required range: x >= 1
Example:

10001

template_id
integer | null

Optional ID of a PaperCheckTemplate to use for formatting. If not provided, the default template will be used.

Example:

1

Response

OK

Schema for batch print response.

Contains the merged PDF with all checks and metadata about each printed check.

pdf_content
string
required

Base64-encoded PDF content containing all printed checks

printed_checks
PublicPrintBatchResponseItem · object[]
required

List of checks that were printed with their assigned check numbers

total_printed
integer
required

Total number of checks printed in this batch

Example:

5