# 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](https://provenanceauth.com/docs/authorize/guides/ask-your-own-customer.md)

## Endpoints

- `POST /v1/authorize/checkout_approvals`: [Create a cart approval](#post-v1-authorize-checkout-approvals)
- `POST /v1/authorize/checkout_approvals/spc_challenge`: [Create an SPC challenge for a cart](#post-v1-authorize-checkout-approvals-spc-challenge)
- `GET /v1/authorize/checkout_approvals/{id}`: [Retrieve a cart approval](#get-v1-authorize-checkout-approvals-id)
- `GET /v1/authorize/settings/checkout_approvals`: [Retrieve your checkout approval settings](#get-v1-authorize-settings-checkout-approvals)
- `GET /v1/authorize/checkout_images/{id}`: [Retrieve a cart picture](#get-v1-authorize-checkout-images-id)
- `PUT /v1/authorize/settings/checkout_approvals`: [Update your checkout approval settings](#put-v1-authorize-settings-checkout-approvals)
- `GET /v1/authorize/checkout_approvals`: [List cart approvals](#get-v1-authorize-checkout-approvals)
- `GET /v1/authorize/checkout_approvals/{id}/reminders`: [List a cart approval's reminders](#get-v1-authorize-checkout-approvals-id-reminders)
- `POST /v1/authorize/checkout_approvals/{id}/threeds_results`: [Report a bank check's result](#post-v1-authorize-checkout-approvals-id-threeds-results)
- `POST /v1/authorize/checkout_approvals/{id}/reminders`: [Remind the shopper](#post-v1-authorize-checkout-approvals-id-reminders)
- `DELETE /v1/authorize/checkout_approvals/{id}/reminders/{reminder_id}`: [Cancel a held reminder](#delete-v1-authorize-checkout-approvals-id-reminders-reminder-id)

## The checkout approval object

### Attributes

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | no | Unique identifier for the object (`coap_…`). |
| `object` | enum | no | The type of object. One of `checkout_approval`. |
| `status` | enum | no | 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`. |
| `route` | enum | no | How the person is reached: the agent shows the link, or we send it to your customer. One of `agent_relay`, `customer`. |
| `origin` | string | no | The store origin from the cart. |
| `order_id` | string | no | The order ID from the cart. |
| `binding_version` | enum | no | 2 when the cart uses the rich fields. One of `1`, `2`. |
| `expires_at` | timestamp | no | When it expires. |
| `created_at` | timestamp | no | When it was created. |
| `decided_at` | timestamp \| null | no | When it was decided. |
| `payment_reference` | string | no | The payment you named (`payment_reference`), when you sent one. |
| `cart` | object | no | 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. |
| `cart.merchant_name` | string \| null | no | The store name shown to the person. |
| `cart.total` | integer | no | The order total in minor units. |
| `cart.currency` | string | no | The ISO 4217 currency code. |
| `cart.exponent` | integer | no | The currency's minor-unit exponent. |
| `cart.items` | integer | no | The number of lines in the cart. |
| `approve_url` | string | no | On create: the public link for the person. |
| `status_url` | string | no | On create: where the agent polls for the token (keyless). |
| `challenge` | object | no | On create: send this as your checkout's 401, headers and body unchanged. |
| `challenge.headers` | object | no | `WWW-Authenticate`, `Content-Type` and `Cache-Control`. |
| `challenge.body` | object | no | The RFC 9457 problem with `approval_request` (and its `approve_url`, `status_url` and `ap2`). |
| `deduped` | boolean | no | `customer` only: this is the approval already pending for this customer. |
| `delivery` | object | no | `customer` only: the delivery result (`channel`: `text`, `email` or `app_notification`; `delivered`; `reason`). |
| `channels` | array of enums \| null | no | The channels in force, fixed at create (null on the agent relay). |
| `deliveries` | array of objects | no | One entry per message of the first send (empty on the agent relay), and the follow-up text after an app notification. |
| `deliveries.recipient` | string | yes | 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. |
| `deliveries.channel` | enum | yes | The channel the message used. One of `app_notification`, `email`, `text`. |
| `deliveries.channel_reason` | enum | yes | 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`. |
| `deliveries.status` | enum | yes | 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`. |
| `deliveries.sent_at` | timestamp | no | With `sent`: when it went. |
| `deliveries.reason` | string | no | 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`. |
| `deliveries.when` | enum | no | A follow-up text's trigger, from the request's `follow_up_text.when`. One of `not_opened`, `not_finished`. |
| `deliveries.scheduled_for` | timestamp | no | 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). |
| `deliveries.held_until_quiet_end` | boolean | no | A waiting follow-up held for the night: `scheduled_for` is the end of quiet hours (8 am unless you widened them). |
| `deliveries.quiet_hours` | object | no | 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. |
| `deliveries.quiet_hours.time_zone` | string | yes | An IANA time zone. |
| `deliveries.quiet_hours.source` | enum | yes | `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`. |
| `deliveries.test` | boolean | no | In the sandbox, a text recorded by the test provider and never sent. |
| `deliveries.sender` | enum | no | 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`. |
| `deliveries.consent_id` | string | no | 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_text` | object \| any \| null | no | The follow-up text in force, fixed at create (null on the agent relay). |
| `follow_up_text.enabled` | boolean | no | Whether a follow-up text goes after a notification. |
| `follow_up_text.when` | enum | no | `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`. |
| `follow_up_text.after_minutes` | integer | no | The wait in minutes, counted from the notification. |
| `contact` | object | no | 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. |
| `contact.name` | string | no | The shopper's name you sent with the approval or its assessment. |
| `contact.text_consent` | object | no | 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. |
| `contact.text_consent.status` | enum | yes | `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`. |
| `contact.text_consent.source` | enum | no | 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`. |
| `contact.text_consent.granted_at` | timestamp | no | With `active`: when the consent was recorded (for `everyone`, when you made the statement). |
| `contact.text_consent.withdrawn_at` | timestamp | no | With `none`: when the phone's latest consent was withdrawn (STOP, the person, you or the provider). Absent when there never was one. |
| `decline_note` | string \| null | no | With `declined`: the person's short note (at most 280 characters, links and phone numbers removed); null otherwise. |
| `payment_method` | object | no | 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`. |
| `payment_method.brand` | enum | no | The card brand. One of `visa`, `mastercard`, `amex`, `discover`, `jcb`, `unionpay`, `diners`, `other`. |
| `payment_method.last4` | string | no | Exactly the last 4 digits. |
| `payment_method.wallet` | enum | no | The wallet the card is used through, when there is one. One of `apple_pay`, `google_pay`, `link`, `paypal`, `shop_pay`. |
| `payment_method.description` | string | no | On a read: the line the page shows ("Visa ···· 4242 · Apple Pay"). |
| `resend_requested_at` | timestamp | no | When the person asked for a new link from the expired page (also `authorize.checkout_approval.resend_requested`). |
| `decline_reason` | string \| null | no | 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_decision` | enum | no | 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_method` | enum | no | 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`. |
| `review` | object | no | 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. |
| `review.rule_id` | string \| null | no | The after-approval rule that asked for the review (null when the rules couldn't run). |
| `review.policy_version` | integer \| null | no | The version of your checkout rules that asked (null on the built-in rules). |
| `review.opened_at` | timestamp | no | When the review opened (the person's yes). |
| `review.expires_at` | timestamp | no | When it times out: `checkout_review_timeout` after it opened. |
| `review.at_expiry` | enum | no | What happens at `expires_at` if nobody decides: your account's `checkout_review_at_expiry` when it opened. One of `reject`, `approve`. |
| `review.decided_at` | timestamp \| null | no | When it was decided. |
| `review.decided_by` | enum | no | Who decided: your API (`store`), a member in the console (`console`) or the timeout. One of `store`, `console`, `timeout`. |
| `review.decision` | enum | no | The decision. One of `approve`, `reject`. |
| `review.note` | string \| null | no | Your note, when you sent one (never shown to the customer). |
| `review.reason` | enum | no | 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_token` | string | no | Once approved: the cart-bound token. Verify it with `verifyAgentCheckout`. |
| `ap2` | object | no | Once approved, with a Checkout JWT: closed AP2 0.2 mandate content for the agent's surface to sign. |
| `approval_context` | object \| any \| null | no | 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. |
| `approval_context.object` | enum | no | The type of object. One of `approval_context`. |
| `approval_context.id` | string | no | Unique identifier for the object (`apc_…`). |
| `approval_context.subject` | object | no | What the person decided. |
| `approval_context.subject.type` | enum | yes | 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`. |
| `approval_context.subject.id` | string | yes | Its id (an intent token is its `jti`; a captured item is `capr_…:<index>`). |
| `approval_context.decision` | enum | no | The person's own answer; `captured` for a capture. One of `approved`, `declined`, `captured`. |
| `approval_context.decided_at` | timestamp | no | When the person decided. |
| `approval_context.method` | object | no | How the person decided. |
| `approval_context.method.kind` | enum | yes | 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`. |
| `approval_context.method.authenticator` | enum | yes | 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`. |
| `approval_context.method.user_verified` | boolean | yes | True when the assertion's user-verification flag was set (face, fingerprint or the screen lock). |
| `approval_context.method.step_up` | object \| null | yes | What confirmed the customer contact for a new passkey under `step_up_contact`, when it applied. |
| `approval_context.method.step_up.method` | enum | no | `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`. |
| `approval_context.method.step_up.channel` | enum | no | Where the code went, or which message carried the link. One of `sms`, `email`. |
| `approval_context.method.step_up.verified_at` | timestamp | no | When the code matched, or when the passkey approved through that link. |
| `approval_context.passkey` | object \| null | no | The passkey that decided; null for any other method. |
| `approval_context.passkey.status` | enum | no | `new` when it was younger than the store's minimum age or set up during the approval. One of `new`, `existing`. |
| `approval_context.passkey.age` | object | no | Its age at the decision: whole days, and the minutes past them. |
| `approval_context.passkey.age.days` | integer | no | Whole days. |
| `approval_context.passkey.age.minutes` | integer | no | Minutes past the whole days. |
| `approval_context.passkey.created_during_approval` | boolean | no | Set up on this approval's page. |
| `approval_context.passkey.synced` | boolean \| null | no | A synced (backed-up) passkey; null when the authenticator didn't say. |
| `approval_context.passkey.provider` | string \| null | no | The provider its AAGUID names (the authenticator's own claim); null when unknown. |
| `approval_context.passkey.provider_attested` | enum | no | Always false: the provider is the authenticator's own claim. One of `false`. |
| `approval_context.device` | object \| null | no | The device the person decided on, as it reported itself (or, with the app's device key, as it enrolled). |
| `approval_context.device.os` | string \| null | no | `ios`, `ipados`, `android`, `macos`, `windows`, `linux` or `other`. |
| `approval_context.device.os_version` | string \| null | no | The OS version, for phones (desktop browsers freeze theirs). |
| `approval_context.device.browser` | string \| null | no | `safari`, `chrome`, `edge`, `firefox`, `samsung` or `other`; null in an app. |
| `approval_context.device.source` | enum | no | Where the device facts came from. One of `user_agent`, `app_attestation`. |
| `approval_context.device.verified` | boolean | no | True only when the server verified the device's attestation. |
| `approval_context.device.time_zone` | object \| null | no | The device's time zone, as reported (never verified). |
| `approval_context.device.time_zone.name` | string | no | IANA name (`America/Los_Angeles`). |
| `approval_context.device.time_zone.utc_offset_minutes` | integer | no | Its offset at the decision. |
| `approval_context.device.time_zone.source` | enum | no | Who reported it. One of `browser`, `app`. |
| `approval_context.device.time_zone.verified` | enum | no | Always false. One of `false`. |
| `approval_context.device.locale` | string \| null | no | The language tag (`en-US`). |
| `approval_context.network` | object \| null | no | The connection the decision came from: a provider's estimate of its place, and its flags. |
| `approval_context.network.country` | string \| null | no | ISO 3166-1 alpha-2. |
| `approval_context.network.region` | string \| null | no | ISO 3166-2 (`US-OR`). |
| `approval_context.network.city` | string \| null | no | The city, only while the network city switch is on. |
| `approval_context.network.city_status` | enum | no | Whether the city switch is on. One of `enabled`, `not_enabled`. |
| `approval_context.network.flags` | object | no | What the published lists and the IP lookup say about the network. |
| `approval_context.network.flags.vpn` | boolean | no | A VPN service. |
| `approval_context.network.flags.proxy` | boolean | no | A proxy. |
| `approval_context.network.flags.hosting_provider` | boolean | no | A cloud or hosting provider's range. |
| `approval_context.network.flags.tor` | boolean | no | A Tor exit. |
| `approval_context.network.flags.private_relay` | boolean | no | iCloud Private Relay (a privacy feature, never counted as a VPN). |
| `approval_context.network.asn` | integer \| null | no | The network's AS number, from the IP lookup provider; null without one. |
| `approval_context.network.source` | enum | no | Where the place and flags came from. One of `published_lists`, `ip_intel`. |
| `approval_context.network.ip` | string \| null | no | The address, only while your IP sharing switch is on and the sealed copy is kept; null otherwise. |
| `approval_context.location_match` | enum | no | 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`. |
| `approval_context.location_match_basis` | array of enums | no | 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. |
| `approval_context.browser_details` | object | no | 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. |
| `approval_context.browser_details.screen_width` | integer \| null | yes | The screen's width in CSS pixels (`screen.width`). |
| `approval_context.browser_details.screen_height` | integer \| null | yes | The screen's height in CSS pixels (`screen.height`). |
| `approval_context.browser_details.color_depth` | enum | yes | Bits per pixel (`screen.colorDepth`). One of `1`, `4`, `8`, `15`, `16`, `24`, `30`, `32`, `48`. |
| `approval_context.browser_details.language` | string \| null | yes | The browser's language (`navigator.language`). |
| `approval_context.browser_details.java_enabled` | boolean \| null | yes | Whether Java is enabled (`navigator.javaEnabled()`). |
| `approval_context.browser_details.javascript_enabled` | boolean \| null | yes | Whether JavaScript ran (true when the page sent the block). |
| `approval_context.browser_details.utc_offset_minutes` | integer \| null | yes | Local time minus UTC, in minutes. |
| `approval_context.browser_details.user_agent` | string \| null | yes | The request's `User-Agent` header (at most 2,048 characters). |
| `approval_context.browser_details.accept_header` | string \| null | yes | The request's `Accept` header (at most 2,048 characters). |
| `approval_context.browser_details.source` | enum | yes | Where the fields came from. One of `browser`. |
| `approval_context.browser_details.verified` | enum | yes | Always false: as the browser reported them. One of `false`. |
| `approval_context.billing` | object | no | A cart approval's context only: the full billing address you sent, to your own key and console (never on a webhook); null otherwise. |
| `approval_context.billing.line1` | string \| null | yes | The street line. |
| `approval_context.billing.line2` | string \| null | yes | The second line. |
| `approval_context.billing.city` | string \| null | yes | The city. |
| `approval_context.billing.region` | string \| null | yes | ISO 3166-2 (`US-OR`) where the region table maps it (US, Canada, Australia); else as you sent it. |
| `approval_context.billing.postal_code` | string \| null | yes | The postal code as you sent it. |
| `approval_context.billing.country` | string | yes | ISO 3166-1 alpha-2. |
| `approval_context.billing.source` | enum | yes | Always `merchant`: your store attested it. One of `merchant`. |
| `approval_context.person` | object | no | Who decided, as far as Provenance can say without identifying them. |
| `approval_context.person.pseudonym` | string \| null | no | A per-store pseudonym for the passkey, on cart approvals. |
| `approval_context.person.link` | enum | no | Over a grant's limit: whether the passkey is the grant's own person's. One of `same_person`, `unlinked`, `not_applicable`. |
| `approval_context.external` | object \| null | no | With `method.kind: external`: the confirmation given outside Provenance. |
| `approval_context.external.kind` | enum | no | The kind of outside confirmation. One of `ap2_user_mandate`, `spc`, `platform`. |
| `approval_context.external.issuer` | string \| null | no | Who issued it. |
| `approval_context.external.evidence_hash` | string \| null | no | The hash of the evidence verified. |
| `approval_context.unavailable` | object | no | 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`). |
| `reused` | object | no | 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](https://provenanceauth.com/docs/authorize/guides/ask-once.md). |
| `reused.source` | enum | yes | Who asked first. One of `intent_token`, `agent`, `store`, `network`, `routed`. |
| `confirmed_via` | object | no | Present only when the person confirmed outside Provenance (`decided_via` is then `external`). |
| `confirmed_via.kind` | enum | yes | The kind of confirmation. One of `ap2_user_mandate`, `spc`, `platform`. |
| `confirmed_via.issuer` | string | no | 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. |
| `confirmed_via.evidence_hash` | string | yes | The SHA-256 of the evidence (the evidence itself isn't kept). |
| `decided_via` | enum | no | 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_confirmation` | object | no | Present only when an outside confirmation was refused; the request asks the person as usual. |
| `external_confirmation.result` | enum | yes | Always `refused`. One of `refused`. |
| `external_confirmation.kind` | enum | yes | The kind sent. One of `ap2_user_mandate`, `spc`, `platform`. |
| `external_confirmation.reason` | enum | yes | Why it was refused (see the reason codes). One of `issuer_not_trusted`, `issuer_unreachable`, `signature_invalid`, `binding_mismatch`, `kind_not_accepted`, `expired`. |
| `signals` | object | no | 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. |
| `signals.version` | enum | no | Always `2`. One of `2`. |
| `signals.prior_authentication` | object | no | The earlier approval this yes came from (`source`, `approved_at`, `method`). |
| `signals.account` | object | no | The person's account (counts only, never which stores). |
| `signals.account.account` | enum | no | `none` for a passkey without a Provenance account. One of `people`, `none`. |
| `signals.account.account_age_days` | integer | no | The account's age. |
| `signals.account.passkey_added_24h` | boolean | no | A passkey was added in the last 24 hours. |
| `signals.account.approvals_24h_bucket` | enum | no | Approvals in 24 hours, every store (contributing stores only). One of `0`, `1`, `2_4`, `5_9`, `10_plus`. |
| `signals.account.approvals_365d_bucket` | string \| null | no | Approvals in a year from the network rollup; null below its minimums. |
| `signals.reported_agent_24h` | boolean | no | The person declined an order as unrecognized in 24 hours (contributing stores only). |
| `signals.ships_to` | object | no | Present when the cart binds a `fulfillment_digest`. |
| `signals.ships_to.first_seen` | boolean | no | First time this pseudonym ships to this address at your store. |
| `signals.agent` | object | no | Identify's verdict from the assessment that opened it, and `decision_latency_ms` / `fast_decision` (under 3,000 ms). |
| `signals.ip_commitment` | string | no | sha256(utf8(ip) ‖ nonce), hex; the only form of the IP in the ledger and the receipt. |
| `signals.ip_nonce` | string | no | The 16-byte nonce (base64url) behind `ip_commitment`, while the IP is kept (the IP is `approval_context.network.ip`). |
| `signals.ip_held_by` | enum | no | After the retention: the address was shared once and only you hold it. One of `store`. |
| `billing` | object | no | The billing address you sent, coarse fields only (also on webhooks). The full address is `approval_context.billing`, once the person decides. |
| `billing.country` | string | yes | ISO 3166-1 alpha-2. |
| `billing.region` | string \| null | yes | ISO 3166-2 (`US-OR`); null when no region was sent or it isn't one we map. |
| `billing.postal_prefix` | string \| null | yes | The US 3-digit ZIP prefix, the Canadian forward sortation area or the UK outward code; null elsewhere. |
| `billing.source` | enum | yes | Always `merchant`: your store attested it. One of `merchant`. |
| `billing.unavailable` | object | no | On an assessment: why a part has no rule fact (`region: region_unrecognized`). |
| `billing.unavailable.region` | enum | no | The region couldn't be mapped to ISO 3166-2. One of `region_unrecognized`. |
| `location` | object | no | 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. |
| `location.device` | object \| null | yes | The browser's time zone at the decision, or null when it sent none (`unavailable.timezone: no_timezone`). |
| `location.device.timezone` | string | yes | An IANA zone (`America/Los_Angeles`). |
| `location.device.utc_offset_minutes` | integer | yes | The zone's UTC offset at the decision (-420 for Pacific summer time). |
| `location.device.source` | enum | yes | Always `browser`: the zone is what the browser says. One of `browser`. |
| `location.network` | object | yes | The network behind the approving device, from the IP lookup; a relayed, VPN, proxy, hosting or Tor address gives no place. |
| `location.network.country` | string \| null | yes | ISO 3166-1 alpha-2, from the IP lookup. |
| `location.network.region` | string \| null | yes | ISO 3166-2 (`US-WA`), from the IP lookup. |
| `location.network.city` | string \| null | no | The city name the IP lookup gave. Present only where the server's network city switch is on; it ships off. |
| `location.network.accuracy_radius_km` | number \| null | yes | How far the provider says the IP's place may be off, in km. |
| `location.network.source` | enum | yes | `ip_intel` when the IP lookup answered; `published_lists` otherwise. One of `published_lists`, `ip_intel`. |
| `location.unavailable` | object | yes | 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`. |
| `mandate` | object | no | Present only when the cart went over one of a grant's limits: the grant the agent presented and its chain line. |
| `mandate.id` | string | no | The grant (mandate) id. |
| `mandate.chain_text` | string \| null | no | "Valet Stays, a subagent of Valet, working on …"; null for a person's own grant. |
| `over_limit` | object | no | 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`). |
| `over_limit.kind` | enum | no | 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`. |
| `over_limit.grant_id` | string | no | The grant whose lock it went past (the one presented, or one above it). |
| `over_limit.limit` | number \| null | no | That lock's limit (null for a list, a currency or a count). |
| `over_limit.amount` | number | no | The cart's total. |
| `over_limit.currency` | string | no | The cart's ISO 4217 currency. |
| `over_limit.lifts` | array of objects | no | The budgets a yes takes over, and by how much (each within its margin). |
| `over_limit.lifts.grant_id` | string | no | The grant whose budget it is. |
| `over_limit.lifts.limit` | number | no | The budget. |
| `over_limit.lifts.over` | number | no | How far over it the yes takes it. |
| `over_limit.source` | enum | no | 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`. |
| `over_limit.approver_link` | enum | no | Once decided: `same_person` when the passkey is the one the grant's person registered, else `unlinked`. One of `same_person`, `unlinked`. |
| `over_limit.blocked` | boolean | no | Present when a yes couldn't complete: the chain can't take the cart now (`deny_reason: approval_blocked`). |
| `over_limit.budget_grant_id` | string | no | With `blocked`: the grant that stopped it. |
| `over_limit.blocked_reason` | string | no | With `blocked`: why (`grant_budget_exceeded`, `token_revoked`, …). |
| `over_limit.spend_entry_id` | string | no | Once approved: the spend entry the yes wrote (`mse_…`). |
| `bank_check` | object | no | 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. |
| `bank_check.provider` | enum | yes | The provider you named. One of `checkout_com`, `adyen`, `cybersource`, `stripe`. |
| `bank_check.state` | enum | yes | `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`. |
| `bank_check.requested_at` | timestamp | no | When the person approved and the check started. |
| `bank_check.expires_at` | timestamp | no | While waiting: when the check times out. |
| `bank_check.outcome` | object \| null | yes | What your provider said, as you reported it. |
| `bank_check.outcome.trans_status` | enum | no | The EMV transaction status. One of `Y`, `A`, `N`, `R`, `U`, `I`. |
| `bank_check.outcome.eci` | string \| null | no | The ECI your provider returned (`05`, `02`, …). |
| `bank_check.outcome.authentication_id` | string \| null | no | The provider's or its 3DS server's id for the authentication. |
| `bank_check.outcome.version` | string \| null | no | The EMV 3DS message version. |
| `bank_check.outcome.authenticated` | boolean | no | True for `Y`: the bank authenticated the cardholder. |
| `bank_check.outcome.source` | enum | no | Your normalised report, or your provider's response read by our adapter. One of `store`, `provider_response`. |
| `bank_check.completed_at` | timestamp | no | When it completed or timed out. |
| `ap2_mandates` | object | no | 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. |
| `ap2_mandates.status` | enum | yes | `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`. |
| `ap2_mandates.signer` | enum | no | With `issued`: Provenance's AP2 issuer key, or the person's app key under the issuer's attestation. One of `provenance`, `app`. |
| `ap2_mandates.checkout_mandate` | string | no | With `issued`: the closed Checkout Mandate (`mandate.checkout.1`), an SD-JWT. |
| `ap2_mandates.payment_mandate` | string | no | With `issued`, when the request named the payment instrument: the closed Payment Mandate (`mandate.payment.1`). |
| `ap2_mandates.holder_bound` | boolean | no | With `issued`: the mandates name the agent's key in `cnf.jwk` (present them with a key-binding JWT). |
| `ap2_mandates.expires_at` | timestamp | no | With `issued`: when these copies expire (never after the intent token inside). |
| `ap2_mandates.issuer_jwks_url` | string | no | With `issued`: the AP2 issuer JWKS to list as a trusted issuer. |
| `ap2_mandates.fallback_reason` | enum | no | 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`. |
| `ap2_mandates.retry_after` | integer | no | With `pending_app_signature`: seconds to wait before asking again. |
| `ap2_mandates.holder_jkt` | string | no | With `holder_proof_required`: the thumbprint of the key the DPoP proof must use. |
| `ap2_mandates.reason` | string | no | 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_hint` | string | no | `customer` only: where the link went, without the contact ("the phone ending 42"). |
| `reminders` | object | no | Your [reminders](https://provenanceauth.com/docs/messaging/reminders.md) for this request, the same in every product. On the request's own reads, not on webhooks. |
| `reminders.sent` | integer | no | Reminders sent. |
| `reminders.left` | integer | no | Reminders left: `sent`, a held one and `left` add up to the limit. |
| `reminders.last_sent_at` | timestamp \| null | no | When the last reminder went. |
| `reminders.last_channel` | enum | no | The channel the last reminder used (the first of notification, text and email that went). One of `app_notification`, `webpush`, `text`, `email`, `inbox`. |
| `reminders.last_channels` | array of enums | no | 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. |
| `reminders.next_allowed_at` | timestamp \| null | no | The earliest time a reminder can be asked for, when that is later than now. |
| `reminders.scheduled` | object \| null | no | The reminder held until quiet hours end, if any. |
| `reminders.scheduled.id` | string | no | The reminder's ID (`rem_…`). |
| `reminders.scheduled.scheduled_for` | timestamp | no | When its first held message goes. |
| `reminders.scheduled.channel` | string | no | The channel it will use. |
| `reminders.next_automatic_at` | timestamp \| null | no | The next automatic reminder. Always null for now. |
| `reminders.next_channel` | enum | no | 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`. |
| `reminders.next_channels` | array of enums | no | 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. |
| `reminders.next_channel_reason` | enum | no | 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`. |
| `reminders.blocked` | enum | no | 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`. |
| `reminders.schedule` | object | no | 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. |
| `reminders.schedule.enabled` | boolean | no | Whether automatic reminders are tracked for this request. |
| `reminders.schedule.after` | array of strings | no | The offsets from the request's creation (`10m`, `24h`). |
| `reminders.recipients` | array of objects | no | 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. |
| `reminders.recipients.key` | string | no | The person's key (`approver:lnk_…`, `user:…`). |
| `reminders.recipients.recipient` | string | no | Their name, or a masked address; never the contact itself. |
| `reminders.recipients.next_channel` | string \| null | no | Where their reminder would go now. |

### Example

```json
{
  "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](https://provenanceauth.com/docs/integrate/webhooks.md) 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](https://provenanceauth.com/docs/authorize/guides/ask-once.md)). Free.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string | no | Retry a create safely: the same key + request returns the stored response (24 h, per caller). |
| `cart` | body | object | yes | An order, exactly as you pass it to `checkoutBinding`. The rich fields (binding v2) are optional; a cart without them keeps its hash. |
| `cart.order_id` | body | string | yes | Your order ID. |
| `cart.total` | body | integer | yes | The total in minor units: lines plus adjustments. |
| `cart.currency` | body | string | yes | ISO 4217 code. |
| `cart.merchant_id` | body | string | yes | Your merchant ID. |
| `cart.origin` | body | string | yes | Your store's origin, such as `https://harborbean.example`. |
| `cart.fulfillment_digest` | body | string | no | A digest of the full delivery address. |
| `cart.items` | body | array of objects | no | The cart lines (20 at most with the rich fields). |
| `cart.items.sku` | body | string | yes | The SKU. |
| `cart.items.name` | body | string | yes | The item name. |
| `cart.items.quantity` | body | integer | yes | How many. |
| `cart.items.unit_amount` | body | integer | yes | Price each, in minor units. |
| `cart.items.variant` | body | array of objects | no | Up to 3 `{ name, value }` pairs, such as Size: M. |
| `cart.items.variant.name` | body | string | no | The option name. |
| `cart.items.variant.value` | body | string | no | The chosen value. |
| `cart.items.image_url` | body | string | no | 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. |
| `cart.items.url` | body | string | no | 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. |
| `cart.items.service_period` | body | object | no | 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. |
| `cart.items.service_period.start` | body | string | yes | A date (`2027-03-12`) or a date-time with an offset (`2027-03-12T15:00:00+00:00`). |
| `cart.items.service_period.end` | body | string | yes | The same form, on or after `start`'s date. For lodging, the check-out date. |
| `cart.adjustments` | body | array of objects | no | Shipping, tax, discount and fee lines (discounts negative). |
| `cart.adjustments.kind` | body | enum | yes | The kind of line. One of `shipping`, `tax`, `discount`, `fee`. |
| `cart.adjustments.label` | body | string | yes | What the page shows. |
| `cart.adjustments.amount` | body | integer | yes | Minor units; negative for a discount. |
| `cart.fulfillment` | body | object | no | The delivery method and estimate. |
| `cart.fulfillment.method_label` | body | string | no | The method, such as Standard shipping. |
| `cart.fulfillment.estimate_from` | body | string | no | The earliest delivery date. |
| `cart.fulfillment.estimate_to` | body | string | no | The latest delivery date. |
| `cart.return_policy_url` | body | string | no | Your return policy: https, on your origin. |
| `cart.merchant` | body | object | no | 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. |
| `cart.merchant.mcc` | body | string | no | Your acquirer-assigned merchant category code (`7011`). |
| `cart.merchant.country` | body | string | no | Your ISO 3166-1 numeric country code (`620` for Portugal). |
| `display` | body | object | yes | What the approval page shows besides the cart. |
| `display.merchant_name` | body | string | yes | Your store's name, shown as "calls itself …". |
| `display.ships_to` | body | object | no | City, region and country only. |
| `display.ships_to.city` | body | string | no | The city. |
| `display.ships_to.region` | body | string | no | The state or region. |
| `display.ships_to.country` | body | string | no | The country. |
| `retry_url` | body | string | yes | Where the agent retries the checkout with `Provenance-Intent`. |
| `retry_method` | body | string | no | The retry's HTTP method (default `POST`). |
| `expires_in` | body | integer | no | Seconds the approval stays open (default: your account's approval expiry, else 600, held to 60 to 3600). |
| `require` | body | object | no | What a new passkey needs on this approval, over your checkout rules' `passkeys` (default `step_up_contact`, 86400 seconds, `no_contact: accept`). |
| `require.new_passkey` | body | enum | no | `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`. |
| `require.min_passkey_age` | body | integer | no | Seconds. A passkey younger than this is new; 0 treats only one set up during this approval as new. |
| `require.no_contact` | body | enum | no | With `step_up_contact` and no customer contact (the agent relay): count it, or decline it. One of `accept`, `decline`. |
| `contact` | body | object | no | 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. |
| `contact.phone` | body | string | no | An E.164 phone number (`+14155550132`). Spaces are removed; nothing else is guessed. |
| `contact.email` | body | string | no | An email address, compared in lower case. |
| `contact.name` | body | string | no | 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. |
| `contact.text_consent` | body | object | no | With `phone`: your statement that the person at this phone agreed to your texts, as on `RequestContact`. |
| `contact.text_consent.method` | body | enum | yes | How the person agreed. One of `sign_up_form`, `in_app`, `in_person`, `customer_list`. |
| `contact.text_consent.obtained_at` | body | timestamp | yes | When they agreed; not in the future. |
| `contact.text_consent.evidence_url` | body | string | no | An `https` link to how they agreed. Stored, never fetched. |
| `customer_source` | body | enum | no | 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`. |
| `delivery` | body | enum | no | `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`. |
| `channels` | body | array of enums | no | 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_text` | body | object | no | 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"`. |
| `follow_up_text.enabled` | body | boolean | no | `false` sends no follow-up text. |
| `follow_up_text.when` | body | enum | no | `not_opened` (the default) or `not_finished`. One of `not_opened`, `not_finished`. |
| `follow_up_text.after_minutes` | body | integer | no | 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. |
| `reminders` | body | object | no | This request's automatic [reminders](https://provenanceauth.com/docs/messaging/reminders.md), 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"`. |
| `reminders.enabled` | body | boolean | no | `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). |
| `reminders.after` | body | array of strings | no | 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_jwt` | body | string | no | Your AP2 Checkout JWT for this cart. The challenge then carries `ap2` content. |
| `intent_token` | body | string | no | 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_confirmation` | body | object | no | 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](https://provenanceauth.com/docs/authorize/guides/ask-once.md#5-accept-confirmations-given-outside-provenance). |
| `external_confirmation.kind` | body | enum | yes | `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`. |
| `external_confirmation.evidence` | body | string \| object | yes | The SD-JWT presentation (`ap2_user_mandate`) or compact JWS (`platform`) as a string, or the SPC assertion as an object. |
| `external_confirmation.evidence.credential_id` | body | string | no | The passkey's credential ID. |
| `external_confirmation.evidence.assertion` | body | object | no | The assertion, base64url fields. |
| `external_confirmation.evidence.assertion.authenticator_data` | body | string | yes | base64url authenticator data. |
| `external_confirmation.evidence.assertion.client_data_json` | body | string | yes | base64url clientDataJSON (`type: payment.get`). |
| `external_confirmation.evidence.assertion.signature` | body | string | yes | base64url signature. |
| `external_confirmation.evidence.public_key` | body | string \| object | no | A passkey your store registered itself: its public key (PEM or JWK). The confirmation is then labelled as your store's credential. |
| `payment_reference` | body | string | no | The payment you created for this cart (a Stripe PaymentIntent `pi_…` or charge `ch_…`), so a [chargeback](https://provenanceauth.com/docs/authorize/guides/chargeback-responses.md) on it finds this decision. |
| `billing_address` | body | object | no | 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. |
| `billing_address.line1` | body | string \| null | no | The street line. |
| `billing_address.line2` | body | string \| null | no | The second line (apartment, suite, unit). |
| `billing_address.city` | body | string \| null | no | The city. |
| `billing_address.region` | body | string \| null | no | 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`). |
| `billing_address.postal_code` | body | string \| null | no | The postal or ZIP code. |
| `billing_address.country` | body | string | yes | ISO 3166-1 alpha-2 (`US`). Required. |
| `billing_address.location` | body | object \| null | no | 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`). |
| `billing_address.location.lat` | body | number | yes | Latitude, in degrees. |
| `billing_address.location.lng` | body | number | yes | Longitude, in degrees. |
| `bank_check` | body | object | no | 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. |
| `bank_check.provider` | body | enum | yes | Your payment provider. One of `checkout_com`, `adyen`, `cybersource`, `stripe`. |
| `ap2` | body | object | no | 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. |
| `ap2.issue` | body | enum | yes | Sign the mandates. One of `true`. |
| `ap2.holder_key` | body | object | no | 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_instrument` | body | object | no | With `ap2`: AP2's payment instrument descriptor, so Provenance signs a Payment Mandate too. |
| `payment_instrument.id` | body | string | yes | Your credential provider's id for the instrument. |
| `payment_instrument.type` | body | string | yes | `card`, `dpc`, … |
| `payment_instrument.description` | body | string | no | What the person sees ("Visa ···· 4242"). |
| `payment_method` | body | object | no | 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. |
| `payment_method.brand` | body | enum | no | The card brand. One of `visa`, `mastercard`, `amex`, `discover`, `jcb`, `unionpay`, `diners`, `other`. |
| `payment_method.last4` | body | string | no | Exactly the last 4 digits. |
| `payment_method.wallet` | body | enum | no | The wallet the card is used through, when there is one. One of `apple_pay`, `google_pay`, `link`, `paypal`, `shop_pay`. |
| `payment_method.description` | body | string | no | 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](#object).

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`cart_totals_mismatch`](https://provenanceauth.com/docs/platform/errors.md#cart_totals_mismatch)
- [`customer_routing_not_allowed`](https://provenanceauth.com/docs/platform/errors.md#customer_routing_not_allowed)
- [`idempotency_key_reused`](https://provenanceauth.com/docs/platform/errors.md#idempotency_key_reused)
- [`intent_token_refused`](https://provenanceauth.com/docs/platform/errors.md#intent_token_refused)
- [`plan_required`](https://provenanceauth.com/docs/platform/errors.md#plan_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`invalid_json`](https://provenanceauth.com/docs/platform/errors.md#invalid_json)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
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"
    }
  }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({
    "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"
    }
  }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/authorize/checkout_approvals", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "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": None,
        "city": "Portland",
        "region": "OR",
        "postal_code": "97205",
        "country": "US"
    },
    "contact": {
        "name": "Maya Chen"
    }
}).json()
```

### Response 200

```json
{
  "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](https://provenanceauth.com/docs/authorize/guides/ask-once.md).

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `cart` | body | object | yes | An order, exactly as you pass it to `checkoutBinding`. The rich fields (binding v2) are optional; a cart without them keeps its hash. |
| `cart.order_id` | body | string | yes | Your order ID. |
| `cart.total` | body | integer | yes | The total in minor units: lines plus adjustments. |
| `cart.currency` | body | string | yes | ISO 4217 code. |
| `cart.merchant_id` | body | string | yes | Your merchant ID. |
| `cart.origin` | body | string | yes | Your store's origin, such as `https://harborbean.example`. |
| `cart.fulfillment_digest` | body | string | no | A digest of the full delivery address. |
| `cart.items` | body | array of objects | no | The cart lines (20 at most with the rich fields). |
| `cart.items.sku` | body | string | yes | The SKU. |
| `cart.items.name` | body | string | yes | The item name. |
| `cart.items.quantity` | body | integer | yes | How many. |
| `cart.items.unit_amount` | body | integer | yes | Price each, in minor units. |
| `cart.items.variant` | body | array of objects | no | Up to 3 `{ name, value }` pairs, such as Size: M. |
| `cart.items.variant.name` | body | string | no | The option name. |
| `cart.items.variant.value` | body | string | no | The chosen value. |
| `cart.items.image_url` | body | string | no | 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. |
| `cart.items.url` | body | string | no | 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. |
| `cart.items.service_period` | body | object | no | 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. |
| `cart.items.service_period.start` | body | string | yes | A date (`2027-03-12`) or a date-time with an offset (`2027-03-12T15:00:00+00:00`). |
| `cart.items.service_period.end` | body | string | yes | The same form, on or after `start`'s date. For lodging, the check-out date. |
| `cart.adjustments` | body | array of objects | no | Shipping, tax, discount and fee lines (discounts negative). |
| `cart.adjustments.kind` | body | enum | yes | The kind of line. One of `shipping`, `tax`, `discount`, `fee`. |
| `cart.adjustments.label` | body | string | yes | What the page shows. |
| `cart.adjustments.amount` | body | integer | yes | Minor units; negative for a discount. |
| `cart.fulfillment` | body | object | no | The delivery method and estimate. |
| `cart.fulfillment.method_label` | body | string | no | The method, such as Standard shipping. |
| `cart.fulfillment.estimate_from` | body | string | no | The earliest delivery date. |
| `cart.fulfillment.estimate_to` | body | string | no | The latest delivery date. |
| `cart.return_policy_url` | body | string | no | Your return policy: https, on your origin. |
| `cart.merchant` | body | object | no | 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. |
| `cart.merchant.mcc` | body | string | no | Your acquirer-assigned merchant category code (`7011`). |
| `cart.merchant.country` | body | string | no | Your ISO 3166-1 numeric country code (`620` for Portugal). |

### Returns

The challenge.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`cart_totals_mismatch`](https://provenanceauth.com/docs/platform/errors.md#cart_totals_mismatch)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`invalid_json`](https://provenanceauth.com/docs/platform/errors.md#invalid_json)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
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
        }
      ]
    }
  }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals/spc_challenge`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({
    "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
        }
      ]
    }
  }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/authorize/checkout_approvals/spc_challenge", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "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
            }
        ]
    }
}).json()
```

### Response 200

```json
{
  "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.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The approval's `coap_` ID. |

### Returns

The cart approval. See [the checkout approval object](#object).

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
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"
```

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({
    "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"
    }
  }),
})).json();
const coapId = step1.id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals/${coapId}`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/authorize/checkout_approvals", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "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"
    }
}).json()
coap_id = step1["id"]
data = httpx.get(f"{api}/v1/authorize/checkout_approvals/{coap_id}", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```

### Response 200

```json
{
  "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).

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

No parameters.

### Returns

The settings.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

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

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/settings/checkout_approvals`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/settings/checkout_approvals", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```

### Response 200

```json
{
  "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.

Auth: none. No API key needed.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The picture's ID, from the `image_url` in the approval's display. |

### Returns

The picture.

### Errors

- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

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

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_images/Zk3pQ8vN2xR7tB4mW9sYd1`)).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/checkout_images/Zk3pQ8vN2xR7tB4mW9sYd1").json()
```

## 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.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `resend_on_expiry` | body | boolean | yes | Offer "Ask {store} to send a new link" on an expired approval page. |

### Returns

The settings now.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`invalid_json`](https://provenanceauth.com/docs/platform/errors.md#invalid_json)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
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
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/settings/checkout_approvals`, {
  method: "PUT",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({ "resend_on_expiry": true }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.put(f"{api}/v1/authorize/settings/checkout_approvals", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "resend_on_expiry": True
}).json()
```

### Response 200

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

## List cart approvals

`GET /v1/authorize/checkout_approvals`

Your account's cart approvals, newest first.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid. |
| `cursor` | query | string | no | Opaque; pass a response's `next_cursor` back to get the next page. |
| `status` | query | enum | no | 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

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
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"
```

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({
    "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"
  }),
})).json();
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals?limit=100`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/authorize/checkout_approvals", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "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"
}).json()
data = httpx.get(f"{api}/v1/authorize/checkout_approvals?limit=100", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```

