View as Markdown

Authorize · API reference

Assessments

One call per agent checkout: approved (frictionless) when the cart is covered, challenged when the person needs to approve, or rejected. The assessment is your one object for the cart: it is updated once the person decides.

Related guide: Assess an agent checkout

The checkout assessment object

Attributes

objectenumRequired
Always checkout_assessment. One of checkout_assessment.
idstringRequired
The assessment's ID (cas_…).
outcomeenumRequired
allow (shown as Allowed): charge the order. challenge (Challenged): ask the person (see challenge). reject (Rejected): don't fulfil it. See outcome words. One of allow, challenge, reject.
reasonstringRequired
A registered reason (kind assessment in the reason codes): token_covers_cart, grant_covers_cart, third_party_mandate_covers_cart, prior_approval_reused, policy_rule_approved (one of your Approve rules matched; with covered: none no person approved and no token is minted), no_token, token_expired, payload_hash_mismatch, audience_mismatch, grant_limit_exceeded, grant_currency_mismatch, grant_category_not_allowed and grant_country_not_allowed (each a challenge by default), grant_counterparty_blocked, grant_category_blocked and grant_country_blocked (each a reject by default), grant_uses_exhausted (a reject), grant_purchase_limit_reached (a reject), network_accept_required, dpop_proof_required, dpop_proof_invalid, dpop_proof_replayed and holder_mismatch (a holder-bound grant presented without its holder's proof in request.headers.dpop; each a reject), third_party_mandate_cart_mismatch, third_party_mandate_replayed (the mandate already covered a different cart), third_party_issuer_not_trusted, third_party_mandate_invalid, policy_rule, signal_unavailable, token_invalid, token_revoked, agent_blocked or prior_approval_denied. Once the person answers the challenge: person_approved or review_approved (approved), policy_review or rules_unavailable (still a challenge, in your review), person_declined, policy_rule, store_review or review_expired (rejected).
policyobject | nullRequired
The rule that decided, the same block on every product's assessment and simulation: your policy's ID and the version that decided, the rule's ID and name, when it ran, what it did, and each of its conditions with the value the engine compared (actual). Only the deciding rule is listed. A computed comparison (a location match, a distance) appears in a result only here. Null when no rule decided; reason then says what did.
Show child attributes
idstring | nullRequired
The product's policy (pol_…), one per account and product, the same on every version.
versioninteger | nullRequired
The version that decided: null on the built-in default rules, 0 when a simulation runs a draft.
ruleobjectRequired
The rule, and what it compared.
Show child attributes
idstringRequired
The rule's ID (rul_…, or rul_default_… for a default row), kept across versions.
refstring | null
The rule's short display ID (R-103, or R-04 outside checkout), the one the console shows beside the rule. Checkout rules carry their phase digit first: R-1nn at checkout, R-2nn after the customer answers. Kept across versions and never reused in the policy. Null when the rule's text is gone.
namestring | nullRequired
The rule's name in the builder, when it has one.
phaseenumRequired
When it ran: assess, or after_approval (a store's checkout rule run once the person decided); a Trace rule runs at action (before a tool call) or completion (on model output). One of assess, after_approval, action, completion.
actionenumRequired
What the rule did: Approve, Challenge (ask a person), Reject or Review. See outcome words. One of approve, challenge, reject, review.
conditionsarray of objectsRequired
Each condition of the rule, with the value compared.
Show child attributes
factstringRequired
The fact (order.amount, approval.location, class, …).
opstringRequired
The operator.
valueanyRequired
The value the condition compares with.
actualanyRequired
The value the engine compared; null when the fact was absent.
unavailablestring
Why actual is null: not_collected, not_recorded on a result read back from a record that didn't keep the value, or withheld for a raw field-timing fact (agent.typing_interval_ms, agent.checkout_fill_seconds), which rules read but no result returns.
metricstring
A velocity condition's counter (verify_count, amount_sum).
windowstring
A velocity condition's window.
perstring
A velocity condition's subject.
setstring
A canary or prediction condition's family or probe.
baselinestring
A relative canary condition's baseline.
pathstring
A field condition's path in the request.
traceobject
The deciding rule's path, however deep: its groups, conditions, signals, scorecards with their rows, rule references and rule groups, each with its value and result. Present only when the path says more than rule.conditions (a nested group, a derived fact, an unavailable reading). Bounded at depth 6 and 60 nodes, then truncated.
Show child attributes
roundsinteger
Rounds of fact resolution the decision took.
nodesarray of objectsRequired
The path's nodes. kind is condition, all, any, none, at_least, signal, scorecard, rule, group, flow or risk_score; groups and signals hold nodes, a scorecard its rows. A risk_score node is a condition on a custom risk score: key, label, version, answer, p (as rules read them), raw (the model's own), calibrated, fact, op, value, actual, result, evaluation_id and reason.status (the text is on the evaluation).
skippedobject
Facts the decision never had to read, by cost tier (tier_3: 1).
truncatedboolean
The path was longer than the bounds.
unavailablearray of objects
The facts the decision found unavailable, and why. Present only when there were some.
Show child attributes
factstringRequired
The fact.
reasonstringRequired
Why: timeout, error, unconfigured, deadline and the rest.
policiesarray of objects
Every rule that decided, in the order they ran: the checkout rule (phase: assess), then, once the customer answered and one of your after-approval rules decided, that rule (phase: after_approval). policy is the last of them. Empty when no rule decided. An assessment settled before November 26, 2026 lists only the last rule.
Show child attributes
idstring | nullRequired
The product's policy (pol_…), one per account and product, the same on every version.
versioninteger | nullRequired
The version that decided: null on the built-in default rules, 0 when a simulation runs a draft.
ruleobjectRequired
The rule, and what it compared.
Show child attributes
idstringRequired
The rule's ID (rul_…, or rul_default_… for a default row), kept across versions.
refstring | null
The rule's short display ID (R-103, or R-04 outside checkout), the one the console shows beside the rule. Checkout rules carry their phase digit first: R-1nn at checkout, R-2nn after the customer answers. Kept across versions and never reused in the policy. Null when the rule's text is gone.
namestring | nullRequired
The rule's name in the builder, when it has one.
phaseenumRequired
When it ran: assess, or after_approval (a store's checkout rule run once the person decided); a Trace rule runs at action (before a tool call) or completion (on model output). One of assess, after_approval, action, completion.
actionenumRequired
What the rule did: Approve, Challenge (ask a person), Reject or Review. See outcome words. One of approve, challenge, reject, review.
conditionsarray of objectsRequired
Each condition of the rule, with the value compared.
Show child attributes
factstringRequired
The fact (order.amount, approval.location, class, …).
opstringRequired
The operator.
valueanyRequired
The value the condition compares with.
actualanyRequired
The value the engine compared; null when the fact was absent.
unavailablestring
Why actual is null: not_collected, not_recorded on a result read back from a record that didn't keep the value, or withheld for a raw field-timing fact (agent.typing_interval_ms, agent.checkout_fill_seconds), which rules read but no result returns.
metricstring
A velocity condition's counter (verify_count, amount_sum).
windowstring
A velocity condition's window.
perstring
A velocity condition's subject.
setstring
A canary or prediction condition's family or probe.
baselinestring
A relative canary condition's baseline.
pathstring
A field condition's path in the request.
traceobject
The deciding rule's path, however deep: its groups, conditions, signals, scorecards with their rows, rule references and rule groups, each with its value and result. Present only when the path says more than rule.conditions (a nested group, a derived fact, an unavailable reading). Bounded at depth 6 and 60 nodes, then truncated.
Show child attributes
roundsinteger
Rounds of fact resolution the decision took.
nodesarray of objectsRequired
The path's nodes. kind is condition, all, any, none, at_least, signal, scorecard, rule, group, flow or risk_score; groups and signals hold nodes, a scorecard its rows. A risk_score node is a condition on a custom risk score: key, label, version, answer, p (as rules read them), raw (the model's own), calibrated, fact, op, value, actual, result, evaluation_id and reason.status (the text is on the evaluation).
skippedobject
Facts the decision never had to read, by cost tier (tier_3: 1).
truncatedboolean
The path was longer than the bounds.
unavailablearray of objects
The facts the decision found unavailable, and why. Present only when there were some.
Show child attributes
factstringRequired
The fact.
reasonstringRequired
Why: timeout, error, unconfigured, deadline and the rest.
signatureobject | any | null
How the agent's request was signed, as Identify checked it (from request or traffic_assessment_id); method: none when no request was checked. Carries platform: the agent platform Identify named for the checkout (signed or declared), or null. Null on an assessment made before November 17, 2026.
Show child attributes
methodenum
How the request was signed: web_bot_auth, http_signature, network (a card network agent program's tag), or none (no signature, or no request was checked). One of web_bot_auth, http_signature, network, none.
validboolean | null
True when the signature verified, false when one was sent and didn't, null when nothing was signed. A traffic assessment reports a failed signature (your traffic policy decides what it gets); a mandate assessment refuses it first (agent_signature_invalid).
key_idstring | null
The signature's keyid (the key's JWK thumbprint).
directorystring | null
Where the key was found: the Signature-Agent directory URL, or provenance_registry for a key registered with Provenance.
agent_idstring | null
The registered agent (agt_…) the key belongs to, when the signature verified against a key registered with Provenance or its hosted directory.
platformobject | any | null
Checkout assessments only: the agent platform Identify named for the checkout (signed or declared), or null.
Show child attributes
nameenum
The platform's catalog name. One of openai, anthropic, google, microsoft, apple, perplexity, meta, common_crawl.
labelstring
The platform's display name (OpenAI).
sourceenum
signed (verified through the platform's signing directory) or declared (a known crawler's user agent). One of signed, declared.
coversarray of strings
The covered components, by name (@authority, @method, @path, signature-agent, content-digest). Empty when nothing was signed.
botobject | any | null
How likely the visitor is automated: the higher of Identify's score and the visit's field-timing score, its band (with the reason when unclassified) and the named signals that are true. The raw timing is never returned. Null on an assessment made before November 17, 2026.
Show child attributes
likelihoodinteger | null
0 to 100: the higher of Identify's bot score and the visit's field-timing score (automation_score). Null when nothing scored the visitor. Checkout rules read it as agent.bot_likelihood_score.
bandenum
medium (30 to 69) or high (70 and over) from likelihood; low only when it is under 30 and field timing saw a person (typed or pointer_seen); otherwise unclassified: nothing shows a bot or a person (a score of 0 because nothing tripped is no evidence either way). A request alone is never low. Checkout rules read it as agent.bot_likelihood. One of low, medium, high, unclassified.
reasonenum
Why band is unclassified: not_checked (nothing to score), no_field_timing (the score is under 30 and no field timing ran) or no_person_signal (field timing ran and saw no typing and no pointer). Null otherwise. One of not_checked, no_field_timing, no_person_signal.
signalsarray of enums
The named signals that are true, from a fixed list: headless (a headless browser or an automation driver), hosting_ip (a cloud or hosting provider's network), typed (field timing saw a field typed, not every value pasted or autofilled) and pointer_seen (a pointer moved, clicked or touched before submit). Each is also a checkout rule fact (agent.headless, …).
authorityobject | any | null
What covered the cart: the intent token (provenance_intent_token) or a grant presented alone (provenance_mandate), with cart_match: matched; an AP2 or ACP mandate from an issuer you trust (third_party_mandate, naming its protocol and issuer); none when nothing did, including a yes the person had already given. Null on an assessment made before November 17, 2026.
Show child attributes
kindenum
What covered the action. Assessments today return provenance_intent_token, provenance_mandate, third_party_mandate (checkout only) or none. One of provenance_intent_token, provenance_mandate, third_party_mandate, spc, platform_confirmation, none.
verifiedboolean
True when the token verified (ES256 against Provenance's published keys).
verified_againstenum
What it was verified against: Provenance's published keys. One of provenance_jwks.
algenum
The token's signing algorithm. One of ES256.
key_idstring | null
The kid of the key that signed the token.
issuerstring | null
The token's issuer (iss); on third_party_mandate, the name you listed the issuer under (or, through your own AP2 verifier, the mandate's iss).
mandate_idstring | null
The mandate the token was issued under, or the grant itself; null for a token with no mandate.
mandate_chainarray of strings
The mandates from the person's grant down to the one the agent holds, root first (up to 5). Present with mandate_id; a traffic assessment leaves it out (the middleware can't see the chain).
approval_context_idstring | null
On provenance_intent_token: the approval context of the person's yes that minted the token, when one is known.
cart_matchenum
How the covered thing matched what was assessed: matched (the token's binding hash, or an AP2 Payment Mandate's total, currency and payee, equal the cart's), merchant_facts (an AP2 Checkout Mandate matched your own Checkout), or not_applicable (an agent action or a request, where the payload or request hash binds instead). One of matched, merchant_facts, not_applicable.
protocolenum
On third_party_mandate: the mandate's protocol. One of ap2, acp.
verified_byenum
On third_party_mandate: verified against the keys of an issuer you list (issuer_jwks), or by your own AP2 verifier through Identify (merchant_verifier). One of issuer_jwks, merchant_verifier.
evidence_hashstring | null
On third_party_mandate: the SHA-256 (hex) of the mandate as presented, never the mandate; null when Provenance never saw it (a verdict your middleware reported).
binding_hashstringRequired
The cart's canonical binding hash (what a token's payload_hash must equal).
originstringRequired
The cart's origin.
order_idstringRequired
The cart's order ID.
contactobject
Present when you sent contact.name: the shopper's name, on your own reads only (never the webhook, a share or a signal).
Show child attributes
namestring
The shopper's name you sent (Maya Chen).
coveredenumRequired
What covered the cart, if anything. One of token, mandate, third_party_mandate, reused, none.
signalsobjectRequired
The signals your rules saw (present only when known).
Show child attributes
coveredstring
Same as covered.
coverage_reasonstring
Why the coverage check did or didn't cover the cart (token_covers_cart, grant_covers_cart, no_token, payload_hash_mismatch, grant_limit_exceeded, …), also when one of your rules decided and reason is policy_rule or policy_rule_approved.
confirmedstring
approval (a person approved this order), grant (a standing grant) or none (a rule alone allowed it).
presentedenum
What the agent sent with the cart, whether or not it covers it: mandate, token (an intent token), third_party_mandate (an AP2 or ACP mandate from another issuer) or none. The default rule "Unclassified" approves only none. One of mandate, token, third_party_mandate, none.
token_age_secondsinteger
Seconds since the token was minted.
agentobject
What Identify says about the agent, when it ran. The bot score and the named signals are in bot.
Show child attributes
verifiedboolean
The agent's signature verified.
classstring
Identify's class, or unknown when it didn't run.
idstring
The registered agent's ID.
mandate_depthinteger
How many hand-offs below the person's grant the agent is.
run_presentboolean
The token belongs to an agent-team run.
signals_presentboolean
Identify saw an agent on the agent's request or the visit you named (rule fact agent.signals_present). The default rule "Unclassified" approves only when it is false. Absent on an assessment made before November 20, 2026.
signalsarray of enums
What marked it as agent traffic: a verified signature (signed_agent), a request that names itself or an agent Identify named (declared_agent), a spoofed crawler or a bot score of 50 and over (suspected_bot), a named agent platform, a signature that didn't verify (signature), a headless browser, a hosting address, or an AP2, ACP or x402 object (agent_protocol). Empty when nothing did; present with signals_present.
order_signalsarray of enums
Why it's an agent order (rule fact agent.order_signals): the visitor was an agent (visit), a verified card network agent signature (network_signature), a shared payment token you named, or a card network agent token you reported. Present when any applies; a network token alone never does.
recent_token_presentedboolean
The same agent (its ID or signature key) or the same visit presented an intent token or a mandate to your account inside your downgrade window (checkout_token_downgrade_window, 24 hours by default; rule fact agent.recent_token_presented). The default rule "Unclassified" approves only when it is false, so an agent can't drop its token to skip a challenge. Absent when the check couldn't run (the rule then doesn't approve) and on an assessment made before November 20, 2026.
merchantobject
The merchant facts you sent, labelled source: "merchant".
billingobject
The billing address you sent, coarse fields only (the full address is approval_context.billing once the person decides).
Show child attributes
countrystringRequired
ISO 3166-1 alpha-2.
regionstring | nullRequired
ISO 3166-2 (US-OR); null when no region was sent or it isn't one we map.
postal_prefixstring | nullRequired
The US 3-digit ZIP prefix, the Canadian forward sortation area or the UK outward code; null elsewhere.
sourceenumRequired
Always merchant: your store attested it. One of merchant.
unavailableobject
On an assessment: why a part has no rule fact (region: region_unrecognized).
Show child attributes
regionenum
The region couldn't be mapped to ISO 3166-2. One of region_unrecognized.
shadowobject
Your shadow checkout policy's verdict, when one is set. It never changes the outcome.
Show child attributes
outcomestring
The outcome the shadow would have given.
reasonstring
Its reason.
rule_idstring | null
The shadow rule that decided.
policy_versioninteger
The shadow version.
challengeobject | nullRequired
While outcome is challenge: how the person is being asked. Null otherwise. The cart approval behind it is the shopper's side; once they decide, approval_context.subject names it.
Show child attributes
channelenumRequired
The channel the first message went by, or agent_relay when the agent relays the link. One of text, email, app_notification, agent_relay.
sent_tostring | nullRequired
The masked contact the first message went to (•••• 4821, j•••@example.com); null for the relay.
statusenumRequired
pending until the person answers; in_review while your review holds their yes; expired when nobody answered in time. One of pending, in_review, expired, approved, denied.
expires_attimestamp | nullRequired
When the link stops working, or (in review) when the review times out.
approve_urlstring
Create response only: the public page the person approves on (the agent relays it).
status_urlstring
Create response only: where the agent polls for the cart-bound token.
reusedboolean
Create response only: it joined an open request for the same cart (asked once).
dedupedboolean
Create response only: your customer already has a pending link for this store.
delivery_hintstring
Create response only: where the link went, without the contact ("the phone ending 42").
approval_contextobject | any | nullRequired
How the person decided: the cart approval the agent's token came from, or their answer to this assessment's challenge (subject names the cart approval). Null when no person decided. On the webhook, billing is always null.
Show child attributes
objectenum
The type of object. One of approval_context.
idstring
Unique identifier for the object (apc_…).
subjectobject
What the person decided.
Show child attributes
typeenumRequired
The decided object's type: a cart approval, a step-up approval, a grant, an intent token the person approved with the device's passkey when it was minted, a delegation proposal or a captured item. One of checkout_approval, mandate_approval, mandate_grant, intent_token, delegation_proposal, capture_item.
idstringRequired
Its id (an intent token is its jti; a captured item is capr_…:<index>).
decisionenum
The person's own answer; captured for a capture. One of approved, declined, captured.
decided_attimestamp
When the person decided.
methodobject
How the person decided.
Show child attributes
kindenumRequired
A passkey, the Provenance app's device key, the keypad on a confirmation call, a confirmation given outside Provenance, a signed-in console member, or a browser page with no passkey (a decline, a capture page). One of passkey, device_key, voice_keypad, external, console_session, browser_session.
authenticatorenumRequired
With a passkey: where it lives, as the browser reported when it was created; null otherwise or when unknown. One of platform_passkey, cross_device_passkey, security_key.
user_verifiedbooleanRequired
True when the assertion's user-verification flag was set (face, fingerprint or the screen lock).
step_upobject | nullRequired
What confirmed the customer contact for a new passkey under step_up_contact, when it applied.
Show child attributes
methodenum
contact_code: a 6-digit code sent to the customer contact matched. link_contact: the person opened the link from the email or text sent to that same contact, so no code was sent. One of contact_code, link_contact.
channelenum
Where the code went, or which message carried the link. One of sms, email.
verified_attimestamp
When the code matched, or when the passkey approved through that link.
passkeyobject | null
The passkey that decided; null for any other method.
Show child attributes
statusenum
new when it was younger than the store's minimum age or set up during the approval. One of new, existing.
ageobject
Its age at the decision: whole days, and the minutes past them.
Show child attributes
daysinteger
Whole days.
minutesinteger
Minutes past the whole days.
created_during_approvalboolean
Set up on this approval's page.
syncedboolean | null
A synced (backed-up) passkey; null when the authenticator didn't say.
providerstring | null
The provider its AAGUID names (the authenticator's own claim); null when unknown.
provider_attestedenum
Always false: the provider is the authenticator's own claim. One of false.
deviceobject | null
The device the person decided on, as it reported itself (or, with the app's device key, as it enrolled).
Show child attributes
osstring | null
ios, ipados, android, macos, windows, linux or other.
os_versionstring | null
The OS version, for phones (desktop browsers freeze theirs).
browserstring | null
safari, chrome, edge, firefox, samsung or other; null in an app.
sourceenum
Where the device facts came from. One of user_agent, app_attestation.
verifiedboolean
True only when the server verified the device's attestation.
time_zoneobject | null
The device's time zone, as reported (never verified).
Show child attributes
namestring
IANA name (America/Los_Angeles).
utc_offset_minutesinteger
Its offset at the decision.
sourceenum
Who reported it. One of browser, app.
verifiedenum
Always false. One of false.
localestring | null
The language tag (en-US).
networkobject | null
The connection the decision came from: a provider's estimate of its place, and its flags.
Show child attributes
countrystring | null
ISO 3166-1 alpha-2.
regionstring | null
ISO 3166-2 (US-OR).
citystring | null
The city, only while the network city switch is on.
city_statusenum
Whether the city switch is on. One of enabled, not_enabled.
flagsobject
What the published lists and the IP lookup say about the network.
Show child attributes
vpnboolean
A VPN service.
proxyboolean
A proxy.
hosting_providerboolean
A cloud or hosting provider's range.
torboolean
A Tor exit.
private_relayboolean
iCloud Private Relay (a privacy feature, never counted as a VPN).
asninteger | null
The network's AS number, from the IP lookup provider; null without one.
sourceenum
Where the place and flags came from. One of published_lists, ip_intel.
ipstring | null
The address, only while your IP sharing switch is on and the sealed copy is kept; null otherwise.
location_matchenum
A cart approval's only: whether where the person approved from matches the billing address the store sent. The same value the approval.location rule fact reads: matches_billing needs the network region (or city) to agree with nothing contradicting it, a time-zone match alone is never a match; differs when a known comparison differs; unavailable with its reason in unavailable.location_match (no IP lookup, no time zone); no_billing when the store sent no address. The distance and the per-field comparisons stay rule facts and are never returned. Absent on other approvals. One of matches_billing, differs, unavailable, no_billing.
location_match_basisarray of enums
With location_match: the inputs that agreed (matches_billing) or disagreed (differs); empty otherwise. time_zone_network: the device's time zone is in another country than the network.
browser_detailsobject
The 3-D Secure browser fields the approval page or embed reported, with the request's User-Agent and Accept headers; null for a decision outside a browser page (the app, a keypad, a console member) or recorded before they were collected.
Show child attributes
screen_widthinteger | nullRequired
The screen's width in CSS pixels (screen.width).
screen_heightinteger | nullRequired
The screen's height in CSS pixels (screen.height).
color_depthenumRequired
Bits per pixel (screen.colorDepth). One of 1, 4, 8, 15, 16, 24, 30, 32, 48.
languagestring | nullRequired
The browser's language (navigator.language).
java_enabledboolean | nullRequired
Whether Java is enabled (navigator.javaEnabled()).
javascript_enabledboolean | nullRequired
Whether JavaScript ran (true when the page sent the block).
utc_offset_minutesinteger | nullRequired
Local time minus UTC, in minutes.
user_agentstring | nullRequired
The request's User-Agent header (at most 2,048 characters).
accept_headerstring | nullRequired
The request's Accept header (at most 2,048 characters).
sourceenumRequired
Where the fields came from. One of browser.
verifiedenumRequired
Always false: as the browser reported them. One of false.
billingobject
A cart approval's context only: the full billing address you sent, to your own key and console (never on a webhook); null otherwise.
Show child attributes
line1string | nullRequired
The street line.
line2string | nullRequired
The second line.
citystring | nullRequired
The city.
regionstring | nullRequired
ISO 3166-2 (US-OR) where the region table maps it (US, Canada, Australia); else as you sent it.
postal_codestring | nullRequired
The postal code as you sent it.
countrystringRequired
ISO 3166-1 alpha-2.
sourceenumRequired
Always merchant: your store attested it. One of merchant.
personobject
Who decided, as far as Provenance can say without identifying them.
Show child attributes
pseudonymstring | null
A per-store pseudonym for the passkey, on cart approvals.
linkenum
Over a grant's limit: whether the passkey is the grant's own person's. One of same_person, unlinked, not_applicable.
externalobject | null
With method.kind: external: the confirmation given outside Provenance.
Show child attributes
kindenum
The kind of outside confirmation. One of ap2_user_mandate, spc, platform.
issuerstring | null
Who issued it.
evidence_hashstring | null
The hash of the evidence verified.
unavailableobject
Each fact that is null and why (not_collected, no_ip, ip_intel_not_configured, ip_intel_failed, network_relayed, network_vpn, network_hosting, network_tor), keyed by field (device.time_zone, network.country).
receiptobject
A signed receipt. Every receipt endpoint (decisions, agreements, orders, deals, disputes, verified calls and the receipt embed) returns this object. claims is the signed payload, decoded; token is the ES256 JWS that carries it, which anyone can verify offline against the published keys.
Show child attributes
objectenumRequired
The type of object. One of receipt.
idstringRequired
The receipt's ID (rcpt_), the same as claims.receipt_id.
claimsobjectRequired
The signed claims, decoded from token.
Show child attributes
reusedobject
Present only when no one was asked because this order or action was already answered: by the agent's own token (intent_token), or by an earlier approval of the same binding that the agent (agent, routed when it went to an outside approver), a store (store) or a network order (network) asked for. You learn only what your own token carries; never the other party's account, approval ID, contact or deny reason. See ask once.
Show child attributes
sourceenumRequired
Who asked first. One of intent_token, agent, store, network, routed.
confirmed_viaobject
Present only when the person confirmed outside Provenance (decided_via is then external).
Show child attributes
kindenumRequired
The kind of confirmation. One of ap2_user_mandate, spc, platform.
issuerstring
Whose word it is: the AP2 issuer or platform named in your policy, or your store's origin for a passkey your store registered. Absent for a passkey set up with Provenance.
evidence_hashstringRequired
The SHA-256 of the evidence (the evidence itself isn't kept).
decided_viaenum
Present only with confirmed_via. One of external.
approved_byenum
Present only on a checkout assessment your own Approve rule decided (policy_rule_approved): matched_rule_id and policy_version name the rule. It never means a person approved. One of rule.
auto_approvalobject
Present only when an auto_approve clause gave the approval.
Show child attributes
rule_idstring
The rule the clause sits on.
clause_idstring
The clause's ID.
labelstring
The clause's label.
policy_versioninteger | null
The policy version.
decided_viaenum
Always rule. One of rule.
messagestring
"Approved automatically by your rule '…'".
receipt_idstring
The receipt's ID.
decision_idstring
The decision's ID.
kindstring
What was decided: authorize, verify or order.
jtistring | null
The intent token's ID.
agent_session_idstring | null
The agent session the token was minted for.
agent_idstring | null
The registered agent's ID.
approver_idstring | null
The network approver who decided.
device_idstring | null
The approving device's ID.
resultenum
The result. One of valid, denied, pending.
reasonstring | null
The reason given or recorded.
matched_rule_idstring | null
The policy rule that decided it.
policy_versioninteger | null
The policy version that decided it; null for the default.
mandate_idstring | null
The mandate's ID.
biometric_boundboolean
Whether a passkey check was verified at authorize.
context_hashstring
The hash of the agent's stated context, when one was bound.
order_idstring
The clinical order's ID, on order receipts.
order_typestring
The order type, on order receipts.
prescriber_idstring
The prescriber's ID, on order receipts.
prescriber_tierstring
The prescriber's verified tier, on order receipts.
trace_idstring
The traced inference's ID, on trace-bound decisions.
canary_hashstring | null
The canary readings' hash, on trace-bound decisions.
canary_baseline_idstring
The canary baseline a relative condition used, when one did.
deal_idstring
The deal this decision belongs to, on a deal's rows.
record_hashstring
The ledger record's hash.
prev_hashstring
The previous ledger record's hash.
decided_atstring
When it was decided.
issstring
The issuer that signed the receipt.
typeenum
The kind of receipt. One of agreement_completion.
agreement_idstring
The agreement's ID.
content_hashstring
The SHA-256 of the agreed content.
content_descriptionstring
What the content is.
modestring
parallel or sequential.
statusstring
The agreement's status.
completed_atstring | null
When the last party signed.
partiesarray of objects
Each party's signing evidence.
Show child attributes
party_idstring
The party's ID.
labelstring
The party's label.
statusstring
The party's status.
signed_atstring | null
When the party signed.
tierstring | null
The hardware tier of the device the party signed with.
offer_idstring
The seller's offer ID.
offer_hashstring
The offer hash the acceptance binds.
seller_agent_idstring
The seller agent.
buyer_agent_idstring | null
The buyer agent.
buyer_subjectstring
The buyer's pairwise subject at this seller.
totalnumber
The offer's total.
currencystring
The currency.
deadlinestring
The delivery deadline.
acceptance_jtistring
The acceptance token's jti.
accepted_atstring | null
When it was accepted.
buyer_approvalobject | null
How the buyer's person approved (method, tier, approved_at, terms_hash).
seller_approvalobject | null
How the seller's person approved (method, approved_at, role).
paymentobject | null
The payment reference.
deliveryobject | null
The recorded delivery.
confirmed_content_hashstring | null
The hash the buyer confirmed.
dispute_idstring
The dispute.
tab_idstring | null
The tab, for a tab dispute.
period_daystring | null
The UTC day of a tab dispute.
deciderenum
Who records the outcome. One of parties, rail, arbiter.
arbiter_idstring | null
The named arbiter.
opened_atstring | null
When it opened.
outcomestring | null
The outcome.
decided_bystring | null
Who recorded it.
refundobject | null
The refund reference on the rail (rail, reference, amount, currency).
resolved_atstring | null
When it ended.
venum
The receipt format version. One of 1.
check_idstring
The check.
call_idstring | null
The registered call that matched.
transportstring
How the call was matched.
agentobject | null
The agent that signed the call credential.
Show child attributes
idstring
The agent's ID.
kidstring
The key that signed the credential (its JWK thumbprint).
directorystring
Where the key is published.
personobject
Who approved, as in the verdict.
Show child attributes
approvedboolean
Whether a person approved the call.
approved_attimestamp | null
When.
approved_viastring | null
How.
pseudonymstring | null
The person's ID at your business only.
purposestring | null
The call's purpose.
windowobject | null
The call's window.
Show child attributes
fromtimestamp
The start.
untiltimestamp
The end.
numbers_digeststring | null
SHA-256 hex of from|to|jti. Anyone who knows both numbers can recompute it.
disclosureobject | null
The caller's AI-disclosure record.
consentobject | null
The caller's consent record.
checked_attimestamp
When the check ran.
tokenstringRequired
The receipt as an ES256 JWS. Verify it against the JWKS.
verify_urlstringRequired
A link that opens the receipt on the console's Verify a proof page; on a receipt a person outside the account reads (/v1/personal/..., /v1/embed/agent_access/activity/{id}/receipt), the public Verify a proof guide instead, since that person has no console account.
checkout_approval_idstring | nullRequired
The cart approval this assessment opened or reused.
decision_idstring | nullRequired
The assessment's row in your decision ledger (dec_…).
traffic_assessment_idstring | nullRequired
Identify's verdict on the agent's request (tas_…), when one ran.
visit_idstring
The storefront visit you named (visit_id), when you sent one.
payment_referencestring
The payment you named (payment_reference), when you sent one.
payment_signalsobject | any | null
The payment signals this assessment read from payment; null when you named none.
Show child attributes
shared_payment_tokenboolean
You named a shared payment token (payment.shared_payment_token), checked or not.
checkedboolean
The token was read on your Stripe account and matched its mode.
unchecked_reasonenum
Why a named token wasn't checked: no active Stripe connection, the key lacks the shared payment token read, Stripe doesn't know the token, a token of the other mode, or Stripe didn't answer in time. One of no_connection, permission_missing, not_found, mode_mismatch, unavailable.
agent_profilestring | null
The agent's Stripe profile (network_business_profile), when the token was checked.
usage_limitobject | null
The token's usage limit, when the token was checked.
Show child attributes
max_amountinteger
The most it can pay, in minor units.
currencystring
Lowercase ISO 4217.
credential_typeenum
The credential type you reported from your own token resolve. One of agentic_token, dpan, fpan.
network_tokenboolean | null
Whether the PaymentIntent's latest charge used a network token (null when not read). A network token alone never makes an agent order.
riskobject
Stripe's risk scores for the token, when it was checked, on the scale Stripe's shared payment token reference gives.
Show child attributes
botnumber
Stripe bot score.
card_testingnumber
Stripe card testing score.
stolen_cardnumber
Stripe stolen card score.
fraudulent_disputenumber
Stripe fraud dispute score.
card_issuer_declinenumber
Stripe bank decline score.
ucpobject
A Universal Commerce Protocol checkout's record (POST /v1/authorize/ucp_assessments, or ucp_session_id). Present only on a UCP checkout.
Show child attributes
versionstringRequired
The checkout's UCP version (2026-08-25).
checkout_idstringRequired
Your UCP checkout's id.
checkout_hashstringRequired
The hash of the checkout state (cart, totals, buyer and fulfilment); a changed cart is a new state.
transportenumRequired
How the platform called your UCP server. One of rest, mcp, a2a.
platformobjectRequired
The agent platform that placed the checkout.
Show child attributes
profile_hoststring | nullRequired
The host of the platform's profile URL (never its path or query), or null when none was named.
signatureenumRequired
The platform's request signature: verified against its profile's keys (or on your word, platform_signature: verified), absent or invalid. One of verified, absent, invalid.
signature_sourceenum
Who checked the signature: Provenance (from request_signature) or you. Present when a signature was checked. One of provenance, merchant.
negotiatedobjectRequired
What the platform and your server negotiated.
Show child attributes
approval_actionbooleanRequired
com.provenanceauth.checkout.approval was negotiated and the extension is on.
ap2_mandatebooleanRequired
The AP2 mandate extension was negotiated: completion then requires ap2.checkout_mandate.
verifiedobjectRequired
What was verified on the request.
Show child attributes
intent_signalstringRequired
The intent token in signals["com.provenanceauth.intent"]: valid, absent or the reason it failed.
ap2_checkout_mandatestringRequired
The AP2 checkout mandate: accepted, absent or the reason it was refused.
fallbackenum
When the platform didn't negotiate the approval Action and your rules asked: the deciding rule's ucp_fallback. One of escalate, hold_after_order.
completed_byenum
Who finished an escalated checkout on your checkout page, once known. One of person, agent.
created_attimestampRequired
When the assessment was made.
updated_attimestamp | nullRequired
When the person's decision (or your review, or the challenge's expiry) last changed it; null until then.
amountobject | null
The total of the cart the assessment bound. On reads (GET, the list); null when the cart carried no total.
Show child attributes
totalintegerRequired
The order total in the currency's minor units (cents for USD).
currencystringRequired
The ISO 4217 currency, lowercase.
exponentintegerRequired
The currency's decimal places (2 for USD, 0 for JPY).
itemsarray of objects
The cart's lines as you bound them, at most 50. On reads (GET, the list).
Show child attributes
namestringRequired
The line's name.
quantityintegerRequired
How many.
unit_amountinteger | nullRequired
The price of one, in minor units.
image_urlstring | nullRequired
The picture you gave for the line, if any.
endingobject | any | null
How the order ended, worked out. On reads (GET, the list); null while nothing is known yet.
Show child attributes
outcomeenum
chargeback: a dispute matched to the order. fraud: a fraud report on the order's token or agent. refund_abuse: refunds repeat for the same shopper or agent. refunded: a refund that does not repeat. customer_denied: the shopper declined. store_rejected: your review or your staff refused it. legitimate: reported so, or 14 days passed with no dispute or refund. One of chargeback, fraud, refund_abuse, refunded, customer_denied, store_rejected, legitimate.
sourceenum
Where it came from: reported is an outcome you reported; quiet_period is an order that went ahead on a connection that reports disputes and heard nothing for 14 days. One of reported, chargeback, network_report, approval_denied, staff_cancel, refund, quiet_period.
attimestamp
When it ended this way: the report, the dispute, the refund, the decline, or the end of the 14 days.

The checkout assessment object

{
  "object": "checkout_assessment",
  "id": "cas_01M8CSH6C1BCFT3WXQ3T98XV6K",
  "outcome": "allow",
  "reason": "policy_rule_approved",
  "policy": {
    "id": "pol_78F44446F59D72D9B2D553FA8D",
    "version": null,
    "rule": {
      "id": "rul_default_unclassified_approve",
      "ref": "R-104",
      "name": "Unclassified",
      "phase": "assess",
      "action": "approve",
      "conditions": [
        {
          "fact": "agent.bot_likelihood",
          "op": "eq",
          "value": "unclassified",
          "actual": "unclassified"
        },
        {
          "fact": "checkout.presented",
          "op": "eq",
          "value": "none",
          "actual": "none"
        },
        {
          "fact": "agent.signals_present",
          "op": "eq",
          "value": false,
          "actual": false
        },
        {
          "fact": "agent.recent_token_presented",
          "op": "eq",
          "value": false,
          "actual": false
        }
      ]
    }
  },
  "policies": [
    {
      "id": "pol_78F44446F59D72D9B2D553FA8D",
      "version": null,
      "rule": {
        "id": "rul_default_unclassified_approve",
        "ref": "R-104",
        "name": "Unclassified",
        "phase": "assess",
        "action": "approve",
        "conditions": [
          {
            "fact": "agent.bot_likelihood",
            "op": "eq",
            "value": "unclassified",
            "actual": "unclassified"
          },
          {
            "fact": "checkout.presented",
            "op": "eq",
            "value": "none",
            "actual": "none"
          },
          {
            "fact": "agent.signals_present",
            "op": "eq",
            "value": false,
            "actual": false
          },
          {
            "fact": "agent.recent_token_presented",
            "op": "eq",
            "value": false,
            "actual": false
          }
        ]
      }
    }
  ],
  "signature": {
    "method": "none",
    "valid": null,
    "key_id": null,
    "directory": null,
    "agent_id": null,
    "covers": [],
    "platform": null
  },
  "authority": {
    "kind": "none"
  },
  "binding_hash": "cd67e1857f61d17a350f7a5d066ba2b2d12981dd93864b208e1af314c0bab108",
  "origin": "https://harborbean.example",
  "order_id": "ord_8813",
  "covered": "none",
  "signals": {
    "covered": "none",
    "coverage_reason": "no_token",
    "confirmed": "none",
    "presented": "none",
    "agent": {
      "verified": false,
      "class": "unknown",
      "signals_present": false,
      "signals": [],
      "recent_token_presented": false
    }
  },
  "bot": {
    "likelihood": null,
    "band": "unclassified",
    "reason": "not_checked",
    "signals": []
  },
  "approval_context": null,
  "challenge": null,
  "checkout_approval_id": null,
  "decision_id": "mas_01M8CSH6C1DNGQT6TNJCVH2CHN",
  "traffic_assessment_id": null,
  "payment_signals": null,
  "created_at": "2026-11-26T20:42:40.897Z",
  "updated_at": null,
  "amount": {
    "total": 3800,
    "currency": "usd",
    "exponent": 2
  },
  "items": [
    {
      "name": "Stoneware mug",
      "quantity": 2,
      "unit_amount": 1900,
      "image_url": null
    }
  ],
  "ending": null
}

Events

Sent to your webhook endpoints when they subscribe:

  • authorize.checkout_assessment.updated

Retrieve a checkout assessment

GET/v1/authorize/checkout_assessments/{id}

Returns one of your checkout assessments.

Parameters

idstringpathRequired
The assessment's ID (cas_…).

Returns

The assessment. See the checkout assessment object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -s -X POST "$PROVENANCE_API/v1/authorize/checkout_assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cart": {
      "order_id": "ord_8813",
      "total": 3800,
      "currency": "USD",
      "merchant_id": "harborbean",
      "origin": "https://harborbean.example",
      "items": [
        {
          "sku": "mug-sage",
          "name": "Stoneware mug",
          "quantity": 2,
          "unit_amount": 1900
        }
      ]
    }
  }' > step.json
export ASSESSMENT_ID=$(jq -r '.id' step.json)
curl "$PROVENANCE_API/v1/authorize/checkout_assessments/$ASSESSMENT_ID" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "checkout_assessment",
  "id": "cas_01M8CSH6C6GZ39DVN41DPDXR2R",
  "outcome": "allow",
  "reason": "policy_rule_approved",
  "policy": {
    "id": "pol_78F44446F59D72D9B2D553FA8D",
    "version": null,
    "rule": {
      "id": "rul_default_unclassified_approve",
      "ref": "R-104",
      "name": "Unclassified",
      "phase": "assess",
      "action": "approve",
      "conditions": [
        {
          "fact": "agent.bot_likelihood",
          "op": "eq",
          "value": "unclassified",
          "actual": "unclassified"
        },
        {
          "fact": "checkout.presented",
          "op": "eq",
          "value": "none",
          "actual": "none"
        },
        {
          "fact": "agent.signals_present",
          "op": "eq",
          "value": false,
          "actual": false
        },
        {
          "fact": "agent.recent_token_presented",
          "op": "eq",
          "value": false,
          "actual": false
        }
      ]
    }
  },
  "policies": [
    {
      "id": "pol_78F44446F59D72D9B2D553FA8D",
      "version": null,
      "rule": {
        "id": "rul_default_unclassified_approve",
        "ref": "R-104",
        "name": "Unclassified",
        "phase": "assess",
        "action": "approve",
        "conditions": [
          {
            "fact": "agent.bot_likelihood",
            "op": "eq",
            "value": "unclassified",
            "actual": "unclassified"
          },
          {
            "fact": "checkout.presented",
            "op": "eq",
            "value": "none",
            "actual": "none"
          },
          {
            "fact": "agent.signals_present",
            "op": "eq",
            "value": false,
            "actual": false
          },
          {
            "fact": "agent.recent_token_presented",
            "op": "eq",
            "value": false,
            "actual": false
          }
        ]
      }
    }
  ],
  "signature": {
    "method": "none",
    "valid": null,
    "key_id": null,
    "directory": null,
    "agent_id": null,
    "covers": [],
    "platform": null
  },
  "authority": {
    "kind": "none"
  },
  "binding_hash": "cd67e1857f61d17a350f7a5d066ba2b2d12981dd93864b208e1af314c0bab108",
  "origin": "https://harborbean.example",
  "order_id": "ord_8813",
  "covered": "none",
  "signals": {
    "covered": "none",
    "coverage_reason": "no_token",
    "confirmed": "none",
    "presented": "none",
    "agent": {
      "verified": false,
      "class": "unknown",
      "signals_present": false,
      "signals": [],
      "recent_token_presented": false
    }
  },
  "bot": {
    "likelihood": null,
    "band": "unclassified",
    "reason": "not_checked",
    "signals": []
  },
  "approval_context": null,
  "challenge": null,
  "checkout_approval_id": null,
  "decision_id": "mas_01M8CSH6C6KRKD973EENWWFKRK",
  "traffic_assessment_id": null,
  "payment_signals": null,
  "created_at": "2026-11-26T20:42:40.902Z",
  "updated_at": null,
  "amount": {
    "total": 3800,
    "currency": "usd",
    "exponent": 2
  },
  "items": [
    {
      "name": "Stoneware mug",
      "quantity": 2,
      "unit_amount": 1900,
      "image_url": null
    }
  ],
  "ending": null
}

List checkout assessments

GET/v1/authorize/checkout_assessments

Your checkout assessments, newest first. Filter with outcome, the cart approval's status, a search on the order reference and the created range.

Parameters

sortenumquery
The order of the list: created, amount, with - in front for descending. Newest first when omitted. Any other order sorts the newest 1,000 assessments that match your filters. A next_cursor carries its order; pass it back with the same sort. One of created, -created, amount, -amount.
limitintegerquery
Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery
Opaque; pass a response's next_cursor back to get the next page.
outcomeenumquery
Only this outcome. One of allow, challenge, reject, frictionless.
approval_statusenumquery
Only checkouts whose cart approval is in this status now. in_review: the shopper approved and the order waits for your review. One of pending, in_review, approved, declined, expired.
order_idstringquery
Only orders whose reference contains this text, in any case.
created_gtetimestampquery
Only checkouts assessed at or after this time.
created_ltetimestampquery
Only checkouts assessed at or before this time.

Returns

A page of assessments.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -s -X POST "$PROVENANCE_API/v1/authorize/checkout_assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cart": {
      "order_id": "ord_8813",
      "total": 3800,
      "currency": "USD",
      "merchant_id": "harborbean",
      "origin": "https://harborbean.example",
      "items": [
        {
          "sku": "mug-sage",
          "name": "Stoneware mug",
          "quantity": 2,
          "unit_amount": 1900
        }
      ]
    }
  }' > step.json
export ASSESSMENT_ID=$(jq -r '.id' step.json)
curl "$PROVENANCE_API/v1/authorize/checkout_assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "object": "checkout_assessment",
      "id": "cas_01M8CSH6C1BCFT3WXQ3T98XV6K",
      "outcome": "allow",
      "reason": "policy_rule_approved",
      "policy": {
        "id": "pol_78F44446F59D72D9B2D553FA8D",
        "version": null,
        "rule": {
          "id": "rul_default_unclassified_approve",
          "ref": "R-104",
          "name": "Unclassified",
          "phase": "assess",
          "action": "approve",
          "conditions": [
            {
              "fact": "agent.bot_likelihood",
              "op": "eq",
              "value": "unclassified",
              "actual": "unclassified"
            },
            {
              "fact": "checkout.presented",
              "op": "eq",
              "value": "none",
              "actual": "none"
            },
            {
              "fact": "agent.signals_present",
              "op": "eq",
              "value": false,
              "actual": false
            },
            {
              "fact": "agent.recent_token_presented",
              "op": "eq",
              "value": false,
              "actual": false
            }
          ]
        }
      },
      "policies": [
        {
          "id": "pol_78F44446F59D72D9B2D553FA8D",
          "version": null,
          "rule": {
            "id": "rul_default_unclassified_approve",
            "ref": "R-104",
            "name": "Unclassified",
            "phase": "assess",
            "action": "approve",
            "conditions": [
              {
                "fact": "agent.bot_likelihood",
                "op": "eq",
                "value": "unclassified",
                "actual": "unclassified"
              },
              {
                "fact": "checkout.presented",
                "op": "eq",
                "value": "none",
                "actual": "none"
              },
              {
                "fact": "agent.signals_present",
                "op": "eq",
                "value": false,
                "actual": false
              },
              {
                "fact": "agent.recent_token_presented",
                "op": "eq",
                "value": false,
                "actual": false
              }
            ]
          }
        }
      ],
      "signature": {
        "method": "none",
        "valid": null,
        "key_id": null,
        "directory": null,
        "agent_id": null,
        "covers": [],
        "platform": null
      },
      "authority": {
        "kind": "none"
      },
      "binding_hash": "cd67e1857f61d17a350f7a5d066ba2b2d12981dd93864b208e1af314c0bab108",
      "origin": "https://harborbean.example",
      "order_id": "ord_8813",
      "covered": "none",
      "signals": {
        "covered": "none",
        "coverage_reason": "no_token",
        "confirmed": "none",
        "presented": "none",
        "agent": {
          "verified": false,
          "class": "unknown",
          "signals_present": false,
          "signals": [],
          "recent_token_presented": false
        }
      },
      "bot": {
        "likelihood": null,
        "band": "unclassified",
        "reason": "not_checked",
        "signals": []
      },
      "approval_context": null,
      "challenge": null,
      "checkout_approval_id": null,
      "decision_id": "mas_01M8CSH6C1DNGQT6TNJCVH2CHN",
      "traffic_assessment_id": null,
      "payment_signals": null,
      "created_at": "2026-11-26T20:42:40.897Z",
      "updated_at": null,
      "amount": {
        "total": 3800,
        "currency": "usd",
        "exponent": 2
      },
      "items": [
        {
          "name": "Stoneware mug",
          "quantity": 2,
          "unit_amount": 1900,
          "image_url": null
        }
      ],
      "ending": null
    },
    {
      "object": "checkout_assessment",
      "id": "cas_01M8CSH6BV7ZVQWB0Z2BFEYFDC",
      "outcome": "allow",
      "reason": "token_covers_cart",
      "policy": null,
      "policies": [],
      "signature": {
        "method": "none",
        "valid": null,
        "key_id": null,
        "directory": null,
        "agent_id": null,
        "covers": [],
        "platform": null
      },
      "authority": {
        "kind": "provenance_intent_token",
        "verified": true,
        "verified_against": "provenance_jwks",
        "alg": "ES256",
        "key_id": "e777d4bf46cdcc59",
        "issuer": "provenance-authorize",
        "mandate_id": null,
        "approval_context_id": null,
        "cart_match": "matched"
      },
      "binding_hash": "8261f1dbade61ff411f617a72f58c3fea66c95bdba5b5d5a5d8c33e53bd158fc",
      "origin": "https://harborbean.example",
      "order_id": "ord_8812",
      "contact": {
        "name": "Maya Chen"
      },
      "covered": "token",
      "signals": {
        "covered": "token",
        "coverage_reason": "token_covers_cart",
        "confirmed": "none",
        "presented": "token",
        "token_age_seconds": 0,
        "agent": {
          "verified": false,
          "class": "unknown",
          "run_present": false,
          "signals_present": true,
          "signals": [],
          "recent_token_presented": false,
          "order_signals": [
            "shared_payment_token",
            "agentic_token"
          ]
        },
        "merchant": {
          "delivery_timeframe": "two_or_more_days",
          "ship_to": "stored_address",
          "source": "merchant"
        },
        "billing": {
          "country": "US",
          "region": "US-OR",
          "postal_prefix": "972",
          "source": "merchant"
        }
      },
      "bot": {
        "likelihood": null,
        "band": "unclassified",
        "reason": "not_checked",
        "signals": []
      },
      "approval_context": null,
      "challenge": null,
      "checkout_approval_id": null,
      "decision_id": "mas_01M8CSH6BV51A7NJD1RMK6QVNS",
      "traffic_assessment_id": null,
      "payment_signals": {
        "shared_payment_token": true,
        "checked": false,
        "unchecked_reason": "no_connection",
        "agent_profile": null,
        "credential_type": "agentic_token",
        "network_token": null,
        "risk": {}
      },
      "created_at": "2026-11-26T20:42:40.892Z",
      "updated_at": null,
      "amount": {
        "total": 3800,
        "currency": "usd",
        "exponent": 2
      },
      "items": [
        {
          "name": "Stoneware mug",
          "quantity": 2,
          "unit_amount": 1900,
          "image_url": null
        }
      ],
      "ending": null
    }
  ],
  "has_more": false,
  "next_cursor": null
}

