Get buy link
cara_beliGet the checkout or order link for a product. This tool does NOT charge anything; the link opens the seller's checkout page, where the buyer completes payment.
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": {
"id": "<id>"
},
"name": "cara_beli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | product id from lihat_katalog (e.g. tertau-19), or a client listing as hm-<penawaran_id> (e.g. hm-47) | |
| ref | No | optional affiliate code from daftar_afiliasi |