View as Markdown

Concepts

Approval context

An approval context is how a person decided: the method they used, the passkey, the device, the network and the person, in one object. It's recorded once for each decision, approvals and declines alike, and every result that names the decision carries the same object.

When to use it

  • Feed how the person approved into the fraud checks you already run, on every plan.
  • Keep the facts of a decision next to your order, payment or claim, and read them back later by ID.
  • Learn one shape and read it the same way on cart approvals, agent step-ups, grants and captures.

How it works

  1. A person decides: they approve a cart on the approval page, an approver answers an agent's step-up, a person signs a grant with their passkey, a person approves or declines the helpers an orchestrator proposed, or someone takes the photos you asked for.
  2. Provenance records an approval_context (apc_…) for that decision.
  3. Every result that names the decision carries it as approval_context, and GET /v1/approval_contexts/{id} reads it alone.
WhereField
GET /v1/authorize/checkout_approvals/{id}, the list, the authorize.checkout_approval.* webhooksapproval_context
The checkout assessment, when an agent comes back with the token a person's approval mintedapproval_context
GET /v1/mandate/approvals/{id}, a decision, the mandate.approval.approved and .declined webhooksapproval_context
The mandate assessment, when a person's step-up approval (or the passkey they unlocked when the token was minted) stands behind itapproval_context
POST /v1/authorize/verifications, for the approval or grant behind the tokenapproval_context
GET /v1/mandate/grants/{id}, when a person signed the grant with the device's passkeyapproval_context
GET /v1/mandate/delegation_proposals/{id}, the list, the mandate.delegation_proposal.decided webhookapproval_context
GET /v1/mandate/runs/{id}, for each purchase over a limit and each proposal in the runescalations[].approval_context, delegation_proposals[].approval_context
A capture request's items and its capture assessmentitems[].approval_context

A request that expired before anyone decided has no context, and neither does a decision a server made with its API key, or a yes reused from an earlier approval (reused names that one). Those results say approval_context: null. The hosted proposal page reads none either: it's the person's page, not your account's.

On a run, a purchase an agent made at another company's store opens a cart approval in that store's account. The run shows its context without the IP and the billing address, which only the store reads with its own key.

{
  "object": "approval_context",
  "id": "apc_01JD5HT9QK3M8V2XR7N4B6WZTC",
  "subject": { "type": "checkout_approval", "id": "coap_01JD5HT2QZ6Y1K9F3R8M4V7NXB" },
  "decision": "approved",
  "decided_at": "2026-11-17T09:06:12Z",
  "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/Los_Angeles", "utc_offset_minutes": -480, "source": "browser", "verified": false }, "locale": "en-US" },
  "network": { "country": "US", "region": "US-OR", "city": null, "city_status": "not_enabled", "flags": { "vpn": false, "proxy": false, "hosting_provider": false, "tor": false, "private_relay": false }, "source": "ip_intel", "ip": null },
  "browser_details": { "screen_width": 390, "screen_height": 844, "color_depth": 24, "language": "en-US", "java_enabled": false, "javascript_enabled": true, "utc_offset_minutes": -480, "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 26_1 like Mac OS X) Safari/605.1.15", "accept_header": "text/html,application/xhtml+xml", "source": "browser", "verified": false },
  "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": {}
}

The fields and how far to trust them

A passkey proves that someone unlocked a device. A network's place is a provider's estimate. A time zone is what the browser says. Each field says where it came from.

subjectobject
What was decided: checkout_approval, mandate_approval, mandate_grant, intent_token, delegation_proposal or capture_item (a captured item's ID is capr_…:<index>).
decisionstring
The person's own answer: approved or declined, or captured for a capture. When your after-approval rules or your review later hold or decline a cart, this still says what the person did.
method.kindstring
passkey, device_key (the Provenance app), voice_keypad (the keypad on a confirmation call), external (confirmed outside Provenance), console_session (a signed-in member of your console) or browser_session (a page with no passkey: a decline, a capture page).
method.user_verifiedboolean
True when the authenticator checked face, fingerprint or the screen lock.
method.step_upobject | null
The 6-digit code a new passkey confirmed, with its channel and when it matched.
passkeyobject | null
With a passkey: new or existing, its age, whether it was set up during this approval, whether it's synced, and the provider its AAGUID names. provider_attested is always false: the provider is the authenticator's own claim.
deviceobject | null
The OS, its version on phones, the browser, the time zone and the language, as the device reported them. source: "app_attestation" with verified: true only when the server verified the phone's attestation.
networkobject | null
The connection's country and ISO 3166-2 region, from the IP lookup, and its VPN, proxy, cloud, Tor and iCloud Private Relay flags. A relayed, VPN or hosting address gives flags and no place.
network.citystring | null
Only while the network city setting is on (city_status: "enabled").
network.ipstring | null
Only while your IP sharing setting is on and the address is still kept; null otherwise. Another account reading a verification never sees it.
browser_detailsobject | null
The browser fields a 3-D Secure check uses, as the approval page or embed reported them: screen width and height, colour depth, the browser's language, whether Java is enabled and JavaScript ran, the offset from UTC, and the request's User-Agent and Accept headers. verified: false: all as the browser said. Null for a decision made outside a browser page (the app, a keypad, a console member) and on decisions recorded before November 2026. Your checkout rules read them as approval.browser.* (the Browser group in the rules editor).
billingobject | null
On a cart approval's context, the full billing address your store sent with the cart (billing_address): the lines, the city and the postal code as you sent them, the region as ISO 3166-2 (US-OR) where we can map it. Only your own key and your console read it: the cart approval and its list, the checkout assessment, the read alone and your own verification of the token. Webhooks carry billing: null here, with the coarse fields beside it; another account's verification and the approval page never get it. Null on every other context.
personobject
pseudonym, the same for the same passkey at your store and different at every other one, and link: over a grant's limit, whether the passkey is the grant's own person's.
externalobject | null
With method.kind: "external": the kind of confirmation, who issued it and the hash of the evidence checked.
unavailableobject
Each null fact and why, by field: not_collected, no_ip, ip_intel_not_configured, ip_intel_failed, network_relayed, network_vpn, network_hosting, network_tor.

Nothing in the object is a comparison. Whether the approver's location matches the billing address is a rule fact: it shows in a result only as the actual value of the deciding rule's condition, in the policy block.

Every fact is on every plan, the billing address included. The context never appears in a token or a receipt, and the decision ledger holds only its ID (approval_context_id): the facts stay on the server. The billing address stays encrypted with the cart approval and is opened only to build your own read.