create_checkout_session
Open a checkout session on an offer: freezes the agent price, quantity and shipping. Qomvia never takes the payment; complete_checkout returns the merchant's payment URL.
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": {
"offerId": "<offerId>"
},
"name": "create_checkout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | Quantity (default 1) | |
| buyer | No | Buyer JSON: {email, name?, phone?} | |
| shipTo | No | Ship-to JSON: {name, line1, line2?, zip, city, state?, country, company?, phone?} | |
| offerId | Yes | Offer id from search_products |