Verify a receipt chain segment
POST /api/v1/receipt/chain-verify
Records the caller's reported chain result and invalidates the cached status. This is a client claim, not gateway verification; the response echoes the submitted chain_ok value and does not attest that the claim is true. This operation is also available under the versioned path.
Authenticate with an API key or a portal session token.
Request body
application/json object
break_detected_atstring (date-time) or nullchain_okboolean requiredentries_verifiedinteger requiredRange: at least 0
Example
{
"break_detected_at": null,
"chain_ok": true,
"entries_verified": 42
}Responses
200 Client claim recorded.
application/json object
chain_okboolean requiredrecordedboolean requiredValue:true
Generated sample
{
"chain_ok": true,
"recorded": true
}401 Missing or invalid API key or bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
422 Claim fields failed validation.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string