Interactive API Explorer
Developer Sandbox
Explore the ReceiptForge API without writing a single line of code. Select an endpoint, edit the request, and see the response instantly.
Try it now
curl -X POST "https://edge.receiptforge.io/api/v1/render" \
-H "Authorization: Bearer sandbox-key-demo" \
-H "Content-Type: application/json" \
-d '{
"transactionType": "SALE",
"templateId": "tpl_default_sale_v3",
"renderTargets": [
"THERMAL",
"DIGITAL"
],
"transactionPayload": {
"store": {
"name": "Gourmet Market",
"address": "123 Main St",
"city": "San Francisco, CA"
},
"items": [
{
"name": "Organic Whole Milk 1L",
"qty": 2,
"unitPrice": 5.99,
"total": 11.98
},
{
"name": "Artisan Sourdough Loaf",
"qty": 1,
"unitPrice": 7.5,
"total": 7.5
}
],
"subtotal": 19.48,
"tax": 1.75,
"total": 21.23,
"payment": {
"method": "Visa",
"last4": "4821"
}
}
}'Endpoint:
POST
https://edge.receiptforge.io/api/v1/renderAuthorization: Bearer sandbox-key-demo
Request Body (JSON)
Code Examples
curl -X POST "https://edge.receiptforge.io/api/v1/render" \
-H "Authorization: Bearer sandbox-key-demo" \
-H "Content-Type: application/json" \
-d '{
"transactionType": "SALE",
"templateId": "tpl_default_sale_v3",
"renderTargets": [
"THERMAL",
"DIGITAL"
],
"transactionPayload": {
"store": {
"name": "Gourmet Market",
"address": "123 Main St",
"city": "San Francisco, CA"
},
"items": [
{
"name": "Organic Whole Milk 1L",
"qty": 2,
"unitPrice": 5.99,
"total": 11.98
},
{
"name": "Artisan Sourdough Loaf",
"qty": 1,
"unitPrice": 7.5,
"total": 7.5
}
],
"subtotal": 19.48,
"tax": 1.75,
"total": 21.23,
"payment": {
"method": "Visa",
"last4": "4821"
}
}
}'Get your free API key
Sign up in 30 seconds, get an API key, and start rendering receipts. Full documentation, sample transactions, and Postman collection included.