Skip to main content
Glama

confirm_purchase

Settle a network-MEMBER (e.g. RRG) purchase after you have sent the USDC that buy_product asked for. This is the member two-step: buy_product returns a pay-to address and amount, you transfer USDC on Base, then call this with the tx hash to mint, pay out, and get your download. For physical products include the shipping block and buyer_email. VIA-native purchases do NOT use this: they settle at the /api/x402/purchase endpoint that buy_product returns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tx_hashYesThe USDC transfer transaction hash on Base.
order_idNoThe orderId buy_product returned for this member order. Required for physical member products: the order ships to the address recorded on it.
shippingNoRequired for physical member products.
product_idYesThe member listing/token id (mcp_ref.token_id).
buyer_emailNoFor order confirmation and file delivery. Required for physical products.
buyer_walletYesThe wallet that sent the USDC.
selected_sizeNoThe size you chose at buy_product (must match).
buyer_agent_idNoYour ERC-8004 agent id, for an on-chain trust signal.
selected_colorNoThe colour you chose at buy_product (must match).
seller_mcp_urlYesThe member seller_mcp_url you called buy_product on.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / order_id
      Added value: +{
      +  "description": "The orderId buy_product returned for this member order. Required for physical member products: the order ships to the address recorded on it.",
      +  "maxLength": 4096,
      +  "type": "string"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources