View as Markdown

Authorize · API reference

Checkout approvals

A store's cart approvals, shown by the shopper's agent or sent to the store's own customer.

Related guide: Ask your own customer

The checkout approval object

Attributes

idstring
Unique identifier for the object (coap_…).
objectenum
The type of object. One of checkout_approval.
statusenum
The approval's status (a no is declined). in_review: the person approved and one of your after-approval rules holds the order for your review; no token yet (decide it on the assessment that opened it, POST /v1/authorize/checkout_assessments/{id}/review). One of pending, in_review, approved, declined, expired.
routeenum
How the person is reached: the agent shows the link, or we send it to your customer. One of agent_relay, customer.
originstring
The store origin from the cart.
order_idstring
The order ID from the cart.
binding_versionenum
2 when the cart uses the rich fields. One of 1, 2.
expires_attimestamp
When it expires.
created_attimestamp
When it was created.
decided_attimestamp | null
When it was decided.
payment_referencestring
The payment you named (payment_reference), when you sent one.
cartobject
What the cart holds, from the bound order: the total in minor units, its currency and exponent, and the number of lines. Present when the cart has a total.
Show child attributes
merchant_namestring | null
The store name shown to the person.
totalinteger
The order total in minor units.
currencystring
The ISO 4217 currency code.
exponentinteger
The currency's minor-unit exponent.
itemsinteger
The number of lines in the cart.
approve_urlstring
On create: the public link for the person.
status_urlstring
On create: where the agent polls for the token (keyless).
challengeobject
On create: send this as your checkout's 401, headers and body unchanged.
Show child attributes
headersobject
WWW-Authenticate, Content-Type and Cache-Control.
bodyobject
The RFC 9457 problem with approval_request (and its approve_url, status_url and ap2).
dedupedboolean
customer only: this is the approval already pending for this customer.
deliveryobject
customer only: the delivery result (channel: text, email or app_notification; delivered; reason).
channelsarray of enums | null
The channels in force, fixed at create (null on the agent relay).
deliveriesarray of objects
One entry per message of the first send (empty on the agent relay), and the follow-up text after an app notification.
Show child attributes
recipientstringRequired
The masked contact you gave (•••• 0132, d•••@mail.example). An app notification shows the request's phone when it has one, else its email. Blank once the contacts are purged.
channelenumRequired
The channel the message used. One of app_notification, email, text.
channel_reasonenumRequired
Why that channel: default, the request's own plan; follow_up, the text after an app notification that was not opened (or not finished) within your wait. One of default, follow_up.
statusenumRequired
Whether a provider took the message. A follow-up text is scheduled while it waits, then sent, not_sent (it was due and could not go) or cancelled (it was not needed). One of sent, not_sent, scheduled, cancelled.
sent_attimestamp
With sent: when it went.
reasonstring
With not_sent: why (channel_not_configured, send_failed, plan_send_limit, opted_out, sender_not_ready, no_text_consent (no consent to text on record for the phone; a follow-up text is then never scheduled), or channel_excluded when channels left out every way to reach the contact). With a cancelled follow-up: opened (opened first), request_closed (finished, declined, cancelled, stopped, or Not now on the capture terms), expired (the request ended before the text was due), replaced (a newer send took its place) or paused.
whenenum
A follow-up text's trigger, from the request's follow_up_text.when. One of not_opened, not_finished.
scheduled_fortimestamp
While a follow-up waits: when it is due (the notification plus your wait, or the end of quiet hours on the person's side when held).
held_until_quiet_endboolean
A waiting follow-up held for the night: scheduled_for is the end of quiet hours (8 am unless you widened them).
quiet_hoursobject
With held_until_quiet_end: the time zone quiet hours were read on, and where it came from, as on a held reminder. scheduled_for is the end of quiet hours in this zone.
Show child attributes
time_zonestringRequired
An IANA time zone.
sourceenumRequired
account: your default_time_zone. country: the number's country has one time zone. unknown: the hours that are daytime across the number's whole country. One of person, group, account, country, unknown.
testboolean
In the sandbox, a text recorded by the test provider and never sent.
senderenum
With sent, on a text or an email: who it was from. custom is your own approved number or sending domain; default is Provenance's. Absent on an app notification and on a message that did not go. One of custom, default.
consent_idstring
With sent, on a text: the consent record (tcon_…) the text went under, which GET /v1/account/text_consents/{id} reads. Absent under your statement for everyone, in test mode and with the consent line off.
follow_up_textobject | any | null
The follow-up text in force, fixed at create (null on the agent relay).
Show child attributes
enabledboolean
Whether a follow-up text goes after a notification.
whenenum
not_opened: the request has not been opened through any link or the notification. not_finished: the capture is not complete, or the cart is not approved or declined; opening does not stop it. One of not_opened, not_finished.
after_minutesinteger
The wait in minutes, counted from the notification.
contactobject
Present when it has something to say. name: the shopper's name you sent (contact.name), on your own reads only. text_consent: customer only, on a single approval's create and read (not on the list), when the approval has a phone: the consent to text in force for it. Never the phone itself.
Show child attributes
namestring
The shopper's name you sent with the approval or its assessment.
text_consentobject
The consent to text in force for the request's phone, read when the request is read: a consent recorded later shows on the next read. Present only when the request has a phone.
Show child attributes
statusenumRequired
active: a text from your company may go to this phone. none: no consent on record, so a text to it reads no_text_consent. One of active, none.
sourceenum
With active: how the person agreed. step, the opt-in step before a request; box, the consent box on your own form; keyword, a START reply; statement or import, your statement for this phone; everyone, your statement for everyone you text. One of step, box, keyword, statement, import, everyone.
granted_attimestamp
With active: when the consent was recorded (for everyone, when you made the statement).
withdrawn_attimestamp
With none: when the phone's latest consent was withdrawn (STOP, the person, you or the provider). Absent when there never was one.
decline_notestring | null
With declined: the person's short note (at most 280 characters, links and phone numbers removed); null otherwise.
payment_methodobject
The card in use, display only: the approval email and page show it as "Visa ···· 4242". Never a card number or a token, and not part of the signed cart. On a read, description is what the page shows; an approval that signs an AP2 Payment Mandate shows its payment_instrument.description when you sent no payment_method.
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").
resend_requested_attimestamp
When the person asked for a new link from the expired page (also authorize.checkout_approval.resend_requested).
decline_reasonstring | null
With declined (or a review's expired): the reason; null otherwise. The person's own (unrecognized, …), passkey_too_new, policy_rule (an after-approval Reject rule), store_review (you rejected it in review) or review_expired (the review timed out set to reject).
person_decisionenum
The person's own answer, kept when an after-approval rule or your review then rejects the order; null while pending or when no person answered. One of approved, declined.
decided_methodenum
How the person was verified (passkey, device_key, keypad, signed_in, api_key, none); null while pending or when the record does not say. One of passkey, device_key, keypad, signed_in, api_key, none.
reviewobject
Your review of an order your after-approval rules held (status: in_review): the rule that asked, when it opened and when it times out, and once decided, who decided and how. Present on the approval from the moment it opens.
Show child attributes
rule_idstring | null
The after-approval rule that asked for the review (null when the rules couldn't run).
policy_versioninteger | null
The version of your checkout rules that asked (null on the built-in rules).
opened_attimestamp
When the review opened (the person's yes).
expires_attimestamp
When it times out: checkout_review_timeout after it opened.
at_expiryenum
What happens at expires_at if nobody decides: your account's checkout_review_at_expiry when it opened. One of reject, approve.
decided_attimestamp | null
When it was decided.
decided_byenum
Who decided: your API (store), a member in the console (console) or the timeout. One of store, console, timeout.
decisionenum
The decision. One of approve, reject.
notestring | null
Your note, when you sent one (never shown to the customer).
reasonenum
Present when your after-approval rules couldn't be read or run, so the order waits for you instead of going ahead. One of rules_unavailable.
intent_tokenstring
Once approved: the cart-bound token. Verify it with verifyAgentCheckout.
ap2object
Once approved, with a Checkout JWT: closed AP2 0.2 mandate content for the agent's surface to sign.
approval_contextobject | any | null
How the person decided (their own answer, also when a rule or your review then held or declined the cart); null while it is pending, when it expired, or when an earlier approval was reused.
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).
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
The surface the answer that settled it came through (link on the page, app, external with confirmed_via, rule, or your review: api, console, route_default at its timeout); null while pending or when the record does not say. One of link, email, app, phone, console, api, embed, rule, route_default, external, ciba.
external_confirmationobject
Present only when an outside confirmation was refused; the request asks the person as usual.
Show child attributes
resultenumRequired
Always refused. One of refused.
kindenumRequired
The kind sent. One of ap2_user_mandate, spc, platform.
reasonenumRequired
Why it was refused (see the reason codes). One of issuer_not_trusted, issuer_unreachable, signature_invalid, binding_mismatch, kind_not_accepted, expired.
signalsobject
Approval signals v2 (every plan): what a store learns beside how the person approved this cart (that is approval_context), each field present only when known. Shaped like the data a 3-D Secure authentication gives a merchant; not an EMV 3DS authentication. Never in the intent token or the free verify. See /docs/authorize/concepts/approval-signals.
Show child attributes
versionenum
Always 2. One of 2.
prior_authenticationobject
The earlier approval this yes came from (source, approved_at, method).
accountobject
The person's account (counts only, never which stores).
Show child attributes
accountenum
none for a passkey without a Provenance account. One of people, none.
account_age_daysinteger
The account's age.
passkey_added_24hboolean
A passkey was added in the last 24 hours.
approvals_24h_bucketenum
Approvals in 24 hours, every store (contributing stores only). One of 0, 1, 2_4, 5_9, 10_plus.
approvals_365d_bucketstring | null
Approvals in a year from the network rollup; null below its minimums.
reported_agent_24hboolean
The person declined an order as unrecognized in 24 hours (contributing stores only).
ships_toobject
Present when the cart binds a fulfillment_digest.
Show child attributes
first_seenboolean
First time this pseudonym ships to this address at your store.
agentobject
Identify's verdict from the assessment that opened it, and decision_latency_ms / fast_decision (under 3,000 ms).
ip_commitmentstring
sha256(utf8(ip) ‖ nonce), hex; the only form of the IP in the ledger and the receipt.
ip_noncestring
The 16-byte nonce (base64url) behind ip_commitment, while the IP is kept (the IP is approval_context.network.ip).
ip_held_byenum
After the retention: the address was shared once and only you hold it. One of store.
billingobject
The billing address you sent, coarse fields only (also on webhooks). 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.
locationobject
Once decided, every plan: where the person approved from, raw (the device's time zone, the network's country, region and, with the city switch on, city). Also on the decision webhooks. The comparisons with the billing address are rule facts and never appear here.
Show child attributes
deviceobject | nullRequired
The browser's time zone at the decision, or null when it sent none (unavailable.timezone: no_timezone).
Show child attributes
timezonestringRequired
An IANA zone (America/Los_Angeles).
utc_offset_minutesintegerRequired
The zone's UTC offset at the decision (-420 for Pacific summer time).
sourceenumRequired
Always browser: the zone is what the browser says. One of browser.
networkobjectRequired
The network behind the approving device, from the IP lookup; a relayed, VPN, proxy, hosting or Tor address gives no place.
Show child attributes
countrystring | nullRequired
ISO 3166-1 alpha-2, from the IP lookup.
regionstring | nullRequired
ISO 3166-2 (US-WA), from the IP lookup.
citystring | null
The city name the IP lookup gave. Present only where the server's network city switch is on; it ships off.
accuracy_radius_kmnumber | nullRequired
How far the provider says the IP's place may be off, in km.
sourceenumRequired
ip_intel when the IP lookup answered; published_lists otherwise. One of published_lists, ip_intel.
unavailableobjectRequired
Why a value is absent, by name (timezone, country, region, city): no_timezone, no_ip, network_relayed (iCloud Private Relay), network_vpn, network_hosting, network_tor, ip_intel_not_configured, ip_intel_failed, country_not_provided, region_not_provided, city_not_enabled (the switch is off) or city_not_provided.
mandateobject
Present only when the cart went over one of a grant's limits: the grant the agent presented and its chain line.
Show child attributes
idstring
The grant (mandate) id.
chain_textstring | null
"Valet Stays, a subagent of Valet, working on …"; null for a person's own grant.
over_limitobject
Present only when the cart went over one of a grant's limits and the lock's setting asks a person. Amounts are in major units of currency, as a grant's limits are. A yes is spent from the grant's chain (approved_over_limit).
Show child attributes
kindenum
The lock the cart went past first: amount (per purchase), budget, counterparty (the merchant list), currency, uses, purchases, category (kinds of merchant by MCC), country, block (a block list, when the block lock asks) or dates (the service window). One of amount, budget, counterparty, currency, uses, purchases, category, country, block, dates.
grant_idstring
The grant whose lock it went past (the one presented, or one above it).
limitnumber | null
That lock's limit (null for a list, a currency or a count).
amountnumber
The cart's total.
currencystring
The cart's ISO 4217 currency.
liftsarray of objects
The budgets a yes takes over, and by how much (each within its margin).
Show child attributes
grant_idstring
The grant whose budget it is.
limitnumber
The budget.
overnumber
How far over it the yes takes it.
sourceenum
Present only when limit is a line the agent set, not a limit the person set: agent_default for its ask_above default (PUT /v1/mandate/agents/{id}/defaults), usual_spend for its over_usual default over the person's usual spend in the purchase's category. Either line asks and never refuses. One of agent_default, usual_spend.
approver_linkenum
Once decided: same_person when the passkey is the one the grant's person registered, else unlinked. One of same_person, unlinked.
blockedboolean
Present when a yes couldn't complete: the chain can't take the cart now (deny_reason: approval_blocked).
budget_grant_idstring
With blocked: the grant that stopped it.
blocked_reasonstring
With blocked: why (grant_budget_exceeded, token_revoked, …).
spend_entry_idstring
Once approved: the spend entry the yes wrote (mse_…).
bank_checkobject
The bank check on a cart approval created with bank_check: your provider, where it stands and, once your provider answered, the outcome. Never a card number or a cryptogram.
Show child attributes
providerenumRequired
The provider you named. One of checkout_com, adyen, cybersource, stripe.
stateenumRequired
awaiting_approval until the person decides; requested once they approve (the threeds_requested webhook went); challenge while the bank's page is on the approval page; completed with an outcome; timed_out when your result didn't come in time; not_started when the person declined. One of awaiting_approval, requested, challenge, completed, timed_out, not_started.
requested_attimestamp
When the person approved and the check started.
expires_attimestamp
While waiting: when the check times out.
outcomeobject | nullRequired
What your provider said, as you reported it.
Show child attributes
trans_statusenum
The EMV transaction status. One of Y, A, N, R, U, I.
ecistring | null
The ECI your provider returned (05, 02, …).
authentication_idstring | null
The provider's or its 3DS server's id for the authentication.
versionstring | null
The EMV 3DS message version.
authenticatedboolean
True for Y: the bank authenticated the cardholder.
sourceenum
Your normalised report, or your provider's response read by our adapter. One of store, provider_response.
completed_attimestamp
When it completed or timed out.
ap2_mandatesobject
The AP2 v0.2 mandates Provenance signed after the person approved this exact cart with a passkey (present only on an approval created with ap2.issue, once it is decided). Each is an SD-JWT (dc+sd-jwt, ES256) that any AP2 verifier listing Provenance's AP2 JWKS as an issuer accepts. Signed again on each read with the same claims, as the intent token is.
Show child attributes
statusenumRequired
issued: the mandates are here. pending_app_signature: the person approved from the Provenance app and its key is signing; ask again after retry_after. holder_proof_required: a holder-bound request read without the agent's DPoP proof. revoked: the approval's token was revoked. not_issued: this approval issues none (reason). unavailable: the issuer is off or couldn't sign (reason). One of issued, pending_app_signature, holder_proof_required, revoked, not_issued, unavailable.
signerenum
With issued: Provenance's AP2 issuer key, or the person's app key under the issuer's attestation. One of provenance, app.
checkout_mandatestring
With issued: the closed Checkout Mandate (mandate.checkout.1), an SD-JWT.
payment_mandatestring
With issued, when the request named the payment instrument: the closed Payment Mandate (mandate.payment.1).
holder_boundboolean
With issued: the mandates name the agent's key in cnf.jwk (present them with a key-binding JWT).
expires_attimestamp
With issued: when these copies expire (never after the intent token inside).
issuer_jwks_urlstring
With issued: the AP2 issuer JWKS to list as a trusted issuer.
fallback_reasonenum
With issued: why the issuer key signed although the approval was opened from the app. One of app_signature_timeout, key_invalidated, user_cancelled, biometry_unavailable.
retry_afterinteger
With pending_app_signature: seconds to wait before asking again.
holder_jktstring
With holder_proof_required: the thumbprint of the key the DPoP proof must use.
reasonstring
With not_issued: not_approved, no_passkey, outside_confirmation, reused, store_review, checkout_jwt_missing or token_expired. With unavailable: ap2_issuer_unconfigured or signing_failed.
delivery_hintstring
customer only: where the link went, without the contact ("the phone ending 42").
remindersobject
Your reminders for this request, the same in every product. On the request's own reads, not on webhooks.
Show child attributes
sentinteger
Reminders sent.
leftinteger
Reminders left: sent, a held one and left add up to the limit.
last_sent_attimestamp | null
When the last reminder went.
last_channelenum
The channel the last reminder used (the first of notification, text and email that went). One of app_notification, webpush, text, email, inbox.
last_channelsarray of enums
Every channel the last reminder that went sent on: a reminder to a request addressed to a contact repeats the plan (the notification or the text, with the email). Its follow-up text is not counted here.
next_allowed_attimestamp | null
The earliest time a reminder can be asked for, when that is later than now.
scheduledobject | null
The reminder held until quiet hours end, if any.
Show child attributes
idstring
The reminder's ID (rem_…).
scheduled_fortimestamp
When its first held message goes.
channelstring
The channel it will use.
next_automatic_attimestamp | null
The next automatic reminder. Always null for now.
next_channelenum
Where a reminder asked for now would go (for a request with several people, the first person's). Never names an app notification in advance: it is tried at the send. One of app_notification, webpush, text, email, inbox.
next_channelsarray of enums
Every message a reminder asked for now would send (["text", "email"]), never naming an app notification in advance. Empty when no reminder can be sent, or when only the notification is left.
next_channel_reasonenum
Why that channel; text_opted_out means by email because the person stopped texts. text_sender_not_ready (your company has no approved number of its own) text_not_on_plan (the account is on Free) and text_no_consent (no consent to text on record for the phone) mean the text can't go: next_channel is the email that goes in its place, or null when the request has none. One of default, requested, text_opted_out, text_sender_not_ready, text_not_on_plan, text_no_consent.
blockedenum
Why no reminder can be sent, or null. person_rule: the person's own rules hold requests like this one. One of opted_out, self_delivery, agent_relay, no_contact, person_rule.
scheduleobject
The automatic schedule as tracked at create (the request's own reminders, or your account's), without the offsets left out for falling at or past the expiry. { "enabled": false, "after": [] } when none is tracked. A later change in Settings does not touch it.
Show child attributes
enabledboolean
Whether automatic reminders are tracked for this request.
afterarray of strings
The offsets from the request's creation (10m, 24h).
recipientsarray of objects
Present only for a request with several people (a group, a route): who a reminder can still reach. Pass one key as recipient to remind that person alone.
Show child attributes
keystring
The person's key (approver:lnk_…, user:…).
recipientstring
Their name, or a masked address; never the contact itself.
next_channelstring | null
Where their reminder would go now.

The checkout approval object

{
  "id": "coap_01M8FHYCSSP2BST6GFHM1E8DFM",
  "object": "checkout_approval",
  "status": "pending",
  "route": "agent_relay",
  "origin": "https://quillstack.example",
  "order_id": "ord_8815",
  "binding_version": 1,
  "expires_at": "2026-11-27T22:37:48.153Z",
  "created_at": "2026-11-27T22:27:48.153Z",
  "decided_at": null,
  "cart": {
    "merchant_name": "Quillstack",
    "total": 3800,
    "currency": "usd",
    "exponent": 2,
    "items": 1
  },
  "channels": null,
  "deliveries": [],
  "follow_up_text": null,
  "approval_context": null,
  "decided_via": null,
  "decided_method": null,
  "person_decision": null,
  "decline_reason": null,
  "decline_note": null
}

Events

Sent to your webhook endpoints when they subscribe:

  • authorize.checkout_approval.approved
  • authorize.checkout_approval.declined
  • authorize.checkout_approval.expired
  • authorize.checkout_approval.resend_requested
  • authorize.checkout_approval.in_review
  • authorize.checkout_approval.threeds_requested
  • authorize.checkout_approval.threeds_completed
  • authorize.checkout_approval.reminder_sent
  • authorize.checkout_approval.reminder_not_sent
  • authorize.checkout_approval.follow_up_sent
  • authorize.checkout_approval.follow_up_not_sent

Create a cart approval

POST/v1/authorize/checkout_approvals

Asks the shopper to approve this exact cart: returns the challenge for your checkout's 401, a public approve_url and a keyless status_url, or sends the link to your own customer at contact. A valid intent_token is verified first (ask once). Free.

Parameters

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
cartobjectRequired
An order, exactly as you pass it to checkoutBinding. The rich fields (binding v2) are optional; a cart without them keeps its hash.
Show child attributes
order_idstringRequired
Your order ID.
totalintegerRequired
The total in minor units: lines plus adjustments.
currencystringRequired
ISO 4217 code.
merchant_idstringRequired
Your merchant ID.
originstringRequired
Your store's origin, such as https://harborbean.example.
fulfillment_digeststring
A digest of the full delivery address.
itemsarray of objects
The cart lines (20 at most with the rich fields).
Show child attributes
skustringRequired
The SKU.
namestringRequired
The item name.
quantityintegerRequired
How many.
unit_amountintegerRequired
Price each, in minor units.
variantarray of objects
Up to 3 { name, value } pairs, such as Size: M.
Show child attributes
namestring
The option name.
valuestring
The chosen value.
image_urlstring
A picture of the item: https, on your origin. Display only. We keep a copy when the approval is created; the approval page shows it, and the approval email shows the first item's picture.
urlstring
The item's page: https, on your origin (the image_url rule). Display only and not part of the signed cart: the approval page links the item to it, opened in a new tab. The page keeps your line order.
service_periodobject
The dates of the service this line buys (hotel nights, a flight, a rental), in the place's own local time (binding v3: a cart with it hashes as binding_version: 3). Bound exactly as given. A grant's service_window is checked against it, and the approval page shows it.
Show child attributes
startstringRequired
A date (2027-03-12) or a date-time with an offset (2027-03-12T15:00:00+00:00).
endstringRequired
The same form, on or after start's date. For lodging, the check-out date.
adjustmentsarray of objects
Shipping, tax, discount and fee lines (discounts negative).
Show child attributes
kindenumRequired
The kind of line. One of shipping, tax, discount, fee.
labelstringRequired
What the page shows.
amountintegerRequired
Minor units; negative for a discount.
fulfillmentobject
The delivery method and estimate.
Show child attributes
method_labelstring
The method, such as Standard shipping.
estimate_fromstring
The earliest delivery date.
estimate_tostring
The latest delivery date.
return_policy_urlstring
Your return policy: https, on your origin.
merchantobject
What you declare about your store, as a 3-D Secure authentication request carries it (binding v3: a cart with it hashes as binding_version: 3). Bound into the payload hash. A grant's kinds of merchant and countries are checked against it, and everywhere it shows it reads as declared.
Show child attributes
mccstring
Your acquirer-assigned merchant category code (7011).
countrystring
Your ISO 3166-1 numeric country code (620 for Portugal).
displayobjectRequired
What the approval page shows besides the cart.
Show child attributes
merchant_namestringRequired
Your store's name, shown as "calls itself …".
ships_toobject
City, region and country only.
Show child attributes
citystring
The city.
regionstring
The state or region.
countrystring
The country.
retry_urlstringRequired
Where the agent retries the checkout with Provenance-Intent.
retry_methodstring
The retry's HTTP method (default POST).
expires_ininteger
Seconds the approval stays open (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.
contactobject
Who a checkout approval goes to, and the name you hold for them: a phone, an email or both, from your own records, and an optional name. A name sent alone is no contact to send to (the request reads as having no contact). The name is display only: it shows on your own reads of the assessment and the approval ("Approved by Maya Chen") and never in a share, a webhook, a signal or another account.
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.
customer_sourceenum
Required with contact: you attest the contact belongs to your customer's account with you. The older field name customer is refused. One of merchant_account.
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.
checkout_jwtstring
Your AP2 Checkout JWT for this cart. The challenge then carries ap2 content.
intent_tokenstring
The token the agent sent with this checkout (the Provenance-Intent header, or the ACP or x402 extension value). Verified first: valid for this cart, nobody is asked.
external_confirmationobject
A confirmation the person gave outside Provenance, accepted only when your policy's external_confirmations.accept lists its kind and it verifies for this exact cart. Screenshots, chat transcripts and an agent saying the person confirmed are never a kind. Every plan. See ask once.
Show child attributes
kindenumRequired
ap2_user_mandate: a closed AP2 0.2 mandate SD-JWT; spc: a Secure Payment Confirmation; platform: a listed agent platform's signed confirmation. One of ap2_user_mandate, spc, platform.
evidencestring | objectRequired
The SD-JWT presentation (ap2_user_mandate) or compact JWS (platform) as a string, or the SPC assertion as an object.
Show child attributes
credential_idstring
The passkey's credential ID.
assertionobject
The assertion, base64url fields.
Show child attributes
authenticator_datastringRequired
base64url authenticator data.
client_data_jsonstringRequired
base64url clientDataJSON (type: payment.get).
signaturestringRequired
base64url signature.
public_keystring | object
A passkey your store registered itself: its public key (PEM or JWK). The confirmation is then labelled as your store's credential.
payment_referencestring
The payment you created for this cart (a Stripe PaymentIntent pi_… or charge ch_…), so a chargeback on it finds this decision.
billing_addressobject
Your customer's billing address (store-attested), kept sealed in full with the approval. Your read of the approval returns it; lists and webhooks carry billing, the coarse fields.
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. 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.
ap2object
Ask Provenance to sign the AP2 v0.2 mandates once the person approves with a passkey: the closed Checkout Mandate, and the closed Payment Mandate when payment_instrument is given. Needs checkout_jwt. Pro, or a Free account in its trial; 503 ap2_issuer_unconfigured until this deployment turns the AP2 issuer on.
Show child attributes
issueenumRequired
Sign the mandates. One of true.
holder_keyobject
The agent's P-256 public JWK (kty, crv, x, y): the mandates name it in cnf.jwk, and collecting them from the keyless status needs a DPoP proof from it.
payment_instrumentobject
With ap2: AP2's payment instrument descriptor, so Provenance signs a Payment Mandate too.
Show child attributes
idstringRequired
Your credential provider's id for the instrument.
typestringRequired
card, dpc, …
descriptionstring
What the person sees ("Visa ···· 4242").
payment_methodobject
The card in use (brand, last4, wallet), shown on the approval email and page. More than 4 digits is refused. Display only; not part of the signed cart.
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").

Returns

With contact: the pending approval this customer already has at this origin (deduped: true). See the checkout approval object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/checkout_approvals" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cart": {
      "order_id": "ord_8812",
      "total": 4250,
      "currency": "USD",
      "merchant_id": "harborbean",
      "origin": "https://harborbean.example",
      "items": [
        {
          "sku": "mug-sage",
          "name": "Stoneware mug",
          "quantity": 2,
          "unit_amount": 1900,
          "variant": [
            {
              "name": "Color",
              "value": "Sage"
            }
          ]
        }
      ],
      "adjustments": [
        {
          "kind": "shipping",
          "label": "Standard shipping",
          "amount": 650
        },
        {
          "kind": "discount",
          "label": "WELCOME",
          "amount": -200
        }
      ],
      "fulfillment": {
        "method_label": "Standard shipping",
        "estimate_from": "2026-11-02",
        "estimate_to": "2026-11-05"
      }
    },
    "display": {
      "merchant_name": "Harbor Bean"
    },
    "retry_url": "https://harborbean.example/checkout",
    "billing_address": {
      "line1": "18 Harrow Lane",
      "line2": null,
      "city": "Portland",
      "region": "OR",
      "postal_code": "97205",
      "country": "US"
    },
    "contact": {
      "name": "Maya Chen"
    }
  }'

Response 200

{
  "id": "coap_01M5WXCPYHRFYPH9C3E4KR6RFX",
  "object": "checkout_approval",
  "status": "pending",
  "route": "customer",
  "origin": "https://quillstack.example",
  "order_id": "ord_8814",
  "binding_version": 1,
  "expires_at": "2026-10-26T20:15:00.000Z",
  "created_at": "2026-10-26T20:00:00.000Z",
  "decided_at": null,
  "delivery": {
    "channel": "email",
    "delivered": true,
    "sender": "default"
  },
  "deduped": true
}

Create an SPC challenge for a cart

POST/v1/authorize/checkout_approvals/spc_challenge

Returns a single-use challenge bound to this exact cart. Run Secure Payment Confirmation with it at checkout, then send the assertion as external_confirmation (kind: spc) when you create the cart approval. See ask once.

Parameters

cartobjectRequired
An order, exactly as you pass it to checkoutBinding. The rich fields (binding v2) are optional; a cart without them keeps its hash.
Show child attributes
order_idstringRequired
Your order ID.
totalintegerRequired
The total in minor units: lines plus adjustments.
currencystringRequired
ISO 4217 code.
merchant_idstringRequired
Your merchant ID.
originstringRequired
Your store's origin, such as https://harborbean.example.
fulfillment_digeststring
A digest of the full delivery address.
itemsarray of objects
The cart lines (20 at most with the rich fields).
Show child attributes
skustringRequired
The SKU.
namestringRequired
The item name.
quantityintegerRequired
How many.
unit_amountintegerRequired
Price each, in minor units.
variantarray of objects
Up to 3 { name, value } pairs, such as Size: M.
Show child attributes
namestring
The option name.
valuestring
The chosen value.
image_urlstring
A picture of the item: https, on your origin. Display only. We keep a copy when the approval is created; the approval page shows it, and the approval email shows the first item's picture.
urlstring
The item's page: https, on your origin (the image_url rule). Display only and not part of the signed cart: the approval page links the item to it, opened in a new tab. The page keeps your line order.
service_periodobject
The dates of the service this line buys (hotel nights, a flight, a rental), in the place's own local time (binding v3: a cart with it hashes as binding_version: 3). Bound exactly as given. A grant's service_window is checked against it, and the approval page shows it.
Show child attributes
startstringRequired
A date (2027-03-12) or a date-time with an offset (2027-03-12T15:00:00+00:00).
endstringRequired
The same form, on or after start's date. For lodging, the check-out date.
adjustmentsarray of objects
Shipping, tax, discount and fee lines (discounts negative).
Show child attributes
kindenumRequired
The kind of line. One of shipping, tax, discount, fee.
labelstringRequired
What the page shows.
amountintegerRequired
Minor units; negative for a discount.
fulfillmentobject
The delivery method and estimate.
Show child attributes
method_labelstring
The method, such as Standard shipping.
estimate_fromstring
The earliest delivery date.
estimate_tostring
The latest delivery date.
return_policy_urlstring
Your return policy: https, on your origin.
merchantobject
What you declare about your store, as a 3-D Secure authentication request carries it (binding v3: a cart with it hashes as binding_version: 3). Bound into the payload hash. A grant's kinds of merchant and countries are checked against it, and everywhere it shows it reads as declared.
Show child attributes
mccstring
Your acquirer-assigned merchant category code (7011).
countrystring
Your ISO 3166-1 numeric country code (620 for Portugal).

Returns

The challenge.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/checkout_approvals/spc_challenge" \
  -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": "hb-1",
          "name": "House Blend, 1 lb",
          "quantity": 2,
          "unit_amount": 1900
        }
      ]
    }
  }'

