Get receipt proof bundle
curl --request GET \
--url https://api.truthlocks.com/v1/receipts/{id}/proof-bundle \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/receipts/{id}/proof-bundle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/receipts/{id}/proof-bundle"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/receipts/{id}/proof-bundle"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"receipt_id": "<string>",
"signature": {},
"transparency_proof": {},
"issuer": {}
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Receipts
Receipt Proof Bundle
Download a self-contained proof bundle for offline receipt verification.
GET
/
v1
/
receipts
/
{id}
/
proof-bundle
Get receipt proof bundle
curl --request GET \
--url https://api.truthlocks.com/v1/receipts/{id}/proof-bundle \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/receipts/{id}/proof-bundle', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/receipts/{id}/proof-bundle"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/receipts/{id}/proof-bundle"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"receipt_id": "<string>",
"signature": {},
"transparency_proof": {},
"issuer": {}
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Returns a self-contained proof bundle for a receipt event. The bundle includes the signed receipt envelope, Merkle inclusion proof from the transparency log, and the issuer key snapshot at time of issuance.
The bundle can be used for offline verification — no server call required after download.
Response
string
UUID of the proof bundle.
string
Bundle format version (e.g.
receipt-v1).object
Signed receipt envelope with
receipt_id, receipt_type, and signature.object
Issuer key snapshot:
public_key_b64url, status, compromised_at.object
Merkle inclusion proof and checkpoint.
string
SHA-256 hash of the entire bundle.

