vaultix_get_charge
Retrieve payment charge details by ID to view transaction status and information in the Vaultix payment system.
Instructions
Retrieve a charge by ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Charge ID (ch_...) |
Implementation Reference
- src/tools/index.ts:442-443 (handler)The handler implementation within the handleToolCall switch statement. It retrieves the charge details from the Vaultix API using the provided charge ID.case 'vaultix_get_charge': return client.get(`/charges/${args.id}`)
- src/tools/index.ts:35-41 (schema)Input schema definition for the vaultix_get_charge tool, requiring a string 'id' parameter.inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Charge ID (ch_...)' }, }, required: ['id'], },
- src/tools/index.ts:32-42 (registration)Tool registration in the exported tools array, defining name, description, and input schema for MCP.{ name: 'vaultix_get_charge', description: 'Retrieve a charge by ID', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Charge ID (ch_...)' }, }, required: ['id'], }, },