View as Markdown

Authorize · API reference

Verifications

A merchant's paid check of an intent token, with how the person approved.

Related guide: Verify agent checkouts

The merchant verification object

Attributes

objectenumRequired
Always verification. One of verification.
idstring | nullRequired
The check's ID in your decision ledger.
validbooleanRequired
Every check passed and your checkout rules allow it.
reasonstring | nullRequired
Why valid is false (the verify reasons, including the approval holds approval_pending, approval_denied, approval_expired, approval_changes_requested and option_not_chosen). Null when valid.
claimsobjectRequired
The token's free claims.
approvalobject | nullRequired
How the person approved.
Show child attributes
idstring | null
The approval behind the token, when a person approved this action.
methodstring | null
device_biometric, passkey or null.
approved_attimestamp | null
When the person approved, including after the token was minted. Null while the approval is open.
biometric_boundboolean
A verified biometric was bound.
biometric_typestring | null
The biometric's kind, when one was bound.
hardware_attestedboolean
The device's key is hardware-attested.
device_trust_tierstring | null
The approving device's server-assigned tier.
approval_contextobject | any | nullRequired
How the person decided the approval (or signed the grant) behind a valid token. Another account's context never shows its IP. Null when no person's approval stands behind it (a biometric bound when the token was minted shows in approval).
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).
agentobject | nullRequired
The agent behind the token, as the server recorded it.
Show child attributes
idstring | null
The registered agent's ID.
namestring | null
The registered agent's name.
integrationstring | null
The integration its client declared.
sdk_versionstring | null
The integration's version.
policy_versioninteger | null
The checkout rules' version, or null for the built-in default.
network_signalsobject
What the network knows about a registered, verified agent. Present only then.

The merchant verification object

{
  "object": "verification",
  "id": null,
  "valid": true,
  "reason": null,
  "claims": {
    "iss": "provenance-authorize",
    "jti": "6fc221fd-f4f4-4d4f-bf4d-f13811c26d27",
    "sub": "anon_jmspb4a663zkk44smyukytelel",
    "iat": 1794962297,
    "exp": 1794976697,
    "action_hash": "740a4b41ac1fdc5532ed0c704394573e9303542fa59fe3acb1c73b3dcb63e2d1",
    "payload_hash": "df2a8a3339a1b7adc5ec11027e91af0716faeaeaaa2f8e98276bea02e4dfda46",
    "risk": {
      "score": 30,
      "action": "allow"
    }
  },
  "approval": {
    "id": null,
    "method": null,
    "approved_at": null,
    "biometric_bound": false,
    "biometric_type": null,
    "hardware_attested": false,
    "device_trust_tier": "simulated"
  },
  "approval_context": null,
  "agent": null,
  "policy_version": null
}

Retrieve a verification

GET/v1/authorize/verifications/{id}

Returns one of your paid checks from your decision ledger.

Parameters

idstringpathRequired
The object's ID.

Returns

The check.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -s -X POST "$PROVENANCE_API/v1/mandate/intents" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_description": "Pay invoice INV-2041: $1,850.00 to Brindlecote Supplies",
    "action_payload": {
      "type": "payment",
      "amount": 1850,
      "currency": "USD",
      "payee": "acct_brindlecote_supplies"
    },
    "agent_session_id": "sess_reference_1",
    "device_id": "dev_00000000000000000000000000000001"
  }' > step.json
export INTENT_TOKEN=$(jq -r '.intent_token' step.json)
curl -s -X POST "$PROVENANCE_API/v1/authorize/verifications" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"intent_token\": \"$INTENT_TOKEN\",
    \"action_payload\": {
      \"type\": \"payment\",
      \"amount\": 1850,
      \"currency\": \"USD\",
      \"payee\": \"acct_brindlecote_supplies\"
    }
  }" > step.json
