Update a payment link
update_payment_linkModify an existing payment link's active status, quantity, success URL, metadata, or checkout options; test keys only, live-key requests are refused.
Instructions
Update a payment link.
Test keys only: refused with a live key.
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": "update_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The object's id. | |
| active | No | ||
| metadata | No | Your own key–value pairs (≤ 50 keys, values ≤ 500 characters). On an update they are merged in; an empty value removes its key. | |
| quantity | No | ||
| success_url | No | ||
| collect_name | No | ||
| allow_coupons | No | ||
| adjustable_quantity | No |