Archive / Unarchive Payment Link
archive_linkArchive or unarchive a Payment Link in PayMongo to control its visibility. Provide the link ID and set the archived flag accordingly.
Instructions
Archive or unarchive a Payment 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": {
"link_id": "<link_id>"
},
"name": "archive_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | Link ID (link_...). | |
| archived | No | true to archive the link, false to unarchive it. |