Prepare online payment order
prepare_orderPrepare an order for online payment. Returns the summary, payment status, next_step and a checkout_url where the shopper reviews and pays on bafan.sk.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prepare_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | Contact and delivery address entered by the shopper. Use the two-letter country code. | |
| cart_key | No | Guest carts only; omit it when the account is connected. Private tool input. Copy the key from an earlier tool result, the cart_key query parameter of a payment link, or the last segment of a /shop/mcp-checkout/ link already in the chat. Keep it out of shopper replies. | |
| address_id | No | ||
| carrier_id | No | ||
| gls_point_id | No | ||
| payment_method_id | No |