Assess an agent checkout

POST/v1/authorize/checkout_assessments

One call per agent order: whether a token, grant or earlier approval covers this exact cart, what Identify says about the agent, and your checkout rules, as one outcome: allow (with a receipt), challenge (with a cart approval to send the person to) or reject. Metered as one authorize_check.

Parameters

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
cartobjectRequired
Your record of the order, exactly as you pass it to checkoutBinding (binding v1 or the v2 cart).
intent_tokenstring
The Provenance-Intent value the agent sent.
mandate_tokenstring
The Provenance-Mandate value (a person's grant) the agent sent.
counter_offer_idstring
the Provenance-Counter-Offer value the agent sent with a grant presented alone: the accepted counter-offer this cart buys. The cart's total must be at most the accepted amount plus the option's tax_and_fees, each line one that was offered (sku or name), under that grant; otherwise the cart isn't covered (coverage_reason: counter_offer_terms_changed). An intent token minted for a counter-offer names its own. A frictionless outcome uses the acceptance once.
requestobject
The agent's request, run through Identify's hosted check with this cart as the order. Its Provenance-Intent and Provenance-Mandate headers are read when the fields above are absent.
Show child attributes
methodstringRequired
The HTTP method.
urlstringRequired
The full URL.
headersobject
The request headers.
bodystring
The request body, at most 64 KB. Read, never stored.
checkout_jwtstring
The Checkout JWT your store signed for this cart, when the agent pays with an AP2 Checkout Mandate (its checkout_hash must be this JWT's hash). A Payment Mandate needs none.
traffic_assessment_idstring
A verdict your Identify middleware reported in the last 5 minutes (tas_…), instead of request.
paymentobject
How the agent is paying. A Stripe shared payment token you received is checked on your own Stripe account through your payment connection when its key can read shared payment tokens; otherwise the payment facts stay as reported. We never resolve a token or handle a card number. Any of its fields marks the order as an agent order for your rules, except payment_intent alone.
Show child attributes
shared_payment_tokenstring
The shared payment token (spt_…) the agent gave you.
credential_typeenum
The credential type your own token resolve returned (agentic_token is a card network agent token). One of agentic_token, dpan, fpan.
payment_intentstring
A PaymentIntent you already created (manual capture): its latest charge says whether a network token paid.
payment_referencestring
The payment you created for this cart (a Stripe PaymentIntent pi_… or charge ch_…), so a chargeback on it finds this decision.
payment_methodobject
The card in use, shown on a challenge's approval email and page; not part of the signed cart. Rules and risk scores read it as card.brand, card.last4 and, with both expiry fields, card.expiry (YYYY-MM). The expiry is never shown or kept on the approval.
Show child attributes
brandenum
The card brand. One of visa, mastercard, amex, discover, jcb, unionpay, diners, other.
last4string
Exactly the last 4 digits.
walletenum
The wallet the card is used through, when there is one. One of apple_pay, google_pay, link, paypal, shop_pay.
descriptionstring
On a read: the line the page shows ("Visa ···· 4242 · Apple Pay").
exp_monthinteger
The card's expiry month. Send with exp_year.
exp_yearinteger
The card's expiry year (four digits). Send with exp_month.
visit_idstring
The storefront visit this cart came from (the storefront check's tas_… verdict id, at most 24 hours old). With field timing on the visit, its score fills agent.automation_score; with no request or traffic_assessment_id, its bot score and signals fill the bot facts.
ucp_session_idstring
The UCP session (ucpa_…) an escalated Universal Commerce Protocol checkout handed to your checkout page (its provenance_ucp_session query parameter). The visit's class sets ucp.completed_by.
ipstring
The agent's client IP, for Identify.
merchant_factsobject
Facts you attest about the order, for your rules (labelled source: "merchant"). Rules on them are Pro and above.
Show child attributes
delivery_timeframeenum
How soon the order ships. One of electronic, same_day, overnight, two_or_more_days.
gift_card_countinteger
Gift cards in the order.
gift_card_amountinteger
Their total, in minor units.
preorderboolean
The order includes a preorder.
reorderboolean
The customer has ordered this before.
ship_toenum
Where it ships. One of billing_address, stored_address, new_address, pickup, digital.
customer_account_age_daysinteger
How old your customer's account is, in days.
billing_addressobject
Your customer's billing address (store-attested). Its country and region are rule facts on every plan (billing.country, billing.region); the assessment keeps the coarse fields and a challenge's cart approval keeps the full address, sealed.
Show child attributes
line1string | null
The street line.
line2string | null
The second line (apartment, suite, unit).
citystring | null
The city.
regionstring | null
The state, province or region: a code (OR, US-OR) or a name (Oregon). US states, Canadian provinces and territories and Australian states map to ISO 3166-2; any other region is kept for comparison only and its region fact is absent (region_unrecognized).
postal_codestring | null
The postal or ZIP code.
countrystringRequired
ISO 3166-1 alpha-2 (US). Required.
locationobject | null
The address's point, when your store has one. Sealed with the address. With it, the distance facts (approval.distance_km_billing, approval.min_distance_km_billing) work without a geocoder; without it, the server's geocoder finds the postal code's centre, or the distance facts are absent (geocoder_not_configured).
Show child attributes
latnumberRequired
Latitude, in degrees.
lngnumberRequired
Longitude, in degrees.
bank_checkobject
Run the bank check (3-D Secure through your payment provider) on the approval page after the passkey, when the outcome is a challenge. Pro and up; 503 until this deployment turns the step on for the provider.
Show child attributes
providerenumRequired
Your payment provider. One of checkout_com, adyen, cybersource, stripe.
contactobject
On a challenge, ask your own signed-in customer at this contact instead of the agent relay. name alone (no phone or email) keeps the relay and shows the name on your reads. The older field customer is refused.
Show child attributes
phonestring
An E.164 phone number (+14155550132). Spaces are removed; nothing else is guessed.
emailstring
An email address, compared in lower case.
namestring
The shopper's name as your store holds it (Maya Chen). One line; spaces collapsed. Sealed at rest, opened in your account export, deleted with the row.
text_consentobject
With phone: your statement that the person at this phone agreed to your texts, as on RequestContact.
Show child attributes
methodenumRequired
How the person agreed. One of sign_up_form, in_app, in_person, customer_list.
obtained_attimestampRequired
When they agreed; not in the future.
evidence_urlstring
An https link to how they agreed. Stored, never fetched.
deliveryenum
send: Provenance sends the request on the channels channels allows. self: link only. Nothing is sent and the response returns the link for you to pass on. Left out, a request with no contact is link only and any other takes your account's default (send out of the box). With a default of link only, a request that gives a contact must say send. One of send, self.
channelsarray of enums
Which of Provenance's messages may go, in any order: app_notification (the person's Provenance app, when the contact matches one person there), email and text. Left out, your account's default (all three out of the box). With all three, the person gets the app notification and the email when their contact matches, and the text and the email otherwise; a narrower list sends only what it names (the text goes in the notification's place only with text, the email beside either only with email). Each message is reported on its own in deliveries. A list that can reach none of the contacts is refused, as are sms and app_push.
follow_up_textobject
The follow-up text for this request (or, on PUT /v1/account/reminders, the default). Each key left out takes your account's saved default; the whole object left out takes all three (on, not_opened, 5 minutes out of the box). On a live deployment it is Pro and above (402 plan_required on Free, nothing created or saved); in the sandbox it works on every plan. Refused beside delivery: "self".
Show child attributes
enabledboolean
false sends no follow-up text.
whenenum
not_opened (the default) or not_finished. One of not_opened, not_finished.
after_minutesinteger
A whole number of minutes from 1 to 1440, counted from the notification. On a create it must be shorter than the request's expires_in (400 parameter_invalid on follow_up_text.after_minutes); a longer wait from your default is kept, and the text is skipped as expired if the request ends first.
remindersobject
This request's automatic reminders, in the shape of one product's schedule in Settings (schedules.<kind> on /v1/account/reminders): capture_request for a capture request, checkout_approval for a cart approval (and an assessment's challenge or a guest confirmation), approval for a routed approval. Keys left out take your account's saved values, as a PUT to Settings does: after alone changes the timings of a schedule that is on, and enabled: true turns it on. The cap, the minimum gap and quiet hours apply as built; an offset at or past the request's expiry is left out. Fixed at create: a later change in Settings leaves the request as it was. Refused beside delivery: "self".
Show child attributes
enabledboolean
true tracks this request on the schedule (Pro and above on a live deployment: 402 plan_required on reminders.enabled below Pro, nothing created; every plan in the sandbox); false sends it no automatic reminder (one by hand or by API is still allowed).
afterarray of strings
Up to three offsets from the request's creation (10m, 24h, 3d), increasing, each at least the minimum gap after the one before, at most 7 days. Errors use the Settings messages on reminders.after.
displayobject
How the approval page shows your store (default: your brand name, else the cart's host).
Show child attributes
merchant_namestringRequired
Your store's name.
ships_toobject
Coarse ships-to (city, region, country).
retry_urlstring
Where the agent retries with Provenance-Intent (default: the cart's origin).
expires_ininteger
How long the challenge stays open, in seconds (default: your account's approval expiry, else 600, held to 60 to 3600).
requireobject
What a new passkey needs on this approval, over your checkout rules' passkeys (default step_up_contact, 86400 seconds, no_contact: accept).
Show child attributes
new_passkeyenum
step_up_contact: a new passkey also confirms a code sent to the customer contact you passed, unless the person opened the link from the email or text sent to that same contact (approval_context.method.step_up.method is then link_contact). accept: it counts, and the response says it's new. require_existing: it's refused (passkey_too_new). One of step_up_contact, accept, require_existing.
min_passkey_ageinteger
Seconds. A passkey younger than this is new; 0 treats only one set up during this approval as new.
no_contactenum
With step_up_contact and no customer contact (the agent relay): count it, or decline it. One of accept, decline.
policy_versioninteger
Sandbox only. Decide with this version of your checkout rules (a draft, typically) instead of the live one; policy.version on the answer names it. A draft saved in a draft group needs that draft_group. In live, 400 parameter_invalid; a version that doesn't exist, 404.
draft_groupstring
Sandbox only, with policy_version: the draft group the draft was saved in (the rules embed session's rules.draft_group). Another group's draft is 400 parameter_invalid.

Returns

The assessment. See the checkout assessment object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -s -X POST "$PROVENANCE_API/v1/mandate/intents" \
  -H "Authorization: Bearer prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe" \
  -H "Content-Type: application/json" \
  -d '{
    "action_description": "Checkout at harborbean.example: order ord_8812, USD 38.00",
    "action_payload": {
      "order_id": "ord_8812",
      "total": 3800,
      "currency": "usd",
      "merchant_id": "harborbean",
      "origin": "https://harborbean.example",
      "items": [
        {
          "sku": "mug-sage",
          "name": "Stoneware mug",
          "quantity": 2,
          "unit_amount": 1900
        }
      ]
    },
    "agent_session_id": "sess_reference_assess",
    "device_id": "dev_00000000000000000000000000000001",
    "biometric_present": true,
    "audience": "https://harborbean.example"
  }' > step.json
export INTENT_TOKEN=$(jq -r '.intent_token' step.json)
curl -X POST "$PROVENANCE_API/v1/authorize/checkout_assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"cart\": {
      \"order_id\": \"ord_8812\",
      \"total\": 3800,
      \"currency\": \"USD\",
      \"merchant_id\": \"harborbean\",
      \"origin\": \"https://harborbean.example\",
      \"items\": [
        {
          \"sku\": \"mug-sage\",
          \"name\": \"Stoneware mug\",
          \"quantity\": 2,
          \"unit_amount\": 1900
        }
      ]
    },
    \"intent_token\": \"$INTENT_TOKEN\",
    \"merchant_facts\": {
      \"delivery_timeframe\": \"two_or_more_days\",
      \"ship_to\": \"stored_address\"
    },
    \"billing_address\": {
      \"line1\": \"18 Harrow Lane\",
      \"city\": \"Portland\",
      \"region\": \"OR\",
      \"postal_code\": \"97205\",
      \"country\": \"US\"
    },
    \"payment\": {
      \"shared_payment_token\": \"spt_1RefSample0000000001\",
      \"credential_type\": \"agentic_token\"
    },
    \"contact\": {
      \"name\": \"Maya Chen\"
    }
  }"

