Skip to main content
Glama

vaultix_create_payment_link

Generate shareable payment links for Brazilian transactions using PIX or credit cards. Specify amount in cents, add descriptions, set usage limits, and configure redirect URLs after payment completion.

Instructions

Create a shareable payment link. Amount in cents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount in cents (minimum 100)
descriptionNoLink description
payment_methodsNoAllowed methods: pix, credit_card
success_urlNoRedirect URL after payment
max_usesNoMaximum number of uses

Implementation Reference

  • The core handler logic for the vaultix_create_payment_link tool. It makes a POST request to the Vaultix API's /payment-links endpoint using the provided input arguments via the VaultixClient.
    case 'vaultix_create_payment_link': return client.post('/payment-links', { amount: args.amount, description: args.description, payment_methods: args.payment_methods, success_url: args.success_url, max_uses: args.max_uses, })
  • The schema definition for the vaultix_create_payment_link tool, specifying the name, description, and inputSchema for MCP validation.
    { name: 'vaultix_create_payment_link', description: 'Create a shareable payment link. Amount in cents.', inputSchema: { type: 'object', properties: { amount: { type: 'number', description: 'Amount in cents (minimum 100)' }, description: { type: 'string', description: 'Link description' }, payment_methods: { type: 'array', items: { type: 'string' }, description: 'Allowed methods: pix, credit_card' }, success_url: { type: 'string', description: 'Redirect URL after payment' }, max_uses: { type: 'number', description: 'Maximum number of uses' }, }, required: ['amount'], }, },
  • src/index.ts:44-46 (registration)
    Registers the list of tools (including vaultix_create_payment_link) with the MCP server by handling ListToolsRequestSchema.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools } })

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