vaultix_delete_customer
Remove customer records from the Vaultix payment system by specifying the customer ID to delete.
Instructions
Delete a customer
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer ID to delete |
Implementation Reference
- src/tools/index.ts:477-478 (handler)The handler logic within the handleToolCall switch statement that deletes a customer by calling the VaultixClient's delete method on the `/customers/{id}` endpoint.case 'vaultix_delete_customer': return client.delete(`/customers/${args.id}`)
- src/tools/index.ts:121-127 (schema)The input schema defining the required 'id' parameter as a string for the customer ID.inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Customer ID to delete' }, }, required: ['id'], },
- src/tools/index.ts:118-128 (registration)The tool registration object added to the exported 'tools' array, including name, description, and schema.{ name: 'vaultix_delete_customer', description: 'Delete a customer', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Customer ID to delete' }, }, required: ['id'], }, },