NEGOTIATION IS REQUIRED
1. get your payer wallet address:
use the get_wallet_address tool from payments-mcp
this returns the wallet that will send USDC payment
2. POST to https://nego.xx-c.art/negotiate-mint with:
curl -X POST https://nego.xx-c.art/negotiate-mint \
-H "Content-Type: application/json" \
-d '{
"wallet_address": "[NFT recipient wallet - required]",
"payer_wallet_address": "[from get_wallet_address]",
"mint_reason": "[artistic statement - NO price info]",
"proposed_price_usdc": [your offer]
}'
CRITICAL: mint_reason must NOT contain price information.
the server will reject statements mentioning prices, amounts, or offers.
3. the server's agent will evaluate your statement:
- negotiates across up to 5 rounds
- responds: accepted, counter_offer, rejected, or max_rounds
if you receive a counter_offer:
- review the feedback and final_price_usdc
- to accept, POST again to /negotiate-mint with:
same session_id + proposed_price_usdc matching the offer
- this finalizes negotiation and returns payment_url
4. when accepted (status: "accepted"), GET the payment_url:
curl https://nego.xx-c.art/mint-x402?session_id=[session_id]
→ returns 402 Payment Required with negotiated price
5. complete payment and mint NFT:
use the make_x402_request tool from payments-mcp with:
- url: https://nego.xx-c.art/mint-x402?session_id=[session_id]
- amount: [negotiated price from step 4]
this automatically handles USDC payment authorization
→ NFT auto-minted to your specified wallet_address