Verify a deal receipt
verify_deal_receiptVerify a signed deal receipt against the seller's own policy: both signatures, that the signing keys are SNHP's own (published at /.well-known/ucp), the policy digest, and every rule re-checked from the package. Returns {ok, problems, checks, signed_by_snhp, signatures}. Free, no model call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | The account record used for the deal, if any. | |
| policy | Yes | The policy the deal was made under. | |
| receipt | Yes | The receipt returned with a deal. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| checks | No | ||
| problems | No | ||
| signatures | No | ||
| signer_kids | No | ||
| signed_by_snhp | No |