Response 200

{
  "object": "spc_challenge",
  "challenge": "r1t98m2-e0v_LKNo5fz6XFPxpMPQ6mJfX40veLLUeR80BHWLzupoX2bxFRdNZwyc",
  "expires_at": "2026-11-07T19:26:46.666Z",
  "rp_id": "localhost"
}

Retrieve a cart approval

GET/v1/authorize/checkout_approvals/{id}

One cart approval: its status and, once approved, the cart-bound intent_token (and ap2 content when you passed a Checkout JWT) and approver, what you learn about the person who decided.

Parameters

idstringpathRequired
The approval's coap_ ID.

Returns

The cart approval. See the checkout approval object.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -s -X POST "$PROVENANCE_API/v1/authorize/checkout_approvals" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cart": {
      "order_id": "ord_8816",
      "total": 3800,
      "currency": "USD",
      "merchant_id": "quillstack",
      "origin": "https://quillstack.example",
      "items": [
        {
          "sku": "nb-a5",
          "name": "Linen notebook, A5",
          "quantity": 2,
          "unit_amount": 1900
        }
      ]
    },
    "display": {
      "merchant_name": "Quillstack"
    },
    "retry_url": "https://quillstack.example/checkout",
    "billing_address": {
      "line1": "18 Harrow Lane",
      "city": "Portland",
      "region": "OR",
      "postal_code": "97205",
      "country": "US"
    }
  }' > step.json
