Skip to main content
Glama
VautlixDevelopment

Vaultix MCP Server

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
NameRequiredDescriptionDefault
idYesCustomer ID (cus_...)

Implementation Reference

  • 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}`)
  • 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'],
      },
    },
  • 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'],
      },
    },

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