### Response 200

```json
{
  "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.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The cart approval's ID (`coap_…`). |

### Returns

The reminders.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

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

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```

### Response 200

```json
{
  "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.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The approval's `coap_` ID. |
| `trans_status` | body | enum | no | The EMV transaction status (`C`: the bank asks for a challenge). One of `Y`, `A`, `N`, `R`, `U`, `C`, `I`. |
| `eci` | body | string | no | The ECI your provider returned. |
| `authentication_id` | body | string | no | The provider's id for the authentication. |
| `version` | body | string | no | The EMV 3DS message version. |
| `challenge` | body | object | no | With `C`: the https page the approval page frames, and the form fields to post to it. |
| `challenge.url` | body | string | yes | An https URL. |
| `challenge.method` | body | enum | no | How to load it (default POST). One of `POST`, `GET`. |
| `challenge.fields` | body | object | no | Form fields (`creq`, `JWT`, …). |
| `provider_response` | body | object | no | Your provider's authentication response, as it came. |

### Returns

The bank check as it now stands.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`threeds_bank_check_closed`](https://provenanceauth.com/docs/platform/errors.md#threeds_bank_check_closed)
- [`threeds_bank_step_not_configured`](https://provenanceauth.com/docs/platform/errors.md#threeds_bank_step_not_configured)

### Request

**curl**

```bash
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"}'
```

**Node**

```ts
const bankCheck = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals/coap_01M7P1EQ44Z7FS8K6VGSWM43FP/threeds_results`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({ trans_status: "Y", eci: "05", authentication_id: "8a880dc0-d2d2-4067-bcb1-b08d1690b26e", version: "2.2.0" }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
bank_check = httpx.post(f"{api}/v1/authorize/checkout_approvals/coap_01M7P1EQ44Z7FS8K6VGSWM43FP/threeds_results", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={"trans_status": "Y", "eci": "05", "authentication_id": "8a880dc0-d2d2-4067-bcb1-b08d1690b26e", "version": "2.2.0"}).json()
```

