Paper Checks
Print check immediately
Create and immediately print a paper check for a transaction.
POST
/
public
/
v2
/
paper-checks
/
print-now
/
Print check immediately
curl --request POST \
--url https://api.dualentry.com/public/v2/paper-checks/print-now/ \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"transaction_id": 12345,
"template_id": 1
}
'import requests
url = "https://api.dualentry.com/public/v2/paper-checks/print-now/"
payload = {
"transaction_id": 12345,
"template_id": 1
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({transaction_id: 12345, template_id: 1})
};
fetch('https://api.dualentry.com/public/v2/paper-checks/print-now/', 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-now/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'transaction_id' => 12345,
'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-now/"
payload := strings.NewReader("{\n \"transaction_id\": 12345,\n \"template_id\": 1\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.dualentry.com/public/v2/paper-checks/print-now/")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"transaction_id\": 12345,\n \"template_id\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dualentry.com/public/v2/paper-checks/print-now/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"transaction_id\": 12345,\n \"template_id\": 1\n}"
response = http.request(request)
puts response.read_body{
"paper_check": {
"id": 12345,
"created_at": "2024-01-15",
"transaction_date": "2024-01-15",
"source_record_type": "vendor_payment",
"source_record_id": 789,
"source_record_number": 1001,
"check_number": "10542",
"company_id": 456,
"company_name": "Acme Corporation",
"memo": "Payment for Invoice #1234",
"amount": "1500.00",
"currency_iso_4217_code": "USD",
"account_number": 321,
"account_name": "Operating Account",
"record_status": "printed",
"payee_name": "ABC Suppliers Inc.",
"customer_id": 567,
"customer_name": "John Smith",
"vendor_id": 890,
"vendor_name": "ABC Suppliers Inc."
},
"pdf_content": "<string>"
}{
"errors": {},
"success": false
}{
"errors": {},
"success": false
}Authorizations
Body
application/json
Request body for immediately printing a check.
Use this endpoint when you need to print a single check right away. The check will be created and marked as PRINTED immediately.
ID of the transaction to print a check for. Must be a printable transaction type (direct expense, vendor payment, vendor prepayment, or customer refund).
Example:
12345
Optional ID of a PaperCheckTemplate to use for formatting. If not provided, the default template will be used.
Example:
1
Response
Created
Schema for paper check with PDF content.
Returned when immediately printing a check. Contains both the paper check details and the PDF content encoded in base64.
Last modified on July 13, 2026
Was this page helpful?
⌘I
Print check immediately
curl --request POST \
--url https://api.dualentry.com/public/v2/paper-checks/print-now/ \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"transaction_id": 12345,
"template_id": 1
}
'import requests
url = "https://api.dualentry.com/public/v2/paper-checks/print-now/"
payload = {
"transaction_id": 12345,
"template_id": 1
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({transaction_id: 12345, template_id: 1})
};
fetch('https://api.dualentry.com/public/v2/paper-checks/print-now/', 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-now/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'transaction_id' => 12345,
'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-now/"
payload := strings.NewReader("{\n \"transaction_id\": 12345,\n \"template_id\": 1\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.dualentry.com/public/v2/paper-checks/print-now/")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"transaction_id\": 12345,\n \"template_id\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dualentry.com/public/v2/paper-checks/print-now/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"transaction_id\": 12345,\n \"template_id\": 1\n}"
response = http.request(request)
puts response.read_body{
"paper_check": {
"id": 12345,
"created_at": "2024-01-15",
"transaction_date": "2024-01-15",
"source_record_type": "vendor_payment",
"source_record_id": 789,
"source_record_number": 1001,
"check_number": "10542",
"company_id": 456,
"company_name": "Acme Corporation",
"memo": "Payment for Invoice #1234",
"amount": "1500.00",
"currency_iso_4217_code": "USD",
"account_number": 321,
"account_name": "Operating Account",
"record_status": "printed",
"payee_name": "ABC Suppliers Inc.",
"customer_id": 567,
"customer_name": "John Smith",
"vendor_id": 890,
"vendor_name": "ABC Suppliers Inc."
},
"pdf_content": "<string>"
}{
"errors": {},
"success": false
}{
"errors": {},
"success": false
}