Response 201

{
  "object": "checkout_assessment",
  "id": "cas_01M8CSH6BV7ZVQWB0Z2BFEYFDC",
  "outcome": "allow",
  "reason": "token_covers_cart",
  "policy": null,
  "policies": [],
  "signature": {
    "method": "none",
    "valid": null,
    "key_id": null,
    "directory": null,
    "agent_id": null,
    "covers": [],
    "platform": null
  },
  "authority": {
    "kind": "provenance_intent_token",
    "verified": true,
    "verified_against": "provenance_jwks",
    "alg": "ES256",
    "key_id": "e777d4bf46cdcc59",
    "issuer": "provenance-authorize",
    "mandate_id": null,
    "approval_context_id": null,
    "cart_match": "matched"
  },
  "binding_hash": "8261f1dbade61ff411f617a72f58c3fea66c95bdba5b5d5a5d8c33e53bd158fc",
  "origin": "https://harborbean.example",
  "order_id": "ord_8812",
  "contact": {
    "name": "Maya Chen"
  },
  "covered": "token",
  "signals": {
    "covered": "token",
    "coverage_reason": "token_covers_cart",
    "confirmed": "none",
    "presented": "token",
    "token_age_seconds": 0,
    "agent": {
      "verified": false,
      "class": "unknown",
      "run_present": false,
      "signals_present": true,
      "signals": [],
      "recent_token_presented": false,
      "order_signals": [
        "shared_payment_token",
        "agentic_token"
      ]
    },
    "merchant": {
      "delivery_timeframe": "two_or_more_days",
      "ship_to": "stored_address",
      "source": "merchant"
    },
    "billing": {
      "country": "US",
      "region": "US-OR",
      "postal_prefix": "972",
      "source": "merchant"
    }
  },
  "bot": {
    "likelihood": null,
    "band": "unclassified",
    "reason": "not_checked",
    "signals": []
  },
  "approval_context": null,
  "challenge": null,
  "checkout_approval_id": null,
  "decision_id": "mas_01M8CSH6BV51A7NJD1RMK6QVNS",
  "traffic_assessment_id": null,
  "payment_signals": {
    "shared_payment_token": true,
    "checked": false,
    "unchecked_reason": "no_connection",
    "agent_profile": null,
    "credential_type": "agentic_token",
    "network_token": null,
    "risk": {}
  },
  "created_at": "2026-11-26T20:42:40.892Z",
  "updated_at": null,
  "receipt": {
    "object": "receipt",
    "id": "rcpt_0f5cf096883840f8d2ad08048da412aa",
    "claims": {
      "receipt_id": "rcpt_0f5cf096883840f8d2ad08048da412aa",
      "decision_id": "mas_01M8CSH6BV51A7NJD1RMK6QVNS",
      "kind": "verify",
      "jti": "4309ae72-9b60-460b-9f7d-0112d3416093",
      "agent_session_id": null,
      "agent_id": null,
      "approver_id": null,
      "device_id": null,
      "result": "valid",
      "reason": null,
      "matched_rule_id": null,
      "policy_version": null,
      "mandate_id": null,
      "biometric_bound": false,
      "record_hash": "505804ee8dab6eda2359bd3f92ecee2092f386a58ef4b0e4ccb12b4d42906500",
      "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
      "decided_at": "2026-11-26T20:42:40.891Z",
      "iss": "http://localhost:3000"
    },
    "token": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiJlNzc3ZDRiZjQ2Y2RjYzU5In0.eyJyZWNlaXB0X2lkIjoicmNwdF8wZjVjZjA5Njg4Mzg0MGY4ZDJhZDA4MDQ4ZGE0MTJhYSIsImRlY2lzaW9uX2lkIjoibWFzXzAxTThDU0g2QlY1MUE3TkpEMVJNSzZRVk5TIiwia2luZCI6InZlcmlmeSIsImp0aSI6IjQzMDlhZTcyLTliNjAtNDYwYi05ZjdkLTAxMTJkMzQxNjA5MyIsImFnZW50X3Nlc3Npb25faWQiOm51bGwsImFnZW50X2lkIjpudWxsLCJhcHByb3Zlcl9pZCI6bnVsbCwiZGV2aWNlX2lkIjpudWxsLCJyZXN1bHQiOiJ2YWxpZCIsInJlYXNvbiI6bnVsbCwibWF0Y2hlZF9ydWxlX2lkIjpudWxsLCJwb2xpY3lfdmVyc2lvbiI6bnVsbCwibWFuZGF0ZV9pZCI6bnVsbCwiYmlvbWV0cmljX2JvdW5kIjpmYWxzZSwicmVjb3JkX2hhc2giOiI1MDU4MDRlZThkYWI2ZWRhMjM1OWJkM2Y5MmVjZWUyMDkyZjM4NmE1OGVmNGIwZTRjY2IxMmI0ZDQyOTA2NTAwIiwicHJldl9oYXNoIjoiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCIsImRlY2lkZWRfYXQiOiIyMDI2LTExLTI2VDIwOjQyOjQwLjg5MVoiLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjMwMDAifQ.NXbpG4avzgrMg5-UFNdfJisI6UaaknkBF4Fbm6N9y-J0MabrIv_gSERuoqA2Lb2VHEC84vui9tqgAgiNA-OoLQ",
    "verify_url": "http://localhost:5173/developers/verify?receipt=eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiJlNzc3ZDRiZjQ2Y2RjYzU5In0.eyJyZWNlaXB0X2lkIjoicmNwdF8wZjVjZjA5Njg4Mzg0MGY4ZDJhZDA4MDQ4ZGE0MTJhYSIsImRlY2lzaW9uX2lkIjoibWFzXzAxTThDU0g2QlY1MUE3TkpEMVJNSzZRVk5TIiwia2luZCI6InZlcmlmeSIsImp0aSI6IjQzMDlhZTcyLTliNjAtNDYwYi05ZjdkLTAxMTJkMzQxNjA5MyIsImFnZW50X3Nlc3Npb25faWQiOm51bGwsImFnZW50X2lkIjpudWxsLCJhcHByb3Zlcl9pZCI6bnVsbCwiZGV2aWNlX2lkIjpudWxsLCJyZXN1bHQiOiJ2YWxpZCIsInJlYXNvbiI6bnVsbCwibWF0Y2hlZF9ydWxlX2lkIjpudWxsLCJwb2xpY3lfdmVyc2lvbiI6bnVsbCwibWFuZGF0ZV9pZCI6bnVsbCwiYmlvbWV0cmljX2JvdW5kIjpmYWxzZSwicmVjb3JkX2hhc2giOiI1MDU4MDRlZThkYWI2ZWRhMjM1OWJkM2Y5MmVjZWUyMDkyZjM4NmE1OGVmNGIwZTRjY2IxMmI0ZDQyOTA2NTAwIiwicHJldl9oYXNoIjoiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCIsImRlY2lkZWRfYXQiOiIyMDI2LTExLTI2VDIwOjQyOjQwLjg5MVoiLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjMwMDAifQ.NXbpG4avzgrMg5-UFNdfJisI6UaaknkBF4Fbm6N9y-J0MabrIv_gSERuoqA2Lb2VHEC84vui9tqgAgiNA-OoLQ"
  }
}