### Response 200

```json
{
  "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](https://provenanceauth.com/docs/messaging/reminders.md).

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string | no | Retry a create safely: the same key + request returns the stored response (24 h, per caller). |
| `id` | path | string | yes | The cart approval's ID (`coap_…`). |
| `channel` | body | enum | no | 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`. |
| `recipient` | body | string | no | 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

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`reminder_not_pending`](https://provenanceauth.com/docs/platform/errors.md#reminder_not_pending)
- [`reminder_limit_reached`](https://provenanceauth.com/docs/platform/errors.md#reminder_limit_reached)
- [`reminder_already_scheduled`](https://provenanceauth.com/docs/platform/errors.md#reminder_already_scheduled)
- [`reminder_too_soon`](https://provenanceauth.com/docs/platform/errors.md#reminder_too_soon)
- [`reminder_opted_out`](https://provenanceauth.com/docs/platform/errors.md#reminder_opted_out)
- [`reminder_not_available`](https://provenanceauth.com/docs/platform/errors.md#reminder_not_available)
- [`reminder_not_sent`](https://provenanceauth.com/docs/platform/errors.md#reminder_not_sent)
- [`trial_ended`](https://provenanceauth.com/docs/platform/errors.md#trial_ended)
- [`spend_cap_reached`](https://provenanceauth.com/docs/platform/errors.md#spend_cap_reached)

### Request

**curl**

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

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```

### Response 201

```json
{
  "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](https://provenanceauth.com/docs/messaging/reminders.md#cancel-a-held-reminder).

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The cart approval's ID (`coap_…`). |
| `reminder_id` | path | string | yes | The held reminder's ID (`rem_…`), from the request's `reminders.scheduled.id` or its reminders list. |

### Returns

The reminder as it ended.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`insufficient_role`](https://provenanceauth.com/docs/platform/errors.md#insufficient_role)
- [`csrf_invalid`](https://provenanceauth.com/docs/platform/errors.md#csrf_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`reminder_not_scheduled`](https://provenanceauth.com/docs/platform/errors.md#reminder_not_scheduled)
- [`reminder_cancel_unavailable`](https://provenanceauth.com/docs/platform/errors.md#reminder_cancel_unavailable)

### Request

**curl**

```bash
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"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders/rem_01JCXC7N2P5R8T1V4W7Y0Z3Q6S`, {
  method: "DELETE",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.delete(f"{api}/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders/rem_01JCXC7N2P5R8T1V4W7Y0Z3Q6S", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```

### Response 200

```json
{
  "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"
}
```
