Print receipt for transaction
Get receipt content
Path Parameters
Name
Type
Description
Request Body
Name
Type
Description
Field Name
Types
Description
{
data: [
{
items: ["Line text"], // array of strings
alignment: "center", // "center", "left", "right", or "justify"
type: "text",
styles: { font_size: 13, font_weight: 400 }
}
]
}{
type: "customer"
}{
"data": [
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"Sandbox Merchant"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"200 Epcot Center Dr"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"Orlando, FL 32836"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"800-490-8514"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"CREDIT CARD"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 18,
"font_weight": 600
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"TOTAL:",
"USD $120.00"
],
"alignment": "justify",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 600
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"V ************4242"
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"DATE & TIME:",
"03-31-25 03:25:00"
],
"alignment": "justify",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"REC #: ",
"82762996"
],
"alignment": "justify",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"INVOICE #: ",
"ejs6the8"
],
"alignment": "justify",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"AUTH CODE: ",
"838937"
],
"alignment": "justify",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"TYPE: ",
"SALE"
],
"alignment": "justify",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"DESCRIPTION: ",
"Payment for the services"
],
"alignment": "justify",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"TOTAL: ",
"USD $120.00"
],
"alignment": "justify",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
"APPROVED"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400,
"line_height": 2
}
},
{
"items": [
"NO SIGNATURE REQUIRED"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400,
"line_height": 2
}
},
{
"items": [
"THANK YOU"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400,
"line_height": 2
}
},
{
"items": [
"Cardholder Copy"
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400,
"line_height": 2
}
},
{
"items": [
"Retain this copy for statement verification."
],
"alignment": "center",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400,
"line_height": 2
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
},
{
"items": [
""
],
"alignment": "left",
"type": "text",
"style": {
"font_size": 15,
"font_weight": 400
}
}
],
"message": "Succeeded"
}Last updated