Skip to main content
Glama
VautlixDevelopment

Vaultix MCP Server

vaultix_create_charge

Create payment charges for PIX, credit card, or boleto transactions in Brazilian currency. Specify amount in cents, customer details, and payment method to process payments.

Instructions

Create a new payment charge (PIX, Credit Card, or Boleto). Amount is in cents (e.g., 5000 = R$ 50,00)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount in cents (minimum 100 = R$ 1,00)
payment_methodYesPayment method
customer_nameYesCustomer name
customer_emailYesCustomer email
customer_documentNoCustomer CPF/CNPJ
descriptionNoCharge description

Implementation Reference

  • The handler for the 'vaultix_create_charge' tool. It maps the input arguments to a POST request to the '/charges' endpoint using the VaultixClient.
    case 'vaultix_create_charge':
      return client.post('/charges', {
        amount: args.amount,
        payment_method: args.payment_method,
        description: args.description,
        customer: {
          name: args.customer_name,
          email: args.customer_email,
          document: args.customer_document,
        },
      })
  • Input schema defining the parameters and validation rules for the 'vaultix_create_charge' tool.
    inputSchema: {
      type: 'object',
      properties: {
        amount: { type: 'number', description: 'Amount in cents (minimum 100 = R$ 1,00)' },
        payment_method: { type: 'string', enum: ['pix', 'credit_card', 'boleto'], description: 'Payment method' },
        customer_name: { type: 'string', description: 'Customer name' },
        customer_email: { type: 'string', description: 'Customer email' },
        customer_document: { type: 'string', description: 'Customer CPF/CNPJ' },
        description: { type: 'string', description: 'Charge description' },
      },
      required: ['amount', 'payment_method', 'customer_name', 'customer_email'],
    },
  • Registration of the 'vaultix_create_charge' tool in the exported tools array, including name, description, and schema.
    name: 'vaultix_create_charge',
    description: 'Create a new payment charge (PIX, Credit Card, or Boleto). Amount is in cents (e.g., 5000 = R$ 50,00)',
    inputSchema: {
      type: 'object',
      properties: {
        amount: { type: 'number', description: 'Amount in cents (minimum 100 = R$ 1,00)' },
        payment_method: { type: 'string', enum: ['pix', 'credit_card', 'boleto'], description: 'Payment method' },
        customer_name: { type: 'string', description: 'Customer name' },
        customer_email: { type: 'string', description: 'Customer email' },
        customer_document: { type: 'string', description: 'Customer CPF/CNPJ' },
        description: { type: 'string', description: 'Charge description' },
      },
      required: ['amount', 'payment_method', 'customer_name', 'customer_email'],
    },

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