aps_verify_attribution_consent
Verify an attribution receipt end-to-end: checks id, citer and consent signatures, and expiry, while binding each named party to its declared key. Returns validity status and reason if invalid.
Instructions
Representation boundary: verify an AttributionReceipt end-to-end (id, citer signature, consent signature, expiry) and bind each named party to the key beside it. What a valid result establishes: the receipt is intact, unexpired, and signed by the keys its party DIDs commit to. What it does not establish: that either party is authorized for your relying-party decision, or who they are outside the protocol. A party named by an identifier that does not self-certify is refused as unresolved rather than assumed. Returns {valid, reason?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | Optional HybridTimestamp to pin the evaluation moment | |
| receipt | Yes | AttributionReceipt JSON |