export COAP_ID=$(jq -r '.id' step.json)
curl "$PROVENANCE_API/v1/authorize/checkout_approvals/$COAP_ID" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "id": "coap_01M8FHYCTMDWAN3RTS7919BTDR",
  "object": "checkout_approval",
  "status": "pending",
  "route": "agent_relay",
  "origin": "https://quillstack.example",
  "order_id": "ord_8816",
  "binding_version": 1,
  "expires_at": "2026-11-27T22:37:48.179Z",
  "created_at": "2026-11-27T22:27:48.179Z",
  "decided_at": null,
  "cart": {
    "merchant_name": "Quillstack",
    "total": 3800,
    "currency": "usd",
    "exponent": 2,
    "items": 1
  },
  "channels": null,
  "deliveries": [],
  "follow_up_text": null,
  "approval_context": null,
  "billing": {
    "country": "US",
    "region": "US-OR",
    "postal_prefix": "972",
    "source": "merchant"
  },
  "reminders": {
    "sent": 0,
    "left": 3,
    "last_sent_at": null,
    "last_channel": null,
    "last_channels": [],
    "next_allowed_at": null,
    "scheduled": null,
    "next_automatic_at": null,
    "next_channel": null,
    "next_channels": [],
    "next_channel_reason": null,
    "blocked": "agent_relay",
    "schedule": {
      "enabled": false,
      "after": []
    }
  },
  "decided_via": null,
  "decided_method": null,
  "person_decision": null,
  "decline_reason": null,
  "decline_note": null
}