Decide an order in review

POST/v1/authorize/checkout_assessments/{id}/review

Approves or rejects an order your after-approval rules held (challenge.status: in_review). Approve mints the agent's token and reads allow (review_approved); reject reads reject (store_review). Either sends authorize.checkout_assessment.updated. The same decision again returns the assessment. Free. See review orders.

Parameters

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
idstringpathRequired
The assessment's cas_ ID.
decisionenumRequired
Your decision. One of approve, reject.
notestring
A note for your own records, kept with the review (never shown to the customer).

Returns

The assessment, updated with your decision. See the checkout assessment object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/checkout_assessments/cas_01M7JD3RF2X8N4PQ6T0VZKWG8M/review" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "decision": "approve",
    "note": "Called the customer; the new address is theirs."
  }'

Response 200

{
  "object": "checkout_assessment",
  "id": "cas_01M7JD3RF2X8N4PQ6T0VZKWG8M",
  "outcome": "allow",
  "reason": "review_approved",
  "policy": {
    "id": "pol_AC2A5612965B31B91188589F91",
    "version": 3,
    "rule": {
      "id": "rul_default_location_differs",
      "name": "Location doesn't match billing",
      "phase": "after_approval",
      "action": "review",
      "conditions": [
        {
          "fact": "approval.location",
          "op": "in",
          "value": [
            "differs",
            "unavailable"
          ],
          "actual": "differs"
        }
      ]
    }
  },
  "signature": {
    "method": "none",
    "valid": null,
    "key_id": null,
    "directory": null,
    "agent_id": null,
    "covers": [],
    "platform": null
  },
  "authority": {
    "kind": "none"
  },
  "binding_hash": "8261f1db5b0f6d1f3a2c9e0b7d4a5c6e8f9a0b1c2d3e4f5a6b7c8d9e0fbd158fc",
  "origin": "https://quillstack.example",
  "order_id": "ord_8817",
  "covered": "none",
  "signals": {
    "covered": "none",
    "coverage_reason": "no_token",
    "confirmed": "none",
    "presented": "none",
    "agent": {
      "verified": false,
      "class": "unknown"
    }
  },
  "bot": {
    "likelihood": null,
    "band": "unclassified",
    "reason": "not_checked",
    "signals": []
  },
  "approval_context": {
    "object": "approval_context",
    "id": "apc_01M7JD3T8Q2W5Y7B9C1E3G5J7K",
    "subject": {
      "type": "checkout_approval",
      "id": "coap_01M7JD3RFRNGQ5742W9ZZKWG8M"
    },
    "decision": "approved",
    "decided_at": "2026-11-16T14:47:01.902Z",
    "method": {
      "kind": "passkey",
      "authenticator": "platform_passkey",
      "user_verified": true,
      "step_up": null
    },
    "passkey": {
      "status": "existing",
      "age": {
        "days": 41,
        "minutes": 312
      },
      "created_during_approval": false,
      "synced": true,
      "provider": "iCloud Keychain",
      "provider_attested": false
    },
    "device": {
      "os": "ios",
      "os_version": "26.1",
      "browser": "safari",
      "source": "user_agent",
      "verified": false,
      "time_zone": {
        "name": "America/Chicago",
        "utc_offset_minutes": -360,
        "source": "browser",
        "verified": false
      },
      "locale": "en-US"
    },
    "network": {
      "country": "US",
      "region": "US-TX",
      "city": null,
      "city_status": "not_enabled",
      "flags": {
        "vpn": false,
        "proxy": false,
        "hosting_provider": false,
        "tor": false,
        "private_relay": false
      },
      "source": "ip_intel",
      "ip": null
    },
    "location_match": "matches_billing",
    "location_match_basis": [
      "network_region",
      "time_zone"
    ],
    "browser_details": null,
    "billing": {
      "line1": "18 Harrow Lane",
      "line2": null,
      "city": "Portland",
      "region": "US-OR",
      "postal_code": "97205",
      "country": "US",
      "source": "merchant"
    },
    "person": {
      "pseudonym": "hum_6f1c2a9e0b7d4c3a8e5f",
      "link": "not_applicable"
    },
    "external": null,
    "unavailable": {}
  },
  "challenge": null,
  "checkout_approval_id": "coap_01M7JD3RFRNGQ5742W9ZZKWG8M",
  "decision_id": "dec_01M7JD3RF2Z0A7C5E3G1J9L7N5",
  "traffic_assessment_id": null,
  "created_at": "2026-11-16T14:45:22.552Z",
  "updated_at": "2026-11-16T15:20:41.008Z"
}

