# Mondoir native-USDC payment handler

Handler: art.mondoir.usdc. Instance: mondoir-usdc. Currency: USD.
Deployment mode: live. Network: eip155:8453. Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.

Read /auth.md to register and obtain an agent bearer credential. No browser cookies.
Item identifiers are artwork:<slug>, shop:<slug>, or print:<slug>.
UCP supports version 2026-01-11; ACP supports 2026-01-30.
One distinct catalogue item per checkout, with supported quantity, variant and edition selection.

Create/read/update/cancel sessions using the discovered protocol endpoint.
UCP accepts line_items [{item:{id},quantity}], buyer and fulfillment.methods with
one shipping destination. Supply payer, walletAddress, variantId, editionNumber
or editionNumbers in the mondoir object, or payer in X-Payer-Address.
ACP accepts line_items [{id}], currency USD, capabilities, buyer and
fulfillment_details.address. Supply selection/payer in metadata.mondoir on creation;
X-Payer-Address may update the payer before completion.
Incomplete sessions return real item prices; omitted shipping/tax are not free.

POST the session's payment_url with {} and the same bearer credential.
HTTP 402 returns PAYMENT-REQUIRED and WWW-Authenticate: Payment.
This freezes the cart and creates one owned, immutable ten-minute payment quote.
Authenticate all subsequent requests with the same bearer credential.

For x402 v2, authorize the exact quoted EIP-3009 terms using your own wallet,
then repeat completion with PAYMENT-SIGNATURE.
For MPP, use method evm, intent charge, credential type authorization:
sign TransferWithAuthorization on the quoted chain and asset, bind its nonce to
the challenge id/realm, and send Payment-Authorization: Payment <base64url credential>.
The MPP challenge must be echoed unchanged. The payer, recipient, amount,
expiry, chain and quote are verified before any settlement.
For MPP SDK configuration, the EIP-712 token domain is name "USD Coin",
version "2", chainId 8453, verifyingContract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.
Never send both proof headers. Authorization remains the agent bearer header.

Alternatively complete with payment_data {handler_id:"mondoir-usdc",
instrument:{type:"wallet",credential:{type:"x402" or "mpp",token:<proof header value>}}}.
Only USDC on networks advertised by GET /agent-commerce is accepted.
Select mondoir.network (UCP) or metadata.mondoir.network (ACP) before quoting.
Solana uses x402 SVM transaction proofs, not this EVM MPP authorization format.
No card details, delegated card tokens or other coins are accepted.
A 200 completed response contains a real normal order. A 202 means recovery is
pending: poll the same session and never submit another payment.
Testnet settlement never represents a live purchase.
Prices, shipping, VAT, availability, receipts, notifications and fulfillment use
the same authoritative checkout and exactly-once payment ledger as direct commerce.
