{ "name": "Receipt Verification Endpoint (Signatrust)", "nodes": [ { "parameters": { "httpMethod": "POST", "path": "verify-receipt", "options": {}, "responseMode": "responseNode" }, "id": "a35cdd51-0d74-4d84-b897-3c2d65a79d02", "name": "Verify Request", "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [ 0, 300 ], "webhookId": "14af3824-488d-4cf2-bd6c-5d8c5b5d3d9f" }, { "parameters": { "operation": "verifyReceipt", "receiptId": "={{ $json.body.receipt_id }}" }, "id": "8fedf185-6855-4e91-a003-a359a234841d", "name": "Signatrust: Verify", "type": "n8n-nodes-signatrust.signatrust", "typeVersion": 1, "position": [ 220, 300 ], "credentials": { "signatrustApi": { "id": "REPLACE_SIGNATRUST_CRED_ID", "name": "Signatrust API account" } } }, { "parameters": { "respondWith": "json", "responseBody": "={{ JSON.stringify($json) }}", "options": {} }, "id": "02ff5af9-c741-4e41-b06e-ec75f1161c36", "name": "Respond Verification", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [ 440, 300 ] }, { "parameters": { "content": "## Receipt Verification Endpoint\nExpose an endpoint that anyone (auditor, partner, regulator) can call with a `receipt_id` to **independently verify** the Ed25519 signature and integrity of a Signatrust receipt.", "height": 190, "width": 430, "color": 6 }, "id": "dd0a8fae-dace-4d53-bff4-d26b124c51d2", "name": "Sticky Note dfd66a", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [ -40, 30 ] } ], "connections": { "Verify Request": { "main": [ [ { "node": "Signatrust: Verify", "type": "main", "index": 0 } ] ] }, "Signatrust: Verify": { "main": [ [ { "node": "Respond Verification", "type": "main", "index": 0 } ] ] } }, "active": false, "pinData": {}, "settings": { "executionOrder": "v1" }, "tags": [ { "name": "Receipt Verification Endpoint — Verification" }, { "name": "Receipt Verification Endpoint — Audit" }, { "name": "Signatrust (22)" } ], "meta": { "templateCredsSetupCompleted": false }, "versionId": "e4eb0724-baba-4210-9813-94151355a715" }