Prepare purchase
prepare_purchasePrepare a guest per-call purchase: returns the authoritative price split, payment_id, purchase_ticket, reissued commerce_scope, and payment_plan. Pay by sending payment_plan.calls (to/value/data verbatim) from the buyer wallet as ONE atomic batch transaction on Base Mainnet — the platform call's data carries the required payment_id stamp; separate or re-encoded transfers are refused and not refunded.
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": {
"job_id": "<job_id>",
"buyer": "<buyer>",
"commerce_scope": "<commerce_scope>"
},
"name": "prepare_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | Yes | ||
| job_id | Yes | ||
| commerce_scope | Yes |