Settle composite sale
swarm.settleVerify and settle a buyer's x402 payment for a listed composite product and record revenue. Call with product_id plus PAYMENT-SIGNATURE after the buyer pays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Seller agent identity recording the sale. | |
| product_id | Yes | Listed composite product id. Example: the hex id from swarm.research. | |
| payment_required | Yes | PAYMENT-REQUIRED terms for this product. | |
| payment_signature | Yes | PAYMENT-SIGNATURE from the buyer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |