Skip to main content
Glama

customers.create

Create new customer accounts in Ryft by providing email, name, and metadata for financial management and payment processing.

Instructions

Create a Ryft customer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYes
firstNameNo
lastNameNo
metadataNo

Implementation Reference

  • Tool registration for 'customers.create', which delegates the actual call to the client.post method in the handler.
    registerTool(
      'customers.create',
      'Create a Ryft customer.',
      createCustomerSchema.shape,
      async (args) => client.post('/customers', createCustomerSchema.parse(args)),
    );
  • Zod schema definition for input validation of the 'customers.create' tool.
    const createCustomerSchema = z.object({
      email: z.string().email(),
      firstName: z.string().min(1).optional(),
      lastName: z.string().min(1).optional(),
      metadata: z.record(z.string(), z.string()).optional(),
    });

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/bkawk/ryft-mcp'

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