vaultix_get_customer
Retrieve customer details by ID from the Vaultix Payment API to manage payment information and transactions.
Instructions
Retrieve a customer by ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Customer ID (cus_...) |
Implementation Reference
- src/tools/index.ts:464-465 (handler)Handler for 'vaultix_get_customer' tool: retrieves customer by ID using VaultixClient GET request to /customers/{id}.case 'vaultix_get_customer': return client.get(`/customers/${args.id}`)
- src/tools/index.ts:82-92 (schema)Tool definition including name, description, and input schema (requires 'id' parameter). Used for registration and input validation.{ name: 'vaultix_get_customer', description: 'Retrieve a customer by ID', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Customer ID (cus_...)' }, }, required: ['id'], }, },
- src/tools/index.ts:82-92 (registration)Registration of the 'vaultix_get_customer' tool in the exported 'tools' array for MCP.{ name: 'vaultix_get_customer', description: 'Retrieve a customer by ID', inputSchema: { type: 'object', properties: { id: { type: 'string', description: 'Customer ID (cus_...)' }, }, required: ['id'], }, },