default
Check a proposed basket against the buyer’s policy. Call before checkout and after every basket change.
/muse/v1/assessmentsRequest Body
application/jsonstringBare merchant domain, e.g. walmart.com. Required to evaluate a merchant allowlist. Matched exactly after trimming, lowercasing and removing a leading www.; other subdomains are distinct. Connector-reported and unverified.
object[]objectResponses
objectThe Guardian purchase assessment. outcome drives behavior; findings explain each rule.
stringfits_policy: proceed is consistent with the buyer’s policy. violates_policy: stop; show the findings to the user. needs_information: re-assess with the listed missing inputs before relying on the result. A response is never an authorization to buy.
fits_policyviolates_policyneeds_informationunavailablebooleanTrue when required inputs were missing or estimated; never treat a provisional result as a pass.
The buyer’s purchase history through this connector, newest first — like a card statement. All rows are agent-reported and unverified.
/muse/v1/purchasesReport an executed transaction immediately after checkout completes. Include the assessment_id from the pre-purchase check and the final charged total. Reporting never authorizes or blocks anything; it records what happened.
/muse/v1/purchasesRequest Body
application/jsonstringThe id returned by assess_purchase for this basket. Always include it when the purchase was assessed first; omit only if no assessment exists.
stringBare merchant domain, e.g. walmart.com. When valid, the purchase record stores it as a domain identifier; otherwise the merchant name is kept.