Skip to main content
Glama

vaultix_cancel_charge

Cancel pending or authorized payments in the Vaultix Payment API by providing the charge ID to stop transactions before completion.

Instructions

Cancel a pending or authorized charge

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCharge ID to cancel

Implementation Reference

  • Handler logic within the handleToolCall switch statement. Posts a cancellation request to the Vaultix API endpoint `/charges/${id}/cancel` using the provided charge ID.
    case 'vaultix_cancel_charge': return client.post(`/charges/${args.id}/cancel`)
  • Input schema definition requiring a 'id' parameter of type string for the charge ID to cancel.
    inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Charge ID to cancel' }, }, required: ['id'], },
  • Tool registration entry in the exported tools array, including name, description, and input schema.
    { name: 'vaultix_cancel_charge', description: 'Cancel a pending or authorized charge', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Charge ID to cancel' }, }, required: ['id'], }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VautlixDevelopment/mcpVaultix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server