write_receipt
Write Receipt
Issue one receipt (issuer credential required, as the credential argument or a Bearer header). subject = the barcode; market; core_version; profile_version; answer_hash; match_hash; result = verified · listed · stale · unknown with the four readings (source_authority, disagreement, freshness, authorisation); supersedes = an earlier receipt id, when this one replaces it. Never revokes.
marketrequiredresultrequiredsubjectrequiredfreshnessrequiredcredentialmatch_hashrequiredsupersedesanswer_hashrequiredverified_atcore_versionrequireddisagreementrequiredauthorisationrequired+2 more