Report an order's outcome

POST/v1/authorize/checkout_assessments/{id}/outcome

Records what happened to the order after its decision: a chargeback, fraud, refund abuse, or that it was legitimate. Rule suggestions learn from these labels. The latest report wins; every report is kept. Free. Needs the authorize scope or Manage policies; another account's order is 404. See rule suggestions.

Parameters

idstringpathRequired
The checkout assessment's ID (cas_).
outcomeenumRequired
What happened to the order. One of chargeback, fraud, refund_abuse, legitimate.
notestring
A note for your team. Leave out customer details.

Returns

The recorded outcome.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -s -X POST "$PROVENANCE_API/v1/authorize/checkout_assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cart": {
      "order_id": "ord_8813",
      "total": 3800,
      "currency": "USD",
      "merchant_id": "harborbean",
      "origin": "https://harborbean.example",
      "items": [
        {
          "sku": "mug-sage",
          "name": "Stoneware mug",
          "quantity": 2,
          "unit_amount": 1900
        }
      ]
    }
  }' > step.json
export ASSESSMENT_ID=$(jq -r '.id' step.json)
curl -X POST "$PROVENANCE_API/v1/authorize/checkout_assessments/$ASSESSMENT_ID/outcome" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "outcome": "chargeback", "note": "Card holder disputed the charge" }'

