{
  "schemaVersion": "bidglow.agent-commerce.v1",
  "name": "BidGlow",
  "origin": "https://bidglow.ai",
  "capabilities": "https://bidglow.ai/api/v1/agent/capabilities",
  "openapi": "https://bidglow.ai/openapi.json",
  "mcp": "https://bidglow.ai/api/mcp",
  "newDestination": {
    "method": "POST",
    "url": "https://bidglow.ai/api/v1/agent/usdc-orders",
    "mcpTool": "publish_and_prepare_usdc_bid",
    "requestSchema": "https://bidglow.ai/openapi.json#/paths/~1api~1v1~1agent~1first-bid/post/requestBody",
    "paymentRequestField": "paymentRequest",
    "retryStates": {
      "processingOrPaid": "awaiting_settlement or fulfilled, paymentRequest:null, doNotPayAgain:true",
      "terminalUnpaid": "Follow nextAction.request automatically; preserve submissionPurchaseId and save replacement IDs. Never renew unknown outcomes."
    },
    "minimalRequest": {
      "destination": "<public URL from the existing user instruction>",
      "targetBid": 5,
      "maxAmountCents": 500
    },
    "success": {
      "httpStatus": 200,
      "stage": "payment_request_ready",
      "paymentRequestField": "paymentRequest",
      "prePaymentHandshake": false
    },
    "managementRecovery": {
      "http": "https://bidglow.ai/api/v1/agent/management-recovery",
      "mcpTool": "recover_management",
      "proof": "Confirmed Stripe payment, matching on-chain USDC Transfer, and signature by the actual paying wallet. A URL or public transaction hash alone is insufficient."
    }
  },
  "existingListing": {
    "method": "POST",
    "url": "https://bidglow.ai/api/v1/agent/usdc-orders",
    "auth": "Existing listing only: ownerToken in JSON body. First bid uses destination and needs no existing ownerToken."
  },
  "payment": {
    "asset": "USDC",
    "chainId": 8453,
    "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "paymentRequest.amountAtomic (integer base units, 6 decimals)",
    "payee": "paymentRequest.depositAddress (Stripe per-order recipient)",
    "expiry": "paymentRequest.expiresAt (Unix seconds)",
    "statusUrl": "response.statusUrl",
    "statusAuth": "No authentication for progress-only statusUrl; private legacy status and management require ownerToken.",
    "success": "fulfilled",
    "authorization": "Use the wallet owner existing valid budget and merchant authorization. If absent, obtain the required wallet authorization before transfer. A user instruction is not an on-chain wallet signature.",
    "merchantIdentity": "https://bidglow.ai",
    "merchantAttestation": "Optional EIP-712 MerchantPaymentRequest. Set signatureMode=required and payer to your wallet address. Verify signer and all order terms before using an existing signer trust policy.",
    "formats": [
      "ERC-20 transfer (Base USDC)",
      "EIP-681 paymentUri",
      "EIP-1193 transactionRequest (eth_sendTransaction)",
      "Optional EIP-712 merchantAttestation"
    ]
  },
  "execution": "Read live capabilities, prepare a new URL with destination, targetBid and maxAmountCents in one call, validate the returned exact amount against the existing user budget, pay with an authorized wallet, and poll status until fulfilled. Save the private receipt when available; no storage handshake blocks payment. Recover lost management rights with payer-wallet proof after payment. An unpaid order is not payment success.",
  "compatibility": {
    "requires": [
      "HTTP or MCP execution",
      "Authorized Base mainnet USDC wallet",
      "Sufficient funds and required network fees"
    ],
    "universalCompatibilityGuaranteed": false,
    "oneCallPreparationVerified": true,
    "livePaymentToRankingAccepted": false,
    "checkedAt": "2026-11-19"
  },
  "merchantSignature": {
    "field": "merchantSignature",
    "scheme": "eip712",
    "dtoVersion": "bidglow.merchant-order.v1",
    "specification": "https://bidglow.ai/merchant-signature.md",
    "signatureMode": "auto (default), required (fail closed), none (explicit opt-out)",
    "walletContractRequired": false,
    "payerRequired": false,
    "trust": "Read expectedSigner from https://bidglow.ai/api/v1/agent/capabilities; compare all signed invoice terms before applying wallet-owner authorization. A merchant signature never authorizes spending."
  }
}