Retrieve your checkout approval settings

GET/v1/authorize/settings/checkout_approvals

Whether an expired approval page offers "Ask {store} to send a new link" (resend_on_expiry, off by default).

Parameters

No parameters.

Returns

The settings.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/settings/checkout_approvals" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "checkout_approval_settings",
  "resend_on_expiry": false
}

Retrieve a cart picture

GET/v1/authorize/checkout_images/{id}

A cart picture from our copy (PNG, JPEG or WebP), fetched once from the store when the approval was created and kept 30 days. The approval page loads pictures only from here.

No API key needed.

Parameters

idstringpathRequired
The picture's ID, from the image_url in the approval's display.

Returns

The picture.

Errors

curl "$PROVENANCE_API/v1/authorize/checkout_images/Zk3pQ8vN2xR7tB4mW9sYd1"

Update your checkout approval settings

PUT/v1/authorize/settings/checkout_approvals

Turn on resend_on_expiry to let a person ask for a new link from an expired approval page. Each request sends authorize.checkout_approval.resend_requested once; you and the agent send a fresh approval for the same cart.

Parameters

resend_on_expirybooleanRequired
Offer "Ask {store} to send a new link" on an expired approval page.

Returns

The settings now.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X PUT "$PROVENANCE_API/v1/authorize/settings/checkout_approvals" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "resend_on_expiry": true }'
curl -s -X PUT "$PROVENANCE_API/v1/authorize/settings/checkout_approvals" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "resend_on_expiry": false }' > /dev/null

