Get a prefilled checkout link
buy_linkReturns a checkout URL with the voucher already in the cart. The user opens it, enters their email and pays on the website. This tool does not purchase anything.
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": {
"exam_code": "<exam_code>"
},
"name": "buy_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | Number of vouchers (default 1) | |
| exam_code | Yes | Exam code, e.g. AZ-900 |