Skip to main content
Glama
AbbottDevelopments

Shopmonkey MCP Server

get_payment

Retrieve detailed payment information by ID to track transactions and manage shop financial records within the Shopmonkey system.

Instructions

Get detailed information about a single payment by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe payment ID

Implementation Reference

  • Handler implementation for get_payment.
    async get_payment(args) {
      if (!args.id) return { content: [{ type: 'text', text: 'Error: id is required' }], isError: true };
      const data = await shopmonkeyRequest<Payment>('GET', `/payment/${sanitizePathParam(String(args.id))}`);
      return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
    },
  • Definition and schema for get_payment.
      name: 'get_payment',
      description: 'Get detailed information about a single payment by its ID.',
      inputSchema: { type: 'object' as const, properties: { id: { type: 'string', description: 'The payment ID' } }, 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/AbbottDevelopments/shopmonkey-mcp-server'

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