Response 200

{
  "object": "checkout_approval_settings",
  "resend_on_expiry": true
}

List cart approvals

GET/v1/authorize/checkout_approvals

Your account's cart approvals, newest first.

Parameters

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.
statusenumquery
Only approvals with this status. in_review lists the orders waiting for your review. One of pending, in_review, approved, declined, expired.

Returns

A page of cart approvals.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -s -X POST "$PROVENANCE_API/v1/authorize/checkout_approvals" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "cart": {
      "order_id": "ord_8815",
      "total": 3800,
      "currency": "USD",
      "merchant_id": "quillstack",
      "origin": "https://quillstack.example",
      "items": [
        {
          "sku": "nb-a5",
          "name": "Linen notebook, A5",
          "quantity": 2,
          "unit_amount": 1900
        }
      ]
    },
    "display": {
      "merchant_name": "Quillstack"
    },
    "retry_url": "https://quillstack.example/checkout"
  }' > /dev/null
curl "$PROVENANCE_API/v1/authorize/checkout_approvals?limit=100" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "id": "coap_01M8FHYCSSP2BST6GFHM1E8DFM",
      "object": "checkout_approval",
      "status": "pending",
      "route": "agent_relay",
      "origin": "https://quillstack.example",
      "order_id": "ord_8815",
      "binding_version": 1,
      "expires_at": "2026-11-27T22:37:48.153Z",
      "created_at": "2026-11-27T22:27:48.153Z",
      "decided_at": null,
      "cart": {
        "merchant_name": "Quillstack",
        "total": 3800,
        "currency": "usd",
        "exponent": 2,
        "items": 1
      },
      "channels": null,
      "deliveries": [],
      "follow_up_text": null,
      "approval_context": null,
      "decided_via": null,
      "decided_method": null,
      "person_decision": null,
      "decline_reason": null,
      "decline_note": null
    },
    {
      "id": "coap_01M8FHYCSM5202F92ZGVK205FM",
      "object": "checkout_approval",
      "status": "pending",
      "route": "agent_relay",
      "origin": "https://harborbean.example",
      "order_id": "ord_8812",
      "binding_version": 2,
      "expires_at": "2026-11-27T22:37:48.147Z",
      "created_at": "2026-11-27T22:27:48.147Z",
      "decided_at": null,
      "contact": {
        "name": "Maya Chen"
      },
      "cart": {
        "merchant_name": "Harbor Bean",
        "total": 4250,
        "currency": "usd",
        "exponent": 2,
        "items": 1
      },
      "channels": null,
      "deliveries": [],
      "follow_up_text": null,
      "approval_context": null,
      "billing": {
        "country": "US",
        "region": "US-OR",
        "postal_prefix": "972",
        "source": "merchant"
      },
      "decided_via": null,
      "decided_method": null,
      "person_decision": null,
      "decline_reason": null,
      "decline_note": null
    }
  ],
  "has_more": false,
  "next_cursor": null
}

