API reference
Verifications
A live-capture check of a physical object, made from a template and checked against your references, from its Verification Link to its Result.
List verifications
GET/verifications
Verifications in this mode, every template including damage claims, newest first, a page at a time.
Query parameters
- limitinteger
How many objects to return, 1 to 100.
- startingAfterstring
A cursor: the id of the last object on the previous page. The next page starts after it.
- templatestring
Only this template (a built-in key or tpl_…).
- statusstring
Only this status.
One of
link_sent,in_progress,result_ready,link_expired,processing_failed,cancelled,outcome_recorded - referencestring
Only this reference.
Responses
- 200
A page of Verifications.
- 400
parameter_invalid: A parameter has the wrong type or an invalid value.paramnames it. - 401
api_key_missing: No API key was sent. SendAuthorization: Bearer <key>.api_key_invalid: The API key is not recognised, or it was revoked. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl https://api.verilo.app/v1/verifications \
-H "Authorization: Bearer $VERILO_API_KEY"const response = await fetch('https://api.verilo.app/v1/verifications', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
},
});
console.log(await response.json());import os
import requests
response = requests.get(
"https://api.verilo.app/v1/verifications",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}"},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/verifications")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body)<?php
$ch = curl_init('https://api.verilo.app/v1/verifications');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
],
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.verilo.app/v1/verifications", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}{
"object": "list",
"data": [
{
"id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
"object": "verification",
"livemode": false,
"template": {
"id": "warranty_serial",
"version": 1,
"name": "Warranty claim with serial capture"
},
"status": "result_ready",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"claimId": null,
"verificationLink": null,
"session": {
"id": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
"status": "completed",
"startedAt": "2026-11-15T09:34:10Z",
"endedAt": "2026-11-15T09:36:40Z"
},
"result": {
"state": "Verified",
"explanation": {
"strong": [
"serial: the code read matches the reference value SN-KX200-778812.",
"item: the item shown looks like the reference image (similarity 0.91).",
"fault: a close-up was recorded as the phone moved in (point your camera at the fault, close up).",
"point: a hand and the item were in view together.",
"light: the scene brightened in step with the phone's light (tracking 0.86), consistent with a real object in front of the camera.",
"Every step was completed."
],
"weak": []
},
"ruleVersion": "t1",
"sessionId": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
"issuedAt": "2026-11-15T09:36:40Z",
"steps": [
{
"key": "serial",
"kind": "scan_code",
"signal": "code_match",
"result": "passed",
"status": "completed",
"measured": {
"outcome": "match",
"codes": [
"SN-KX200-778812"
],
"matched": "SN-KX200-778812"
}
},
{
"key": "light",
"kind": "light_response",
"signal": "light_response",
"result": "passed",
"status": "completed",
"measured": {
"outcome": "above",
"tracking": 0.86,
"threshold": 0.503
}
},
{
"key": "item",
"kind": "show_item",
"signal": "item_match",
"result": "passed",
"status": "completed",
"measured": {
"outcome": "match",
"similarity": 0.91,
"threshold": 0.55
}
},
{
"key": "point",
"kind": "touch_item",
"signal": "hand_in_frame",
"result": "passed",
"status": "completed",
"measured": {
"handSeen": true
}
},
{
"key": "fault",
"kind": "capture_detail",
"signal": "detail_capture",
"result": "passed",
"status": "completed",
"measured": {
"expansion": 1.42,
"motionTracking": 0.62
}
}
]
},
"metadata": {
"case": "20931"
},
"createdAt": "2026-11-15T09:30:00Z",
"updatedAt": "2026-11-15T09:36:40Z"
}
],
"hasMore": false
}Create a verification
POST/verifications
Starts a live-capture check of a physical object from a template, and issues its Verification Link: a signed, expiring link the person opens on their phone. The server reveals the template's steps one at a time, in an order it draws for the Session, and Verilo's engines check each against the references you give here.
The answer is 201 with the Verification. The same reference with the same template again returns that Verification with 200. A reference the template's steps do not name is refused; one a step requires and you leave out answers reference_missing.
With template: "damage_claim" the Verification is a Claim: send the Claim's fields (order or orderId, lineId, quantity, description, sendEmail) and the Claim's rules apply, exactly as POST /claims.
Live Verifications need card billing (billing_required until it is on), $0.75 USD per completed verification, whatever the template. Test mode is free.
Body parameters
- templatestringrequired
A built-in template (damage_claim, rental_return, warranty_serial, resale_listing, delivery_condition) or the id of your own (tpl_…).
- referencesobject
The values the steps are checked against, by reference name. A codes reference takes
{ "codes": ["…"] }or a plain list; an image reference takes{ "imageUrl": "https://…" }or the address alone. A step whose reference is left out is recorded, not checked. A reference no step names is refused, so a typo never skips a check. - subjectobject
What is being verified, in your words.
nameis shown to the person on their phone ("show the KX-200 electric kettle").Child attributes
- namestring
Up to 120 characters.
- descriptionstring
Up to 500 characters, for your records and the evidence pack.
- referencestring
Your reference, such as a case or rental number. Sending the same reference with the same template again returns the same Verification.
- metadataobject
Up to 20 keys of your own, returned on every read and webhook.
- linkExpiresInHoursinteger
How long the Verification Link works. Default: your account's setting, 72 hours unless changed.
Responses
- 200
The existing Verification with this
referenceand template. - 201
The new Verification, with its
verificationLink. - 400
parameter_missing: A required parameter is missing.parameter_invalid: A parameter has the wrong type or an invalid value.paramnames it.reference_missing: The template needs a reference this request did not give.paramnames it. - 401
api_key_missing: No API key was sent. SendAuthorization: Bearer <key>.api_key_invalid: The API key is not recognised, or it was revoked. - 402
billing_required: Live Claims and Verifications need a card on file. Add one in the dashboard under Billing. - 403
agreement_required: The current Data Processing Agreement has not been accepted for this account. - 404
resource_missing: No object with that id exists for this key's account and mode. - 409
claim_open: This item already has an open Claim. The response carries its id inclaimId.idempotency_conflict: The Idempotency-Key was used with a different request body. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl https://api.verilo.app/v1/verifications \
-H "Authorization: Bearer $VERILO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: war-20931" \
-d '{
"template": "warranty_serial",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"metadata": {
"case": "20931"
}
}'const res = await fetch('https://api.verilo.app/v1/verifications', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': 'war-20931'
},
body: JSON.stringify({
"template": "warranty_serial",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"metadata": {
"case": "20931"
}
})
});
const verification = await res.json();
// Send verification.verificationLink.url to the customer.import os, requests
r = requests.post("https://api.verilo.app/v1/verifications",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}", "Idempotency-Key": "war-20931"},
json={
"template": "warranty_serial",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"metadata": {
"case": "20931"
}
})
verification = r.json()
print(verification["verificationLink"]["url"])require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/verifications")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
request["Idempotency-Key"] = "rma-1042-create"
request["Content-Type"] = "application/json"
request.body = <<~JSON
{
"template": "warranty_serial",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"metadata": {
"case": "20931"
}
}
JSON
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body)<?php
$ch = curl_init('https://api.verilo.app/v1/verifications');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
'Idempotency-Key: rma-1042-create',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => <<<JSON
{
"template": "warranty_serial",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"metadata": {
"case": "20931"
}
}
JSON,
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"template": "warranty_serial",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"metadata": {
"case": "20931"
}
}`)
req, _ := http.NewRequest("POST", "https://api.verilo.app/v1/verifications", body)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
req.Header.Set("Idempotency-Key", "rma-1042-create")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}{
"id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
"object": "verification",
"livemode": false,
"template": {
"id": "warranty_serial",
"version": 1,
"name": "Warranty claim with serial capture"
},
"status": "link_sent",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"claimId": null,
"verificationLink": {
"url": "https://verilo.app/v/NmQ4ZjJhMWMtOWIxZS00YzNkLThhN2YtMmUxZDljNGI1YTZm",
"expiresAt": "2026-11-18T09:30:00Z"
},
"session": {
"id": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
"status": "issued",
"startedAt": null,
"endedAt": null
},
"result": null,
"metadata": {
"case": "20931"
},
"createdAt": "2026-11-15T09:30:00Z",
"updatedAt": "2026-11-15T09:30:00Z"
}Retrieve a verification
GET/verifications/{id}
The Verification with its current link, Session and Result, each step with what it checked and measured. Webhooks tell you when to read it.
Path parameters
- idstringrequired
The Verification's id.
Responses
- 200
The Verification.
- 401
api_key_missing: No API key was sent. SendAuthorization: Bearer <key>.api_key_invalid: The API key is not recognised, or it was revoked. - 404
resource_missing: No object with that id exists for this key's account and mode. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d \
-H "Authorization: Bearer $VERILO_API_KEY"const v = await (await fetch('https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d', {
headers: { Authorization: `Bearer ${process.env.VERILO_API_KEY}` }
})).json();
if (v.result) for (const s of v.result.steps) console.log(s.key, s.result, s.measured);import os, requests
v = requests.get("https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}"}).json()
if v["result"]:
print(v["result"]["state"], [s["result"] for s in v["result"]["steps"]])require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d")
request = Net::HTTP::Get.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body)<?php
$ch = curl_init('https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
],
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}{
"id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
"object": "verification",
"livemode": false,
"template": {
"id": "warranty_serial",
"version": 1,
"name": "Warranty claim with serial capture"
},
"status": "result_ready",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"claimId": null,
"verificationLink": null,
"session": {
"id": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
"status": "completed",
"startedAt": "2026-11-15T09:34:10Z",
"endedAt": "2026-11-15T09:36:40Z"
},
"result": {
"state": "Verified",
"explanation": {
"strong": [
"serial: the code read matches the reference value SN-KX200-778812.",
"item: the item shown looks like the reference image (similarity 0.91).",
"fault: a close-up was recorded as the phone moved in (point your camera at the fault, close up).",
"point: a hand and the item were in view together.",
"light: the scene brightened in step with the phone's light (tracking 0.86), consistent with a real object in front of the camera.",
"Every step was completed."
],
"weak": []
},
"ruleVersion": "t1",
"sessionId": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
"issuedAt": "2026-11-15T09:36:40Z",
"steps": [
{
"key": "serial",
"kind": "scan_code",
"signal": "code_match",
"result": "passed",
"status": "completed",
"measured": {
"outcome": "match",
"codes": [
"SN-KX200-778812"
],
"matched": "SN-KX200-778812"
}
},
{
"key": "light",
"kind": "light_response",
"signal": "light_response",
"result": "passed",
"status": "completed",
"measured": {
"outcome": "above",
"tracking": 0.86,
"threshold": 0.503
}
},
{
"key": "item",
"kind": "show_item",
"signal": "item_match",
"result": "passed",
"status": "completed",
"measured": {
"outcome": "match",
"similarity": 0.91,
"threshold": 0.55
}
},
{
"key": "point",
"kind": "touch_item",
"signal": "hand_in_frame",
"result": "passed",
"status": "completed",
"measured": {
"handSeen": true
}
},
{
"key": "fault",
"kind": "capture_detail",
"signal": "detail_capture",
"result": "passed",
"status": "completed",
"measured": {
"expansion": 1.42,
"motionTracking": 0.62
}
}
]
},
"metadata": {
"case": "20931"
},
"createdAt": "2026-11-15T09:30:00Z",
"updatedAt": "2026-11-15T09:36:40Z"
}Delete a verification and its evidence
DELETE/verifications/{id}
Deletes the whole Evidence Record: every Session, step, picture, video, Signal and Result (and, for a damage claim, the Claim with its Outcome). This cannot be undone. Usage already billed stays billed.
Path parameters
- idstringrequired
The Verification's id.
Responses
- 200
Deleted.
- 401
api_key_missing: No API key was sent. SendAuthorization: Bearer <key>.api_key_invalid: The API key is not recognised, or it was revoked. - 404
resource_missing: No object with that id exists for this key's account and mode. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl -X DELETE https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d \
-H "Authorization: Bearer $VERILO_API_KEY"const response = await fetch('https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d', {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
},
});
console.log(await response.json());import os
import requests
response = requests.delete(
"https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}"},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d")
request = Net::HTTP::Delete.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body)<?php
$ch = curl_init('https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'DELETE',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
],
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("DELETE", "https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}{
"id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
"object": "verification",
"deleted": true
}Cancel a verification
POST/verifications/{id}/cancel
Withdraws a Verification that has no Result yet. Its link stops working at once.
Path parameters
- idstringrequired
The Verification's id.
Responses
- 200
The cancelled Verification.
- 401
api_key_missing: No API key was sent. SendAuthorization: Bearer <key>.api_key_invalid: The API key is not recognised, or it was revoked. - 404
resource_missing: No object with that id exists for this key's account and mode. - 409
verification_state: The Verification is in a state that does not allow this operation.claim_state: The Claim is in a state that does not allow this operation.result_exists: A Verification Result exists, so the Claim can no longer be cancelled or sent a new link. - 429
rate_limited: Too many requests. Wait for the number of seconds in Retry-After.
curl -X POST https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/cancel \
-H "Authorization: Bearer $VERILO_API_KEY" \
-H "Idempotency-Key: rma-1042-create"const response = await fetch('https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/cancel', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.VERILO_API_KEY}`,
'Idempotency-Key': 'rma-1042-create',
},
});
console.log(await response.json());import os
import requests
response = requests.post(
"https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/cancel",
headers={"Authorization": f"Bearer {os.environ['VERILO_API_KEY']}", "Idempotency-Key": "rma-1042-create"},
)
print(response.json())require "json"
require "net/http"
uri = URI("https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/cancel")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer #{ENV.fetch("VERILO_API_KEY")}"
request["Idempotency-Key"] = "rma-1042-create"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body)<?php
$ch = curl_init('https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/cancel');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('VERILO_API_KEY'),
'Idempotency-Key: rma-1042-create',
],
]);
echo curl_exec($ch);package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("POST", "https://api.verilo.app/v1/verifications/ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d/cancel", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("VERILO_API_KEY"))
req.Header.Set("Idempotency-Key", "rma-1042-create")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}{
"id": "ver_2b7e41c09d8f4a6e9c1d3b5a7f9e0c2d",
"object": "verification",
"livemode": false,
"template": {
"id": "warranty_serial",
"version": 1,
"name": "Warranty claim with serial capture"
},
"status": "cancelled",
"reference": "WAR-20931",
"subject": {
"name": "KX-200 electric kettle"
},
"references": {
"serial": {
"codes": [
"SN-KX200-778812"
]
},
"item": {
"imageUrl": "https://api.verilo.app/v1/samples/ceramic-table-lamp.jpg"
}
},
"claimId": null,
"verificationLink": null,
"session": {
"id": "ses_6d8f2a1c9b1e4c3d8a7f2e1d9c4b5a6f",
"status": "issued",
"startedAt": null,
"endedAt": null
},
"result": null,
"metadata": {
"case": "20931"
},
"createdAt": "2026-11-15T09:30:00Z",
"updatedAt": "2026-11-15T09:30:00Z"
}