Skip to main content
Glama
alamedaim-apps

Authorize.net MCP Server

get_merchant_details

Retrieve merchant account information like business name, gateway ID, and payment processors from Authorize.net to verify account setup and configuration.

Instructions

Get merchant account information including name, gateway ID, and processors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the get_merchant_details tool logic: creates API request, calls controller, handles response, and returns formatted merchant details.
    async function getMerchantDetails() { const request = new ApiContracts.GetMerchantDetailsRequest(); request.setMerchantAuthentication(getMerchantAuth()); const ctrl = new ApiControllers.GetMerchantDetailsController(request.getJSON()); const response = await executeController(ctrl); const apiResponse = new ApiContracts.GetMerchantDetailsResponse(response); if (apiResponse.getMessages().getResultCode() !== ApiContracts.MessageTypeEnum.OK) { const errors = apiResponse.getMessages().getMessage(); throw new Error(`API Error: ${errors[0].getCode()} - ${errors[0].getText()}`); } return { merchantName: apiResponse.getMerchantName(), gatewayId: apiResponse.getGatewayId(), processors: apiResponse.getProcessors(), contactDetails: apiResponse.getContactDetails(), }; }
  • Tool schema definition in the ListTools response, including name, description, and input schema (no inputs required).
    name: "get_merchant_details", description: "Get merchant account information including name, gateway ID, and processors.", inputSchema: { type: "object", properties: {}, }, },
  • src/index.ts:328-330 (registration)
    Tool registration in the switch statement of the CallToolRequestSchema handler, dispatching to the getMerchantDetails function.
    case "get_merchant_details": result = await getMerchantDetails(); break;

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/alamedaim-apps/authnet-mcp'

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