List a cart approval's reminders

GET/v1/authorize/checkout_approvals/{id}/reminders

Every reminder asked for on one cart approval, oldest first, with how each ended.

Parameters

idstringpathRequired
The cart approval's ID (coap_…).

Returns

The reminders.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "object": "reminder",
      "id": "rem_01JCXC7N2P5R8T1V4W7Y0Z3Q6S",
      "request": {
        "object": "checkout_approval",
        "id": "coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD"
      },
      "trigger": "api",
      "status": "sent",
      "scheduled_for": null,
      "deliveries": [
        {
          "recipient_key": "contact",
          "recipient": "•••• 0147",
          "channel": "text",
          "channel_reason": "default",
          "status": "sent"
        }
      ],
      "reason": null,
      "link_expires_at": "2026-11-12T19:58:00.000Z",
      "reminders_left": 2,
      "next_allowed_at": null,
      "quiet_hours": {
        "time_zone": "America/Chicago",
        "source": "account"
      },
      "sent_at": "2026-11-12T19:43:00.000Z",
      "created_at": "2026-11-12T19:43:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

Report a bank check's result

POST/v1/authorize/checkout_approvals/{id}/threeds_results

What your payment provider said on an approval's bank check: a challenge for the approval page to frame (trans_status C with an https challenge), or the outcome. Send it normalised, or as your provider's own response (provider_response), which Provenance reads with that provider's adapter. Never send a card number; a cryptogram in a provider response is not kept. See the bank check guide.

