vaultix_deactivate_payment_link
Deactivate a payment link in the Vaultix system by providing its ID to prevent further transactions.
Instructions
Deactivate a payment link
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Payment Link ID to deactivate |
Implementation Reference
- src/tools/index.ts:578-579 (handler)The handler logic within the tool dispatcher switch statement. It deactivates the payment link by making a POST request to the `/payment-links/{id}/deactivate` endpoint using the VaultixClient.case 'vaultix_deactivate_payment_link': return client.post(`/payment-links/${args.id}/deactivate`)
- src/tools/index.ts:352-362 (registration)The tool registration object added to the exported `tools` array, defining the name, description, and input schema for the vaultix_deactivate_payment_link tool.{ name: 'vaultix_deactivate_payment_link', description: 'Deactivate a payment link', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Payment Link ID to deactivate' }, }, required: ['id'], }, },
- src/tools/index.ts:355-360 (schema)The input schema defining the required 'id' parameter for the tool.inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Payment Link ID to deactivate' }, }, required: ['id'],