export VERIFICATION_ID=$(jq -r '.id' step.json)
curl "$PROVENANCE_API/v1/authorize/verifications/$VERIFICATION_ID" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "verification",
  "id": "mas_01M7P1FE85ZMYCPP9REY1WS27R",
  "valid": true,
  "reason": null,
  "jti": "9adec078-4504-4c82-be33-6e5facadb553",
  "policy_version": null,
  "approval": {
    "biometric_bound": false,
    "hardware_attested": false,
    "device_trust_tier": "simulated"
  },
  "agent_id": null,
  "created_at": "2026-11-18T00:39:00.101Z"
}

Get a verification receipt

GET/v1/authorize/verifications/{id}/receipt

Returns a signed receipt for one of your paid checks: an ES256 JWS anyone can verify offline with the published keys, its claims, and a link to the console's Verify a proof page.

Parameters

idstringpathRequired
The object's ID.

Returns

The receipt.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -s -X POST "$PROVENANCE_API/v1/mandate/intents" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_description": "Pay invoice INV-2041: $1,850.00 to Brindlecote Supplies",
    "action_payload": {
      "type": "payment",
      "amount": 1850,
      "currency": "USD",
      "payee": "acct_brindlecote_supplies"
    },
    "agent_session_id": "sess_reference_1",
    "device_id": "dev_00000000000000000000000000000001"
  }' > step.json
export INTENT_TOKEN=$(jq -r '.intent_token' step.json)
curl -s -X POST "$PROVENANCE_API/v1/authorize/verifications" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"intent_token\": \"$INTENT_TOKEN\",
    \"action_payload\": {
      \"type\": \"payment\",
      \"amount\": 1850,
      \"currency\": \"USD\",
      \"payee\": \"acct_brindlecote_supplies\"
    }
  }" > step.json
export VERIFICATION_ID=$(jq -r '.id' step.json)
curl "$PROVENANCE_API/v1/authorize/verifications/$VERIFICATION_ID/receipt" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "receipt",
  "id": "rcpt_7b8dd827b5d344a27cf3643b78b0a588",
  "claims": {
    "receipt_id": "rcpt_7b8dd827b5d344a27cf3643b78b0a588",
    "decision_id": "dec_01M6VQBCG3V5SYKYRQ04T9YG91",
    "kind": "verify",
    "jti": "a827980c-3727-43c1-a801-0bf49243cf69",
    "agent_session_id": "sess_reference_1",
    "agent_id": null,
    "approver_id": null,
    "device_id": "dev_00000000000000000000000000000001",
    "result": "valid",
    "reason": null,
    "matched_rule_id": null,
    "policy_version": null,
    "mandate_id": null,
    "biometric_bound": false,
    "record_hash": "281f168424e270be191629ec01f113d575c48410950eeeb5c892393e07862609",
    "prev_hash": "9b940e048d7ad620a554e64df694438bd39a6eaf78e01c28597a2881afbb9762",
    "decided_at": "2026-11-07T19:21:46.243Z",
    "iss": "http://localhost:3000"
  },
  "token": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiJmNzY1YTk5YWQwNTQzZDk5In0.eyJyZWNlaXB0X2lkIjoicmNwdF83YjhkZDgyN2I1ZDM0NGEyN2NmMzY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EyN2NmMzY0M2I3OGIwYTU4OCIsImRlY2lzaW9uX2lkIjoiZGVjXzAxTTZWUUJDRzNWNVNZS1lSUTA0VDlZRzkxIiwia2luZCI6InZlcmlmeSIsImp0aSI6ImE4Mjc5ODBjLTM3MjctNDNjMS1hODAxLTBiZjQ5MjQzY2Y2OSIsImFnZW50X3Nlc3Npb25faWQiOiJzZXNzX3JlZmVyZW5jZV8xIiwiYWdlbnRfaWQiOm51bGwsImFwcHJvdmVyX2lkIjpudWxsLCJkZXZpY2VfaWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDEiLCJyZXN1bHQiOiJ2YWxpZCIsInJlYXNvbiI6bnVsbCwibWF0Y2hlZF9ydWxlX2lkIjpudWxsLCJwb2xpY3lfdmVyc2lvbiI6bnVsbCwibWFuZGF0ZV9pZCI6bnVsbCwiYmlvbWV0cmljX2JvdW5kIjpmYWxzZSwicmVjb3JkX2hhc2giOiIyODFmMTY4NDI0ZTI3MGJlMTkxNjI5ZWMwMWYxMTNkNTc1YzQ4NDEwOTUwZWVlYjVjODkyMzkzZTA3ODYyNjA5IiwicHJldl9oYXNoIjoiOWI5NDBlMDQ4ZDdhZDYyMGE1NTRlNjRkZjY5NDQzOGJkMzlhNmVhZjc4ZTAxYzI4NTk3YTI4ODFhZmJiOTc2MiIsImRlY2lkZWRfYXQiOiIyMDI2LTExLTA3VDE5OjIxOjQ2LjI0M1oiLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjMwMDAifQ.5jQwuXC2yhjpxabgFiMSbD6PXuRTjNlQMJVPODDKajv9TONM3PIeaLZ0aT_BuvLT5zVO7DuMzebD9OXfxA_Juw"
}