Parameters

idstringpathRequired
The approval's coap_ ID.
trans_statusenum
The EMV transaction status (C: the bank asks for a challenge). One of Y, A, N, R, U, C, I.
ecistring
The ECI your provider returned.
authentication_idstring
The provider's id for the authentication.
versionstring
The EMV 3DS message version.
challengeobject
With C: the https page the approval page frames, and the form fields to post to it.
Show child attributes
urlstringRequired
An https URL.
methodenum
How to load it (default POST). One of POST, GET.
fieldsobject
Form fields (creq, JWT, …).
provider_responseobject
Your provider's authentication response, as it came.

Returns

The bank check as it now stands.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/checkout_approvals/coap_01M7P1EQ44Z7FS8K6VGSWM43FP/threeds_results" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"trans_status":"Y","eci":"05","authentication_id":"8a880dc0-d2d2-4067-bcb1-b08d1690b26e","version":"2.2.0"}'

Response 200

{
  "object": "checkout_approval_bank_check",
  "checkout_approval_id": "coap_01M7P1EQ44Z7FS8K6VGSWM43FP",
  "provider": "adyen",
  "state": "completed",
  "requested_at": "2026-11-21T10:02:12.000Z",
  "outcome": {
    "trans_status": "Y",
    "eci": "05",
    "authentication_id": "8a880dc0-d2d2-4067-bcb1-b08d1690b26e",
    "version": "2.2.0",
    "authenticated": true,
    "source": "store"
  },
  "completed_at": "2026-11-21T10:02:15.000Z"
}

