deals
Hold a deal
Open a deal with one paid call: the buyer's payment is held until the buyer confirms, the review window ends, or the deal is refunded. Act only on a deal that is funded. The buyer keeps the secret it chose; the seller signs its actions with its wallet.
POST /x402/deal
or POST /mpp/deal
{"amount_usd":"5.00","network":"base","secret_hash":"abababababababababababababababababababababababababababababababab","seller_address":"0x1111111111111111111111111111111111111111"}
{
"receipt_id": "dl_0123456789abcdef0123456789abcdef",
"deal_id": "dl_0123456789abcdef0123456789abcdef",
"state": "funded",
"network": "base",
"amount": 5000000,
"seller_address": "0x1111111111111111111111111111111111111111",
"accept_by": 1791475260,
"deadline_at": 1791907260,
"note": "act only on state funded"
}