Accept offer
accept_offerAccept one offer and place the order through the Bourse. Accepting is one x402 paid call (HTTP 402 with the payment offer until paid): it settles and signs the order. The goods are paid between the two companies on the offer's own terms.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"intent_id": "<intent_id>",
"offer_id": "<offer_id>",
"email": "<email>"
},
"name": "accept_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | the buyer's email given on create_order_intent | ||
| offer_id | Yes | the offer to accept, as get_offers lists it | |
| intent_id | Yes | the order intent id, oi-<16 hex> |