Skip to main content
PUT
/
public
/
v2
/
paper-checks
/
print-batch
/
Batch print paper checks
curl --request PUT \
  --url https://api.dualentry.com/public/v2/paper-checks/print-batch/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "paper_check_ids": [
    101,
    102,
    103
  ],
  "first_check_number": 10001,
  "template_id": 1
}
'
import requests

url = "https://api.dualentry.com/public/v2/paper-checks/print-batch/"

payload = {
"paper_check_ids": [101, 102, 103],
"first_check_number": 10001,
"template_id": 1
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'PUT',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({paper_check_ids: [101, 102, 103], first_check_number: 10001, template_id: 1})
};

fetch('https://api.dualentry.com/public/v2/paper-checks/print-batch/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dualentry.com/public/v2/paper-checks/print-batch/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'paper_check_ids' => [
101,
102,
103
],
'first_check_number' => 10001,
'template_id' => 1
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.dualentry.com/public/v2/paper-checks/print-batch/"

payload := strings.NewReader("{\n \"paper_check_ids\": [\n 101,\n 102,\n 103\n ],\n \"first_check_number\": 10001,\n \"template_id\": 1\n}")

req, _ := http.NewRequest("PUT", url, payload)

req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.put("https://api.dualentry.com/public/v2/paper-checks/print-batch/")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"paper_check_ids\": [\n 101,\n 102,\n 103\n ],\n \"first_check_number\": 10001,\n \"template_id\": 1\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.dualentry.com/public/v2/paper-checks/print-batch/")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"paper_check_ids\": [\n 101,\n 102,\n 103\n ],\n \"first_check_number\": 10001,\n \"template_id\": 1\n}"

response = http.request(request)
puts response.read_body
{
  "pdf_content": "<string>",
  "printed_checks": [
    {
      "paper_check_id": 12345,
      "check_number": "10542"
    }
  ],
  "total_printed": 5
}
{
"errors": {},
"success": false
}
{
"errors": {},
"success": false
}

Authorizations

X-API-KEY
string
header
required

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:
[101, 102, 103]
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

Last modified on July 13, 2026