List verifications

GET/v1/authorize/verifications

Lists your account's paid checks, newest first.

Parameters

cursorstringquery
Opaque; pass a response's next_cursor back to get the next page.
limitintegerquery
Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.

Returns

A list of checks.

Errors

export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl "$PROVENANCE_API/v1/authorize/verifications" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "list",
  "data": [],
  "has_more": false,
  "next_cursor": null
}

Verify an intent token (paid)

POST/v1/authorize/verifications

A merchant's check of an intent token: every check the free verify makes, your checkout rules, and how the person approved (the method, the biometric, the device tier, the agent), read by the token's ID. Without action_description, the exact action_payload binding stands in for it. See approval holds.

Parameters

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
intent_tokenstringRequired
The token the agent presented.
action_descriptionstring
The action the token was minted for, if you know it.
action_payloadany
The exact payload (for a checkout, your checkoutBinding of the order). Required without action_description.
contextobject
Facts your checkout rules read.

Returns

The check. valid is false with a reason when a check fails. See the merchant verification object.

Errors

export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -s -X POST "$PROVENANCE_API/v1/mandate/intents" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_description": "Pay invoice INV-2041: $1,850.00 to Brindlecote Supplies",
    "action_payload": {
      "type": "payment",
      "amount": 1850,
      "currency": "USD",
      "payee": "acct_brindlecote_supplies"
    },
    "agent_session_id": "sess_reference_1",
    "device_id": "dev_00000000000000000000000000000001"
  }' > step.json
export INTENT_TOKEN=$(jq -r '.intent_token' step.json)
curl -X POST "$PROVENANCE_API/v1/authorize/verifications" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d "{
    \"intent_token\": \"$INTENT_TOKEN\",
    \"action_description\": \"Pay invoice INV-2041: \$1,850.00 to Brindlecote Supplies\",
    \"action_payload\": {
      \"type\": \"payment\",
      \"amount\": 1850,
      \"currency\": \"USD\",
      \"payee\": \"acct_brindlecote_supplies\"
    }
  }"

Response 200

{
  "object": "verification",
  "id": null,
  "valid": true,
  "reason": null,
  "claims": {
    "iss": "provenance-authorize",
    "jti": "6fc221fd-f4f4-4d4f-bf4d-f13811c26d27",
    "sub": "anon_jmspb4a663zkk44smyukytelel",
    "iat": 1794962297,
    "exp": 1794976697,
    "action_hash": "740a4b41ac1fdc5532ed0c704394573e9303542fa59fe3acb1c73b3dcb63e2d1",
    "payload_hash": "df2a8a3339a1b7adc5ec11027e91af0716faeaeaaa2f8e98276bea02e4dfda46",
    "risk": {
      "score": 30,
      "action": "allow"
    }
  },
  "approval": {
    "id": null,
    "method": null,
    "approved_at": null,
    "biometric_bound": false,
    "biometric_type": null,
    "hardware_attested": false,
    "device_trust_tier": "simulated"
  },
  "approval_context": null,
  "agent": null,
  "policy_version": null
}

Was this page helpful? Send us feedback

LLM? Read llms.txt.