# Ignyt Developers > Build commerce across merchants with Ignyt, and let AI agents shop safely. Guides, API references and MCP tools. - [Developer documentation](https://808-labs.mintlify.app/introduction.md): Everything you need to build commerce with Ignyt. - [Quickstart](https://808-labs.mintlify.app/quickstart.md): Place your first Sandbox order: find a product, build a cart, get a quote, pay and confirm the order. - [How Ignyt works](https://808-labs.mintlify.app/how-ignyt-works.md): The main objects in the API, how they relate and the rules that apply to all of them. - [Authentication and API keys](https://808-labs.mintlify.app/authentication.md): Keep machine keys, customer login and shopper sessions separate. - [Apps and environments](https://808-labs.mintlify.app/apps-and-environments.md): Organize your integrations. Keep test and live commerce separate. - [Merchant access](https://808-labs.mintlify.app/merchants.md): Understand store onboarding, catalog visibility and eligibility. - [Request a merchant](https://808-labs.mintlify.app/managed-onboarding.md): Request store access and track consent, qualification and catalog readiness. - [Catalog synchronization](https://808-labs.mintlify.app/catalog.md): Use bounded pages and checkpoints instead of full repeated imports. - [IDs, metadata and custom fields](https://808-labs.mintlify.app/identifiers-and-custom-fields.md): Keep store identifiers separate from Ignyt resources and approved extensions. - [Build your checkout](https://808-labs.mintlify.app/checkout-and-refunds.md): Quote, get the shopper's approval, submit once, take payment and track each store's order. - [Discounts and promotions](https://808-labs.mintlify.app/discounts.md): Apply merchant coupons today; distinguish future funded basket promotions. - [Shipping, taxes and order status](https://808-labs.mintlify.app/shipping-and-order-status.md): Use authoritative merchant quotes and display separate order outcomes. - [Payments, fees and settlements](https://808-labs.mintlify.app/payments-and-settlements.md): Keep shopper collection, recipient payables and bank outcomes separate. - [Refunds, returns and cancellations](https://808-labs.mintlify.app/refunds-and-returns.md): Cancel a store order, request a return or refund a shopper after checkout. - [Webhooks and event polling](https://808-labs.mintlify.app/webhooks.md): Get notified when payments, orders and catalogs change, and verify every notification. - [Event types](https://808-labs.mintlify.app/event-types.md): Every event you can subscribe to, when it is sent and what its payload looks like. - [Test in Sandbox](https://808-labs.mintlify.app/sandbox-testing.md): Test data and scenario products that trigger real checkout outcomes, without real stores or money. - [Go-live checklist](https://808-labs.mintlify.app/testing-and-go-live.md): What to prove in Sandbox and prepare before you request Live access. - [Usage and plans](https://808-labs.mintlify.app/usage-and-plans.md): Understand what counts and how agreed limits apply. - [Developer resources](https://808-labs.mintlify.app/developer-resources.md): SDKs, error codes, limits and the rules that apply to every request. - [Error codes](https://808-labs.mintlify.app/error-codes.md): What each error code means and what your integration should do next. - [Errors and retries](https://808-labs.mintlify.app/errors-and-retries.md): Separate an HTTP failure from an unknown business outcome. - [Pagination and rate limits](https://808-labs.mintlify.app/pagination-and-limits.md): Read large catalogs and histories without repeated full scans. - [HTTP and transport](https://808-labs.mintlify.app/http-and-transports.md): Use HTTP/1.1 or HTTP/2 with the same public REST contract. - [Versioning and compatibility](https://808-labs.mintlify.app/versioning.md): Track public contract changes without confusing docs previews with releases. - [Python SDK](https://808-labs.mintlify.app/python-sdk.md): Use the existing server-side client and request builders. - [TypeScript SDK](https://808-labs.mintlify.app/typescript-sdk.md): Use the typed server client, webhook verifier and branded web and mobile checkout helpers. - [Security and support](https://808-labs.mintlify.app/security-and-support.md): Protect credentials, shopper data and recovery evidence. - [Changelog](https://808-labs.mintlify.app/changelog.md): Public integration changes, release status and migration notices. - [Get integration identity](https://808-labs.mintlify.app/api-reference/integration/identity/get.md): Return the workspace, app and environment the credential resolves to, its granted scopes, the effective plan and today's metered usage counters. Use it to verify a new API key before making other calls. Accepts any valid API key, or a dashboard sign-in together with the `X-Ignite-App-Id` header; no… - [Get the public API schema](https://808-labs.mintlify.app/api-reference/openapi-json/get.md): Returns this OpenAPI document for the public Ignyt API. No credential is required; internal operator and provider callback contracts are excluded. - [Get monthly API usage](https://808-labs.mintlify.app/api-reference/usage/get.md): Return API call counts for one calendar month (UTC, `YYYY-MM`; defaults to the current month): workspace totals, the calling app's admitted and rejected calls, the effective allowance, credits and remaining calls. Past months are reported as historical evidence only. Accepts any valid API key, or a… - [List metered API requests](https://808-labs.mintlify.app/api-reference/usage/records/get.md): Page through the individual metered requests of the calling app and environment for one month (UTC, `YYYY-MM`; defaults to the current month), oldest first, with the observed HTTP status where known. For a fixed export, send an explicit UTC month. Keep that month and the first response's `through`,… - [Get an enrolled store connection](https://808-labs.mintlify.app/api-reference/connections/by-connection-id/get.md): Read the status of a merchant store connection whose catalog this workspace sells in the current environment. Returns `403` when the merchant is not enrolled for this workspace. Requires an API key with the `catalog:read` scope. - [List directory merchants](https://808-labs.mintlify.app/api-reference/directory/merchants/get.md): Page the merchants your workspace can sell from in this environment: `view=all` (default), `mine` (already in your catalog) or `available` (not yet added). Filter by name prefix `q`, store `platform`, `capability` or `merchant_id`; pass `next_cursor` as `cursor` to continue, even after an empty filt… - [Add a merchant to your catalog](https://808-labs.mintlify.app/api-reference/directory/merchants/by-merchant-id/add/post.md): Enroll an eligible directory merchant, optionally with selection filters. Merchants with instant enrollment become `active` immediately; others become `requested` until the merchant approves. Adding a merchant that is already requested, active, paused or suspended returns the existing enrollment unc… - [List merchant enrollments](https://808-labs.mintlify.app/api-reference/enrollments/get.md): Page your workspace's merchant enrollments in this environment with their status (`requested`, `active`, `paused`, `suspended`, `rejected` or `removed`). Pass `next_cursor` as `cursor` for the next page (`limit` 1–200). Requires the `catalog:read` scope. - [Remove a merchant enrollment](https://808-labs.mintlify.app/api-reference/enrollments/by-enrollment-id/delete.md): Remove a merchant from your catalog for new carts; existing orders, refunds and payouts are kept. Returns `409 enrollment_suspended` when Ignyt suspended the merchant for your platform. Requires the `merchants:manage` scope; Sandbox only (`403 catalog_managed` in Production). - [Pause or resume a merchant enrollment](https://808-labs.mintlify.app/api-reference/enrollments/by-enrollment-id/patch.md): Pause an active enrollment so new carts cannot use the merchant, or resume a paused one; existing orders are unaffected and repeating the current state is a no-op. Returns `409` unless the enrollment is active or paused, and `429` when resuming would exceed the plan's merchant limit. Requires the `m… - [Enable or disable a merchant for your app](https://808-labs.mintlify.app/api-reference/enrollments/by-enrollment-id/app-selection/patch.md): Show or hide one enrolled merchant for the calling app only, at the enrollment's current `selection_revision` (`409 selection_revision_changed` when stale). Returns `403` when the workspace app allowlist excludes this app and the caller is an API key. Requires `merchants:manage`; Sandbox only. - [Get an enrollment's selections](https://808-labs.mintlify.app/api-reference/enrollments/by-enrollment-id/selections/get.md): Return the selection filters of one enrollment with its `selection_revision`. Editing them is a dashboard action that sends this revision back. Requires the `catalog:read` scope. - [List private merchant invitations](https://808-labs.mintlify.app/api-reference/merchant-invitations/get.md): Page through the private merchant invitations this workspace has sent, with their status. Pass `next_cursor` as `cursor` for the next page. Requires an API key with the `merchants:manage` scope. - [Invite a merchant privately](https://808-labs.mintlify.app/api-reference/merchant-invitations/post.md): Invite a merchant by email to join this workspace privately; the response contains the one-time invitation token and signup link. A pending invitation for the same email and business returns `409 invitation_exists`, and the invitation email rate limit returns `429`. Requires an API key with the `mer… - [Withdraw a merchant invitation](https://808-labs.mintlify.app/api-reference/merchant-invitations/by-invitation-id/withdraw/post.md): Withdraw a pending private invitation so its link stops working; repeating it is harmless. An already accepted invitation returns `409 invitation_not_pending`. Requires an API key with the `merchants:manage` scope. - [List catalog categories](https://808-labs.mintlify.app/api-reference/catalog/categories/get.md): List the category names of products in your catalog, alphabetically, with how many products each has; up to 200, with `truncated` set when there are more. Pass `merchant_id` (one ID, or up to 50 comma-separated) to count only those merchants. Use a name as the `category` filter of `GET /v1/catalog/p… - [List incremental catalog changes](https://808-labs.mintlify.app/api-reference/catalog/changes/get.md): Read product and variant changes after sequence `after` (up to `through`) for reliable incremental sync; store `scanned_through` and send it as the next `after`, even when a page is empty. For historical backfills use a timezone-aware window `[updated_from, updated_until)` of at most 31 days instead… - [List catalog products](https://808-labs.mintlify.app/api-reference/catalog/products/get.md): Page active products from merchants in your catalog. Narrow the list with `merchant_id` (one ID, or up to 50 comma-separated), `q` (title text, SKU, product ID or variant ID), `category` (a name from `GET /v1/catalog/categories`) and `availability` (observed stock: `available` when any variant is in… - [Get catalog products in a batch](https://808-labs.mintlify.app/api-reference/catalog/products/batch/post.md): Return up to 100 product headers by ID in request order; each item's `variants` list is always empty. IDs that are inactive or outside your catalog are listed in `unavailable_ids`. Use the variant batch or product variants endpoint for prices and offers. Requires the `catalog:read` scope. - [List a product's variants](https://808-labs.mintlify.app/api-reference/catalog/products/by-product-id/variants/get.md): Page the variants of one active product in your catalog. Pass `next_cursor` as `cursor` for the next page (`limit` 1–50). Requires the `catalog:read` scope; products outside your catalog return `404`. - [Get a catalog synchronization checkpoint](https://808-labs.mintlify.app/api-reference/catalog/sync/get.md): Return the current change sequence for your catalog in this environment. Save this value first, then take a full snapshot of products and variants, then read `GET /v1/catalog/changes` with the saved value as `after`, so no change made during the snapshot is missed. The response also lists the meanin… - [Get catalog variants in a batch](https://808-labs.mintlify.app/api-reference/catalog/variants/batch/post.md): Return up to 100 variants by ID in request order; IDs that are inactive or outside your catalog are listed in `unavailable_ids` instead of failing the call. Requires the `catalog:read` scope. - [Get a catalog variant](https://808-labs.mintlify.app/api-reference/catalog/variants/by-variant-id/get.md): Return one purchasable variant with its price in integer minor units, currency and availability. Requires the `catalog:read` scope; variants outside your catalog return `404`. - [Request a Sandbox withdrawal recovery code](https://808-labs.mintlify.app/api-reference/buyer-sharing/recovery/code/post.md): Request verification at the same Sandbox inbox that the shopper used at checkout. The response does not disclose whether receipts exist. - [Recover withdrawal links using a Sandbox verification code](https://808-labs.mintlify.app/api-reference/buyer-sharing/recovery/verify/post.md): Verify the shopper's email recovery code and page the same inbox's withdrawal links without reopening the original checkout. - [Withdraw a buyer sharing receipt](https://808-labs.mintlify.app/api-reference/buyer-sharing/withdraw/post.md): Withdraw a store's sharing receipt with the opaque token provided at checkout. - [Create a cart](https://808-labs.mintlify.app/api-reference/carts/post.md): Opens an empty cart for one shopper in a single market and currency. Requires an API key with `cart:write`. Returns `201` with the cart, including its `id`, `status` (`open`) and `currency`. Each call creates a new cart. - [Get a cart](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/get.md): Returns the cart's lines grouped by merchant, address, coupons, `status` (`open`, `requires_review`, `submitted` or `closed`), `version` and any `review_reasons`. Requires an API key with `cart:read`, `cart:write` or `checkout:write`, or a cart session token bound to this cart. Returns `404` for car… - [Accept cart review changes](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/accept-review/post.md): After a quote reports `409 cart_requires_review` (price or stock changed), call this once the shopper has seen `review_reasons` to return the cart to `open` so you can quote again. Requires an API key with `cart:write`, or a cart session token bound to this cart. Calling it on a cart that does not n… - [Set a cart's delivery address](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/address/put.md): Replaces the delivery address used for quoting and fulfilment. Requires an API key with `cart:write`, or a cart session token bound to this cart. The address is checked against the cart market's required fields; incomplete addresses fail with `422 validation_failed` listing `details.missing`. Repeat… - [Set a cart's referral attribution](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/attribution/put.md): Records which approved referral program and referrer the purchase is attributed to; fees frozen at quote time use it. Requires an API key with `cart:write`, or a cart session token bound to this cart. Non-empty attribution needs `referrer_id` and `program_ref`, otherwise `422`. Send `{}` to clear it… - [List Sandbox buyer sharing choices](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/buyer-sharing/get.md): Read optional choices for the shopper's cart session or the member who created the Sandbox test cart. - [Send a buyer verification code](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/buyer-sharing/code/post.md): Request a bounded, expiring email code for an allowlisted Sandbox test inbox. - [Save a store sharing choice](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/buyer-sharing/stores/by-connection-id/put.md): Save or clear separately approved contact, marketing and intent for this cart's store. - [Verify the buyer’s email](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/buyer-sharing/verify/post.md): Verify buyer possession of the test inbox using its latest checkout code. - [Set a cart's coupon codes](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/coupons/put.md): Replaces all coupon codes on the cart, keyed by merchant connection. Requires an API key with `cart:write`, or a cart session token bound to this cart. Codes are not checked until you request a quote, where each merchant applies or rejects them. Repeating the same request is safe. - [Set a cart's custom fields](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/custom-fields/put.md): Replaces the cart's custom field values after validating them against your registered custom field schemas. Requires an API key with `cart:write` and `fields:manage`; cart session tokens are not accepted. Invalid values fail with `422`. - [Add a line to a cart](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/lines/post.md): Adds a purchasable catalog variant to the cart, or increases its quantity if it is already there. Requires an API key with `cart:write`, or a cart session token bound to this cart. Changing the cart invalidates earlier quotes. Fails with `404` for unknown variants, `409` if the variant is out of sto… - [Change a cart line quantity](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/lines/by-line-id/patch.md): Sets the quantity of one cart line; `qty: 0` removes it. Requires an API key with `cart:write`, or a cart session token bound to this cart. Changing the cart invalidates earlier quotes. Returns the updated cart; `404` if the line is not on this cart and `409` once the cart is submitted. - [Refresh a Sandbox payment status](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/payment-handoff/post.md): Sandbox only: looks up the payment for this cart's purchase with the original payment provider and returns its current status. It never creates, confirms or captures a payment, and never starts a payout. The `client_secret` is returned only after the provider confirms the payment state. Requires `ch… - [Get a cart's purchase and payment status](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/purchase/get.md): For embedded checkout: returns the purchase created from this cart and the payment handoff the browser needs to complete payment. When a hosted action is present, use `payment.payment_action.presentation` to embed the provider form or open its hosted page. Requires `checkout:write` (API key or cart… - [Record the shopper's decision on a partial purchase](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/purchase/decision/post.md): When a purchase is only partly fulfilled, records the shopper's answer: `continue` keeps the accepted merchant orders. `cancel_remaining` asks each store to cancel its `placed` or `confirmed` order and refunds the ones that are cancelled; a store can refuse, so check `decision_outcomes` for `not_can… - [Request a quote for a cart](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/quotes/post.md): Asks every merchant in the cart for live prices, shipping, tax and discounts, then freezes the totals (integer minor units) and fees until `expires_at`. Requires an API key with `checkout:write`, or a cart session token bound to this cart. Any earlier active quote is superseded. Fails with `422` for… - [Create a cart session token](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/session-tokens/post.md): Issues a short-lived token that a browser can use for this one cart (lines, address, coupons, quote, submit and purchase status), optionally restricted to one `allowed_origin`. Requires an API key with both `cart:write` and `checkout:write`; a cart session token cannot issue further tokens. The toke… - [Submit a cart for purchase](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/submit/post.md): Accepts the shopper-approved quote and starts the purchase; returns `202` with `purchase_id`. Follow progress with `GET /v1/carts/{cart_id}/purchase` (also accepts a cart session token), `GET /v1/purchases/{purchase_id}` (needs `orders:read`) or webhooks. Requires `checkout:write` (API key or cart s… - [Get a quote](https://808-labs.mintlify.app/api-reference/quotes/by-quote-id/get.md): Returns a quote's frozen totals in integer minor units, per-merchant groups, `status` (`active`, `superseded`, `consumed`, `expired` or `invalidated`) and `expires_at`. Requires an API key with `cart:read`, `cart:write` or `checkout:write`. An active quote past its expiry is reported as `expired`. - [List events](https://808-labs.mintlify.app/api-reference/events/get.md): Read the app's event feed in the authenticated environment, oldest first by default, optionally filtered by `types` and a timezone-aware time window of at most 31 days. Delivery is at least once: deduplicate by event `id`, order by aggregate `revision`, and pass `next_cursor` as `cursor` to continue… - [List purchase notifications](https://808-labs.mintlify.app/api-reference/purchases/by-purchase-id/notifications/get.md): Page the shopper notifications sent for one purchase, oldest first, with their delivery status only: no message content, inbound mail or shopper addresses are returned. Pass `next_cursor` as `cursor` for the next page (`limit` 1–100). Requires the `orders:read` scope. - [Get a webhook command result](https://808-labs.mintlify.app/api-reference/webhook-commands/by-command-key/get.md): Return the committed result of a webhook endpoint change made with this `Idempotency-Key` by the same API key. Use it after a timeout to learn whether the change was applied; `404` means no result was committed yet. Signing secrets are never included. Requires the `webhooks:read` or `webhooks:manage… - [List webhook deliveries](https://808-labs.mintlify.app/api-reference/webhook-deliveries/get.md): Page webhook deliveries newest first, optionally by `status` (`pending`, `failed`, `in_flight`, `delivered` or `dead`) or endpoint. Pass `next_cursor` as `cursor` for the next page; at most 200 items are returned per page. Requires the `webhooks:read` or `webhooks:manage` scope. - [Get the webhook delivery backlog summary](https://808-labs.mintlify.app/api-reference/webhook-deliveries/summary/get.md): Return counts of open webhook deliveries by status (`pending`, `failed`, `in_flight`), how many are due, and the oldest open delivery time. Requires the `webhooks:read` or `webhooks:manage` scope. - [Get a webhook delivery](https://808-labs.mintlify.app/api-reference/webhook-deliveries/by-attempt-id/get.md): Return one webhook delivery with its event, endpoint, status, last response code and next retry time. Requires the `webhooks:read` or `webhooks:manage` scope. - [List webhook delivery attempts](https://808-labs.mintlify.app/api-reference/webhook-deliveries/by-attempt-id/attempts/get.md): Page the individual send attempts of one webhook delivery in order, each with its outcome, response code and timing. Pass `next_cursor` as `cursor` for the next page. Requires the `webhooks:read` or `webhooks:manage` scope. - [Redeliver a webhook event](https://808-labs.mintlify.app/api-reference/webhook-deliveries/by-attempt-id/redeliver/post.md): Queue the original event of a delivery for another send to its endpoint, with an optional reason. With an `Idempotency-Key`, retries return the original redelivery instead of queuing another. Returns `409` when the endpoint is disabled. Requires the `webhooks:manage` scope. - [List webhook endpoints](https://808-labs.mintlify.app/api-reference/webhook-endpoints/get.md): Page the app's webhook endpoints with their status, subscribed event types and `revision`; signing secrets are never returned. Pass `next_cursor` as `cursor` for the next page. Requires the `webhooks:read` or `webhooks:manage` scope. - [Create a webhook endpoint](https://808-labs.mintlify.app/api-reference/webhook-endpoints/post.md): Register a public HTTPS receiver (port 443) for the chosen event types and return its signing secret once. Retrying with the same `Idempotency-Key` returns the endpoint with `secret: null`; rotate the secret if it was lost. Returns `422 webhook_url_not_public` or `422 webhook_host_unresolvable` for… - [Disable a webhook endpoint](https://808-labs.mintlify.app/api-reference/webhook-endpoints/by-endpoint-id/delete.md): Stop deliveries to an endpoint while keeping it and its delivery history; disabling an already disabled endpoint returns it unchanged. Re-enable it with `PATCH` and `status: active`. Requires the `webhooks:manage` scope. - [Update a webhook endpoint](https://808-labs.mintlify.app/api-reference/webhook-endpoints/by-endpoint-id/patch.md): Change an endpoint's name, URL, event types or status at its current `revision`. A new URL follows the creation rules (`422 webhook_url_not_public` or `422 webhook_host_unresolvable` leave the endpoint unchanged); a stale revision returns `409 webhook_revision_changed`. Requires the `webhooks:manage… - [Rotate a webhook signing secret](https://808-labs.mintlify.app/api-reference/webhook-endpoints/by-endpoint-id/rotate-secret/post.md): Issue a new signing secret at the endpoint's current `revision` and return it once; a retry with the same `Idempotency-Key` does not show it again. In-flight deliveries may still carry the previous signature, so accept both briefly. Requires the `webhooks:manage` scope. - [Send a webhook test event](https://808-labs.mintlify.app/api-reference/webhook-endpoints/by-endpoint-id/test/post.md): Queue a signed synthetic delivery of a documented event type to an active endpoint and return its `delivery_id`; follow it with `GET /v1/webhook-deliveries/{attempt_id}`. Sandbox only (`403 sandbox_only` elsewhere); returns `409` when the endpoint is disabled. Requires the `webhooks:manage` scope. - [List webhook event types](https://808-labs.mintlify.app/api-reference/webhook-event-types/get.md): Return the catalog of event types that webhook endpoints and the event feed can deliver. Requires the `catalog:read`, `webhooks:read` or `webhooks:manage` scope. - [Refund a merchant order](https://808-labs.mintlify.app/api-reference/merchant-orders/by-child-order-id/refunds/post.md): Refund part or all of one merchant order's captured payment and return the refund with its status (`reserved`, `executing`, `pending`, `unknown`, `succeeded` or `failed`). An `unknown` outcome is confirmed with the payment provider automatically; retry with the same reference, never a new one. Requi… - [List refund requests](https://808-labs.mintlify.app/api-reference/refund-requests/get.md): Page the authenticated app's refund requests in creation order. Pass `next_cursor` as `cursor` to read the next page (`limit` 1–100). Requires a server API key with `orders:read`. - [Create a refund request](https://808-labs.mintlify.app/api-reference/refund-requests/post.md): Ask Ignyt to review a refund for one merchant order of the authenticated app. The request starts as `submitted`; approval and execution happen separately, so follow its status, events or the `order.refund_request.updated` webhook. Retrying with the same creation key and body returns the original req… - [Get a refund request](https://808-labs.mintlify.app/api-reference/refund-requests/by-request-id/get.md): Return one refund request with its review status, execution status and `revision`. Requires a server API key with `orders:read`; requests of other apps or environments return `404`. - [List refund request events](https://808-labs.mintlify.app/api-reference/refund-requests/by-request-id/events/get.md): Page the review history of one refund request, oldest first. Pass `next_cursor` as `cursor` for the next page (`limit` 1–100). Requires a server API key with `orders:read`. - [Reply to a refund request](https://808-labs.mintlify.app/api-reference/refund-requests/by-request-id/reply/post.md): Answer a reviewer's information request (`needs_information`) at the request's current `revision`; the request returns to `submitted`. Retries are safe: an exact actor/revision/note retry adds no event; a stale revision returns `409`. Requires a server API key with `orders:write`. - [Cancel a merchant order](https://808-labs.mintlify.app/api-reference/merchant-orders/by-child-id/cancel/post.md): Ask the merchant's store to cancel one placed or confirmed merchant order. Repeating the call for an already cancelled order returns it unchanged, and a retry after an unknown outcome only looks the order up. Returns `409` when the order state does not allow cancellation, the store rejected it, or t… - [Request a merchant order return](https://808-labs.mintlify.app/api-reference/merchant-orders/by-child-id/returns/post.md): Open a return request for a placed, confirmed, shipped or delivered merchant order; the merchant approves or rejects it. Each call creates a new request. Returns `409` when the order state does not allow returns and `409 unsupported_operation` when the store does not support returns through Ignyt. R… - [List purchase summaries](https://808-labs.mintlify.app/api-reference/purchase-summaries/get.md): Page compact purchase headers for the authenticated app and environment, newest first, with merchant order status counts and payment state. Filter by purchase status, payment status, merchant, creation window (timezone-aware, `created_from` inclusive, `created_until` exclusive) or a `search` prefix… - [Get purchase summary totals](https://808-labs.mintlify.app/api-reference/purchase-summaries/totals/get.md): Return counts and per-currency order value (integer minor units) for the purchases that `GET /v1/purchase-summaries` lists with the same filters, covering at most the newest 5,000. `complete` is `false` when that bound was reached, so the totals are lower bounds. Requires the `orders:read` scope. - [List purchases](https://808-labs.mintlify.app/api-reference/purchases/get.md): Page purchases in the authenticated environment, newest first, optionally for one `shopper_ref`. Each item includes its merchant orders. Pass `next_cursor` as `cursor` to read the next page (`limit` 1–100). Requires the `orders:read` scope. - [Get a purchase](https://808-labs.mintlify.app/api-reference/purchases/by-purchase-id/get.md): Return one purchase with its merchant orders, statuses and totals. Poll this after submitting a cart, or consume purchase webhooks instead. Requires the `orders:read` scope; purchases of other workspaces return `404`. - [Record a shopper decision on a partial purchase](https://808-labs.mintlify.app/api-reference/purchases/by-purchase-id/decision/post.md): After a partial outcome, record the shopper's choice: `continue` with the merchant orders that stand, or `cancel_remaining`, which asks each store to cancel its `placed` or `confirmed` order and refunds the ones that are cancelled; a store can refuse, so check `decision_outcomes` for `not_cancelled`… - [List payment disputes](https://808-labs.mintlify.app/api-reference/finance/disputes/get.md): Page payment disputes on the workspace's purchases, newest first, each with its purchase, amount in minor units and status. Pass `next_cursor` as `cursor` for the next page (`limit` 1–500). Requires the `finance:read` scope. - [List payment provider transactions](https://808-labs.mintlify.app/api-reference/finance/provider-transactions/get.md): Page the payment provider transactions imported for the authenticated app and environment, each with its reconciliation result. Pass `next_cursor` as `cursor` for the next page (`limit` 1–100). Requires the `finance:read` scope. - [Get a purchase's payment and allocation breakdown](https://808-labs.mintlify.app/api-reference/finance/purchases/by-purchase-id/get.md): Return the payment for one purchase with its per-merchant allocations, refunds, transfers and disputes; all amounts are integer minor units with their currency. Requires the `finance:read` scope. Returns `404` when the purchase has no payment in this workspace. - [List workspace statement lines](https://808-labs.mintlify.app/api-reference/finance/statement/get.md): Page the workspace's earnings per merchant order whose payment succeeded or is authorized awaiting capture, in the authenticated environment, with integer minor-unit amounts and currency; `total_minor` sums only the returned lines. Pass `next_cursor` as `cursor` for the next page (`limit` 1–100). Re… - [List custom field schemas](https://808-labs.mintlify.app/api-reference/custom-fields/schemas/get.md): Return the workspace's active custom checkout field schemas at their current revision. Requires the `fields:manage` scope and a plan that includes custom fields. - [Register a custom field schema](https://808-labs.mintlify.app/api-reference/custom-fields/schemas/post.md): Define or revise a custom checkout field for the workspace; registering an existing field name creates a new revision and supersedes the previous one. Requires the `fields:manage` scope and a plan that includes custom fields. Returns `422` for invalid names, lengths or patterns. - [Get the order extension profile](https://808-labs.mintlify.app/api-reference/order-extensions/get.md): Return the approved order extension profile (extra response and merchant metadata) in effect for the authenticated app and environment. Requires the `fields:manage` scope; returns `409 feature_not_in_plan` when the plan does not include custom fields. - [Refund request updated](https://808-labs.mintlify.app/api-reference/refund-request-updated.md): Outbound to your registered receiver, never an Ignyt request endpoint. - [Agents and MCP](https://808-labs.mintlify.app/agents-overview.md): Let an AI agent find products and build a shopper's cart, while the shopper approves every purchase in your app. - [Agent checkout and MCP](https://808-labs.mintlify.app/commerce-agents.md): Connect shopper-bound agents through trusted partner authority and the existing checkout engine. - [MCP tools](https://808-labs.mintlify.app/mcp-tools.md): The commerce MCP server's tools, what each one changes and how to handle errors. - [UCP and ACP handoff preview](https://808-labs.mintlify.app/commerce-protocols.md): Evaluate the opt-in partner-bound checkout handoff and its interoperability limits. - [AI tools and Markdown](https://808-labs.mintlify.app/ai-tools.md): Take the public docs into your editor or AI assistant. - [List shopper agent grants](https://808-labs.mintlify.app/api-reference/agent-grants/get.md): Page through agent grants issued for the calling app and environment, oldest first. Pass the returned `next_cursor` as `cursor` to read the next page; credentials are never returned. Requires an API key with `agents:manage`. - [Issue a shopper agent grant](https://808-labs.mintlify.app/api-reference/agent-grants/post.md): Create a time-limited delegation that lets an AI agent shop on behalf of one shopper. Requires a server-side API key with `agents:manage` and the `agent_commerce` plan feature (`403 feature_not_in_plan` otherwise); dashboard sign-ins and agent credentials cannot issue grants. Requested scopes must b… - [Revoke a shopper agent grant](https://808-labs.mintlify.app/api-reference/agent-grants/by-grant-id/delete.md): Revoke an agent grant so its credential stops working immediately. The grant record and its cart and checkout history are retained. Requires an API key with `agents:manage`; returns `404` for a grant outside the calling app and environment. - [Record a shopper's agent checkout approval](https://808-labs.mintlify.app/api-reference/carts/by-cart-id/agent-approvals/post.md): Records the shopper's consent to buy the cart at the exact quoted total, so an AI agent can start checkout within `ttl_seconds`. Only a trusted partner server API key with `agents:manage` and `checkout:write` (and the agent commerce feature) may call it; dashboard users and agents get `403`. `key` m… - [Get agent identity](https://808-labs.mintlify.app/api-reference/agent/identity/get.md): Return the authenticated agent grant with its shopper reference, effective scopes and whether new purchases are currently enabled. Requires an agent credential issued by `POST /v1/agent-grants`; an expired, revoked or invalid credential returns `401`. - [List merchants available to an agent](https://808-labs.mintlify.app/api-reference/agent/merchants/get.md): Page the merchants the agent delegation may shop from in this environment. Pass `next_cursor` as `cursor` for the next page (`limit` 1–100). Requires an agent delegation credential with `catalog:read`. - [Search products as an agent](https://808-labs.mintlify.app/api-reference/agent/products/get.md): Page active products available to the agent delegation, optionally for one `merchant_id` or matching title text `q`. Pass `next_cursor` as `cursor` for the next page (`limit` 1–100). Requires an agent delegation credential with `catalog:read`. - [Get a variant as an agent](https://808-labs.mintlify.app/api-reference/agent/variants/by-variant-id/get.md): Return one variant available to the agent delegation, with its price in integer minor units and currency. Requires an agent delegation credential with `catalog:read`; variants outside the delegated catalog return `404`. - [Get an agent cart's current approval](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/approval/get.md): Returns whether the shopper has approved the cart and, if so, the approved terms. Contact details and payment credentials are never included. Requires an agent delegation credential with `checkout:write`. - [Get an agent cart's checkout status](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/checkout/get.md): Returns the submission and purchase status for the delegated shopper's cart (`not_submitted` before checkout), without payment secrets. Requires an agent delegation credential with `orders:read`. - [Start checkout for an agent cart](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/checkout/post.md): Submits the cart using only the terms the shopper approved (`approval_id`); returns `202` with `purchase_id`. Requires an agent delegation credential with `checkout:write`. Safe to retry: the approval is the idempotency identity, so repeats return the original purchase with `duplicate: true`. Fails… - [Create an agent cart](https://808-labs.mintlify.app/api-reference/agent/carts/post.md): Creates an empty UAE (AED) cart owned by the shopper bound to the agent's delegation; the caller cannot choose another shopper. Requires an agent delegation credential with `cart:write`. Each call creates a new cart. - [Get an agent cart](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/get.md): Returns the delegated shopper's cart with lines, address, coupons and status. Requires an agent delegation credential with `cart:write`; the cart must belong to the delegated shopper. Other carts return `404`. - [Set an agent cart's delivery address](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/address/put.md): Replaces the delivery address on the delegated shopper's cart. Payment details are never accepted here. Requires an agent delegation credential with `cart:write`; the cart must belong to the delegated shopper. Incomplete addresses fail with `422`. - [Set an agent cart's coupon codes](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/coupons/put.md): Replaces coupon codes, keyed by merchant connection, on the delegated shopper's cart; merchants validate them at quote time. Requires an agent delegation credential with `cart:write`; the cart must belong to the delegated shopper. - [Add a line to an agent cart](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/lines/post.md): Adds a permitted catalog variant to the delegated shopper's cart, or increases its quantity. Requires an agent delegation credential with `cart:write`; the cart must belong to the delegated shopper. Earlier quotes become invalid; the same availability and currency errors as `POST /v1/carts/{cart_id}… - [Change an agent cart line quantity](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/lines/by-line-id/patch.md): Sets the quantity of one line on the delegated shopper's cart; `qty: 0` removes it. Requires an agent delegation credential with `cart:write`; the cart must belong to the delegated shopper. Earlier quotes become invalid. - [Request a quote for an agent cart](https://808-labs.mintlify.app/api-reference/agent/carts/by-cart-id/quotes/post.md): Freezes live merchant prices, shipping, tax and fees for the delegated shopper's cart until `expires_at`. A quote does not authorize payment: the shopper must approve it through your partner server before checkout. Requires an agent delegation credential with `checkout:write`; the cart must belong t… - [Get an agent quote](https://808-labs.mintlify.app/api-reference/agent/quotes/by-quote-id/get.md): Returns a quote for one of the delegated shopper's carts, with totals in integer minor units and its status. Requires an agent delegation credential with `checkout:write`; quotes for other shoppers or apps return `404`. - [List a delegated shopper's purchases](https://808-labs.mintlify.app/api-reference/agent/purchases/get.md): Page the purchases of the shopper bound to the agent delegation, newest first. Pass `next_cursor` as `cursor` to read the next page (`limit` 1–50). Requires an agent delegation credential with `orders:read`. - [Get a delegated shopper's purchase](https://808-labs.mintlify.app/api-reference/agent/purchases/by-purchase-id/get.md): Return one purchase of the shopper bound to the agent delegation, with its merchant orders and statuses. Requires an agent delegation credential with `orders:read`; purchases of other shoppers return `404`. ## OpenAPI Specs - [agents-api](/agents-api.json) - [api-reference](/api-reference.json) - [openapi](/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.