Remind the shopper

POST/v1/authorize/checkout_approvals/{id}/reminders

Sends the pending cart approval to your customer again, with a fresh link, as the first message went: the app notification or the text, with the email, counted once, and the notification's own follow-up text. A stopped phone is reminded by email. Up to 3 per approval, 10 minutes apart. Emits authorize.checkout_approval.reminder_sent. See reminders.

Parameters

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
idstringpathRequired
The cart approval's ID (coap_…).
channelenum
Pins the channel (app_notification, email or text; sms and app_push are refused); it must be one the approval has and its channels allow. That message goes alone, with no follow-up text. One of app_notification, text, email.
recipientstring
For a request with several people, one recipient key. A cart approval has one: contact.

Returns

The reminder, sent or held until quiet hours end.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 201

{
  "object": "reminder",
  "id": "rem_01JCXC7N2P5R8T1V4W7Y0Z3Q6S",
  "request": {
    "object": "checkout_approval",
    "id": "coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD"
  },
  "trigger": "api",
  "status": "sent",
  "scheduled_for": null,
  "deliveries": [
    {
      "recipient_key": "contact",
      "recipient": "•••• 0147",
      "channel": "text",
      "channel_reason": "default",
      "status": "sent"
    }
  ],
  "reason": null,
  "link_expires_at": "2026-11-12T19:58:00.000Z",
  "reminders_left": 2,
  "next_allowed_at": "2026-11-12T19:53:00.000Z",
  "quiet_hours": {
    "time_zone": "America/Chicago",
    "source": "account"
  },
  "sent_at": "2026-11-12T19:43:00.000Z",
  "created_at": "2026-11-12T19:43:00.000Z"
}

Cancel a held reminder

DELETE/v1/authorize/checkout_approvals/{id}/reminders/{reminder_id}

Cancels a reminder held until quiet hours end, before it goes. Only a scheduled reminder can be cancelled. When nothing in the round has gone it reads cancelled and the count is given back. No reminder webhook fires. See reminders.

Parameters

idstringpathRequired
The cart approval's ID (coap_…).
reminder_idstringpathRequired
The held reminder's ID (rem_…), from the request's reminders.scheduled.id or its reminders list.

Returns

The reminder as it ended.

Errors

export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X DELETE "$PROVENANCE_API/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders/rem_01JCXC7N2P5R8T1V4W7Y0Z3Q6S" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "reminder",
  "id": "rem_01JCXC7N2P5R8T1V4W7Y0Z3Q6S",
  "request": {
    "object": "checkout_approval",
    "id": "coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD"
  },
  "trigger": "api",
  "status": "cancelled",
  "scheduled_for": "2026-11-12T14:00:00.000Z",
  "deliveries": [
    {
      "recipient_key": "contact",
      "recipient": "•••• 0147",
      "channel": "text",
      "channel_reason": "default",
      "status": "not_sent",
      "reason": "cancelled"
    }
  ],
  "reason": "cancelled",
  "link_expires_at": null,
  "reminders_left": 3,
  "next_allowed_at": null,
  "quiet_hours": {
    "time_zone": "America/Chicago",
    "source": "account"
  },
  "sent_at": null,
  "created_at": "2026-11-12T13:52:00.000Z"
}

Was this page helpful? Send us feedback

LLM? Read llms.txt.