Response 201

{
  "object": "order_outcome",
  "id": "oot_01M81CTCDQBNWXPVSK9T5C7SG6",
  "assessment_id": "cas_01M81CTCDNA4K8YYRSRJ6AS7CR",
  "store_order_id": null,
  "outcome": "chargeback",
  "kind": "disputed",
  "source": "api",
  "note": "Card holder disputed the charge",
  "reported_at": "2026-11-22T10:28:51.767Z"
}

Report one outcome on several orders

POST/v1/authorize/order_outcome_batches

Reports the same outcome on up to 100 orders: checkout assessments (cas_) and store orders (sto_) together. Each ID answers on its own. Like the single routes, it corrects how an order ended for your rule suggestions and changes nothing about the order. Free. Needs the authorize scope or Manage policies.

Parameters

outcomeenumRequired
What happened to each order. One of chargeback, fraud, refund_abuse, legitimate.
idsarray of stringsRequired
Checkout assessment IDs (cas_) and store order IDs (sto_).
notestring
A note for your team, kept with each report. Leave out customer details.

Returns

One answer per ID.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -s -X POST "$PROVENANCE_API/v1/authorize/checkout_assessments" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cart": {
      "order_id": "ord_8813",
      "total": 3800,
      "currency": "USD",
      "merchant_id": "harborbean",
      "origin": "https://harborbean.example",
      "items": [
        {
          "sku": "mug-sage",
          "name": "Stoneware mug",
          "quantity": 2,
          "unit_amount": 1900
        }
      ]
    }
  }' > step.json
