v3
latestSwagger 2.02026-08-0125316174.5 KB4. Receipt Validation
validate a receipt against receipt validation rules from URL
post/api/validation/v1/receipt-validation/url
Headers
apikeystring required
API authentication key.
Request body
Example request
{
"url": "https://files.readme.io/57ca9b1717a5dbdd7f56a913f47d2f758ffedaa08375dc5ac31d6fe76c4d3d32-example-taggun-receipt.png",
"validation": {
"date": {
"start": "2026-06-01T00:00:00.000Z",
"end": "2026-06-30T23:59:59.999Z"
},
"merchantName": {
"allowed": [
"H-E-B"
],
"blocked": [
"Blocked Merchant"
]
},
"productCodes": {
"description": "Find product codes for Test Product",
"allowed": [
"MAF-01010101"
]
},
"balanceOwing": {
"max": 100
},
"productLineItems": {
"products": [
{
"names": [
"Apple",
"Banana"
],
"sku": {
"allowed": [
"SKU-123",
"SKU-456"
]
},
"modelNumber": {
"allowed": [
"MODEL-123",
"MODEL-456"
]
}
}
]
},
"fraudDetection": {
"similarityCheck": {
"enabled": true
},
"tamperDetection": {
"enabled": true
},
"digitalDetection": {
"enabled": true,
"required": false
}
},
"smartValidate": {
"prompts": [
{
"key": "is_credit_card_payment",
"question": "Is this a credit card payment?"
}
]
}
},
"additionalExtractionFields": [
"modelNumber"
],
"ipAddress": "32.4.2.223",
"near": "Kalamazoo, MI, USA",
"language": "en"
}Response
Success