create_merchant_enrollment_challenge
Begin headless merchant enrollment. Returns the exact five-minute EIP-191 message and a Base USDC approve-zero or transfer-zero alternative. Sign the exact message with the merchant wallet, then call complete_merchant_enrollment_signature; or use the wallet action and complete_merchant_enrollment_transaction. 402Mob never receives a private key. Store the returned merchant API key securely.
输入参数name必填wallet必填
complete_merchant_enrollment_signature
Complete merchant enrollment using the EIP-191 signature of the exact message returned by create_merchant_enrollment_challenge. Accepts only a wallet signature, never a private key. Returns the merchant API key once; store it in the agent's secret manager immediately and do not log the result.
输入参数name必填wallet必填signature必填challengeId必填
complete_merchant_enrollment_transaction
Complete enrollment after the wallet tool submits and confirms the challenge-specific zero-USDC action. Accepts the transaction hash; never accepts or needs a private key. Returns the merchant API key once—store it in the agent's secret manager immediately.
输入参数name必填method必填wallet必填challengeId必填transactionHash必填
create_merchant_credential_rotation_challenge
Begin recovery of a lost merchant API key. Returns a five-minute wallet-bound challenge for either gas-free EIP-191 signing or a zero-USDC Base transaction proof. The wallet signs or submits the action; 402Mob never signs for it.
输入参数wallet必填
complete_merchant_credential_rotation_signature
Rotate a lost merchant API key by submitting the merchant wallet's EIP-191 signature of the exact message returned by create_merchant_credential_rotation_challenge. This method needs no transaction or gas. It returns the replacement key once and invalidates the old one; store the new key securely.
输入参数wallet必填signature必填challengeId必填
complete_merchant_credential_rotation_transaction
Rotate a merchant API key after the wallet tool submits and confirms a challenge-specific zero-USDC action. Returns the replacement key once and invalidates the old one. Store the new key in the agent's secret manager immediately.
输入参数method必填wallet必填challengeId必填transactionHash必填
Compare a Base transaction with an expected USDC invoice sender, recipient and amount. Returns match only after 3 confirmations. Costs 0.02 USDC on Base. Supply and persist an idempotencyKey for safe retries.
输入参数expectedSender必填idempotencyKey必填transactionHash必填expectedRecipient必填expectedAmountUSDC必填
Resolve public prepared-artifact resources by provider-agent name or active resource text. Returns current versions, formats, prices, and checkout references; does not execute tasks or require a merchant ID or bearer key.
输入参数limitquerycursor
List a merchant's active prepared-artifact offers, fixed prices, and checkout IDs. This is public and does not require a bearer key.
输入参数merchantId必填
resolve_latest_merchant_offer
Resolve any known offer ID to the currently published latest version in its immutable offer series. Does not require a bearer key or payment.
输入参数offerId必填merchantId必填
create_prepared_artifact_transfer_challenge
Prepare a noncustodial direct-USDC checkout for a prepared artifact. Returns the seller's payout address and exact amount, plus a separate challenge-bound zero-USDC approval that proves the buyer wallet controls the purchase. Both wallet actions are submitted by the buyer's own wallet tool; 402Mob never holds funds or signs transactions.
输入参数payer必填offerId必填merchantId必填idempotencyKey必填
complete_prepared_artifact_transfer
Verify a direct Base USDC artifact payment and the buyer's separate zero-USDC wallet-control proof, then deliver the retained artifact. On timeout, retry the same challenge, transaction hashes, and idempotency key; do not send USDC again. The transaction hash alone is not enough to claim a purchase.
输入参数payer必填method必填offerId必填merchantId必填challengeId必填idempotencyKey必填paymentTransactionHash必填identityTransactionHash必填
Buy an active prepared artifact from a wallet-enrolled merchant with standard x402: the first call returns payment requirements; sign locally and retry the same arguments with _meta['x402/payment']. For a wallet tool without typed-data signing, use create_prepared_artifact_transfer_challenge, send the exact USDC amount, make the separate zero-USDC wallet proof, then call complete_prepared_artifact_transfer. Reuse the same identifiers and payment proof after timeouts.
输入参数offerId必填merchantId必填idempotencyKey必填
create_work_ticket_grant_challenge
Create a buyer-signed, ticket-specific budget grant. This signs the worker, capability, input hash, maximum Base USDC, and expiry; it does not authorize payment. Persist the idempotency key, then sign the exact returned message with the buyer wallet using EIP-191.
输入参数buyer必填input必填capability必填merchantId必填maxPriceUSDC必填idempotencyKey必填expiresInSeconds必填
complete_work_ticket_grant
Create or recover a work ticket using the buyer's EIP-191 signature of the exact grant challenge. No private key is sent. Reuse the same challenge, signature, and idempotency key after an interrupted response.
输入参数buyer必填input必填signature必填capability必填merchantId必填challengeId必填maxPriceUSDC必填idempotencyKey必填expiresInSeconds必填
Read public recovery status for a buyer's work ticket, including state, readable quote terms, payment reference, and result hash. It does not expose task input or result bytes and does not authorize payment.
输入参数ticketId必填
list_merchant_work_tickets
Seller inbox. Requires a merchant API bearer key with merchant:work scope. Returns only tickets addressed to this merchant, including the buyer-provided input and current quote/payment/result state.
输入参数limit
Claim a ticket addressed to the authenticated merchant for a bounded lease. Requires merchant:work scope and a bearer API key.
输入参数ticketId必填leaseSeconds
Submit one fixed quote after claiming a ticket. The API enforces the buyer-signed maximum; the buyer must separately sign these exact terms before payment. Requires merchant:work scope.
输入参数ticketId必填priceUSDC必填contentType必填deliverable必填expiresInSeconds必填
create_work_quote_acceptance_challenge
Ask 402Mob for the exact EIP-191 message binding buyer, seller wallet, quote ID, quote hash, expiry, and exact Base USDC amount. This is quote acceptance only; the payment requires a separate x402 authorization.
输入参数buyer必填ticketId必填
Accept the exact current seller quote with its challenge-bound EIP-191 signature. This does not pay the seller. Next, call pay_work_ticket_quote using a separate exact x402 authorization.
输入参数ticketId必填signature必填challengeId必填
Pay the buyer-accepted quote directly to the seller with x402 Base USDC. First call returns exact requirements; sign them with the buyer wallet and retry with _meta['x402/payment']. The signed ticket maximum and quote acceptance are checked independently. Keep idempotencyKey and the same payment authorization for recovery.
输入参数ticketId必填idempotencyKey必填
submit_work_ticket_result
Submit a bounded result after the ticket payment is confirmed. Requires merchant:work scope; the API encrypts the result at rest and returns its SHA-256 for buyer retrieval.
输入参数result必填ticketId必填contentType必填
create_work_result_challenge
Create the buyer's short-lived EIP-191 authorization to retrieve the result with the stated hash. Sign the exact message; the signature permits retrieval only and does not authorize payment.
输入参数buyer必填ticketId必填
Retrieve a retained ticket result using the buyer's signed result challenge. If the response is interrupted, create a fresh challenge and retry; no additional payment is made.
输入参数ticketId必填signature必填challengeId必填
create_work_receipt_challenge
Create an EIP-191 challenge for the buyer to record accepted or disputed judgment of the retained result. 402Mob stores the signed receipt but does not arbitrate or refund.
输入参数buyer必填verdict必填ticketId必填
Store the buyer's signed accepted/disputed receipt for this result. Replay the same challenge and signature if the response is interrupted.
输入参数ticketId必填signature必填challengeId必填
create_delivery_receipt_challenge
Create a short-lived challenge for the payer wallet to sign accepted or disputed for a retained result. This does not charge or sign for the wallet. The returned message must be signed with EIP-191 by the payer.
输入参数payer必填verdict必填operationId必填
Submit the payer wallet's EIP-191 signature for a delivery receipt challenge. The signature must be created by the payer wallet, not by 402Mob.
输入参数signature必填challengeId必填operationId必填
List operations assigned to the calling coordinator agent. Requires an Authorization bearer key with operations:read scope.
无需输入参数。
read_assigned_operation_evidence
Read redacted operation evidence, including result hash, settlement record, and delivery receipt summaries. Requires an assigned operation and operations:read scope in the MCP Authorization header.
输入参数operationId必填
read_assigned_delivery_receipts
Read signed delivery receipt proofs for an assigned operation. Requires operations:read scope in the MCP Authorization header.
输入参数operationId必填
reconcile_assigned_operation
Check settlement evidence for a pending 402Mob operation using its x402 settlement transaction hash. Requires an assigned operation and both operations:read and operations:reconcile scopes. This does not submit payment.
输入参数operationId必填transaction必填