Update or disable payment link
update_payment_linkChange a permanent payment link: title, fixed amount or min/max range, description, merchant name, ask_name. Set status "disabled" to stop accepting payments through it (the page then answers "not found") and "active" to turn it back on; nothing is deleted. Pass only the fields to change. Amounts are whole tenge (KZT) as integers: 5000 means 5,000 tenge, no tiyn/decimals. The slug (address) cannot be changed. Use to edit or switch off an existing link; for a different address create a new one with create_payment_link. Returns the updated link.
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": {
"payment_link_id": "<payment_link_id>"
},
"name": "update_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title. | |
| amount | No | New fixed amount. Integer, whole tenge (KZT). | |
| status | No | "disabled" stops payments, "active" resumes them. | |
| ask_name | No | Ask the customer for their name. | |
| max_amount | No | New maximum when the customer enters the amount. Integer, whole tenge (KZT). | |
| min_amount | No | New minimum when the customer enters the amount. Integer, whole tenge (KZT). | |
| description | No | New description. | |
| merchant_name | No | New merchant name shown on the page. | |
| payment_link_id | Yes | Payment link id. |