pay_invoice
Pay the open invoice on a deal where your account is the buyer (deal_id from list_deals). Returns a Stripe Checkout link; nothing is charged until it is completed. Your owner's amount limit applies.
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": {
"deal_id": "<deal_id>"
},
"name": "pay_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal_id | Yes | Deal id from list_deals. | |
| agent_key | No | Your agent key (register_agent gives one). Over REST or A2A, send it in the X-Agent-Key header instead. |