Skip to main content
These tools complement Wallet Service and Browser Pay. Use them when the connected server’s current rules select Catalog or UCP Checkout for the user’s request. A search result is not authorization to purchase. This page covers the main parameters. Discover the full schema with tools/list; see MCP connection and OAuth for calling tools. Even tools with no additional scope require the normal authenticated MCP connection.

Search and product details

Discover products

Example tools/call parameters:
Registered-merchant scope cannot be combined with external-store or provider scope. Results can include groups, provider_results, and exact product target objects. Keep the original target when calling get_product; a store ID is not a registered merchant ID. Pure search does not create a spending authorization or start payment. Resolve product variants and required options before checkout. Use returned or parsed prices in their documented units; do not multiply a minor-unit amount by 100 again.

UCP Checkout

When the user chooses UCP Checkout for a purchase, first apply the connected server’s purchase-authorization rules. If the stated budget requires preauthorization, activate a matching instruction before discovery. Without a budget, checkout can provide the actual total before authorization.
  1. Obtain exact products from Catalog, or parse a product URL.
  2. Confirm SKU, options, quantity, and fulfillment requirements.
  3. Call create_checkout, then follow its next_action to supply information, authorize spending, or confirm the summary.
  4. Use update_checkout for supported changes to that checkout. Review and confirm the updated summary.
  5. Call complete_checkout once for the current confirmation. Read get_operation if the outcome is still pending or the response is lost.
  6. Read the resulting UCP order and, for digital goods, wait for delivery if needed.

Main checkout parameters

For the items form of create_checkout:
  • Registered merchant: use the returned merchant ID and item IDs, quantities, and selected options. Catalog supplies prices; omit external currency, item title, and unitPriceMinor fields.
  • External product: use the product URL as merchantUrl, provide currency, and include each item’s exact title and unitPriceMinor. Preserve a returned order_channel_id. Obtain missing facts with get_product or parse_product_item before creating checkout.
  • Fulfillment: use PHYSICAL_GOODS_REQUIRES_SHIPPING with complete shipping details, or NO_SHIPPING_REQUIRED when appropriate. Resolve an unknown fulfillment type with the user first.
create_checkout prepares a checkout; it does not complete payment. update_checkout invalidates the old confirmation. complete_checkout uses the current confirmation identifiers; it is not a place to submit a replacement amount or payment card. The legacy checkout paymentInstrumentId argument is ignored; checkout uses the wallet default.

MCP call examples

The following examples use the MCP tools/call format. Before calling, use tools/list to confirm the tool names and full schema returned by the current server.

Create checkout

Keep the returned operation_id, current action_id, revision, and next_action. For physical goods that require shipping, change the fulfillment type to PHYSICAL_GOODS_REQUIRES_SHIPPING and provide a complete shipping address.

Update checkout and complete payment

When next_action asks for checkout information to be added or changed, update using the current revision; the update invalidates the old confirmation identifiers:
Read the updated response and complete the checkout with the latest confirmation identifiers:
If the response is still pending, or the response is lost after the call, read the Operation with the same operationId. Do not create a new checkout or pay again.

Read order and digital delivery

After checkout completes, read the order using resources.ucp_order_id from the Operation result:
For digital goods, wait for delivery with the same order ID:
If the current server names the order tool get_order, use the exact name returned by tools/list. Spending-authorization tools and their amount units are documented in Wallet Service tools. Operation identifiers, revisions, and recovery are documented in Operations.

Orders and delivery

Some server versions expose this UCP order reader as get_ucp_order. Use the exact name returned by the connected server’s tools/list. Payment completion and delivery completion are separate states. Reading an order or waiting for delivery never retries payment. UCP order IDs and Clink direct-payment order IDs identify different records. Do not use them interchangeably or assume a UCP order ID can be submitted to Clink’s refund tools. These UCP tools do not provide a general order-cancellation or refund operation.

Keep the payment flows separate

UCP Checkout completes through complete_checkout and its operation. Browser Pay obtains a credential, pays on the merchant website, and reports the observed outcome through confirm_result. Do not call Browser Pay’s confirm_result after UCP Checkout.