export ASSESSMENT_ID=$(jq -r '.id' step.json)
curl -X POST "$PROVENANCE_API/v1/authorize/order_outcome_batches" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d "{ \"outcome\": \"fraud\", \"ids\": [\"$ASSESSMENT_ID\"] }"

Response 200

{
  "object": "order_outcome_batch",
  "succeeded": 1,
  "failed": 0,
  "results": [
    {
      "id": "cas_01M83YKJW4K1HHM0B6E6G4YFKK",
      "status": "ok",
      "order_outcome_id": "oot_01M83YKJW6ET3RFKQW7Q6JKMNY",
      "outcome": "fraud"
    }
  ]
}

Decide several orders held for review

POST/v1/authorize/checkout_review_batches

Approves or rejects up to 100 orders your after-approval rules held for review. Each ID answers on its own: an order that has left review fails with review_not_open or review_already_decided and the rest are decided. The permission is the single route's: the authorize scope, or a console session with Manage policies. A decision can't be undone.

Parameters

decisionenumRequired
The decision for each order. One of approve, reject.
idsarray of stringsRequired
The checkout assessments' IDs (cas_).
notestring
A note for your own records, kept with each review.

Returns

One answer per ID.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/checkout_review_batches" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "decision": "approve", "ids": ["cas_01M7JD3RF2X8N4PQ6T0VZKWG8M"] }'

Response 200

{
  "object": "checkout_review_batch",
  "succeeded": 1,
  "failed": 1,
  "results": [
    {
      "id": "cas_01M7JD3RF2X8N4PQ6T0VZKWG8M",
      "status": "ok",
      "outcome": "allow",
      "reason": "review_approved"
    },
    {
      "id": "cas_01M7JD3RF9K2M5QW8T1VZKWH3N",
      "status": "failed",
      "error": {
        "type": "invalid_request_error",
        "code": "review_not_open",
        "message": "This order is pending, not in review."
      }
    }
  ]
}

Was this page helpful? Send us feedback

LLM? Read llms.txt.