Skip to main content
Glama

payoutMethods.get

Retrieve a specific payout method by its ID to access banking details or payment information for processing transactions within the Ryft MCP server.

Instructions

Get a Ryft payout method by id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
payoutMethodIdYes

Implementation Reference

  • The registration and implementation of the 'payoutMethods.get' MCP tool, which retrieves a payout method from the Ryft API.
    registerTool(
      'payoutMethods.get',
      'Get a Ryft payout method by id.',
      payoutMethodTargetSchema.shape,
      async (args) => {
        const { accountId, payoutMethodId } = payoutMethodTargetSchema.parse(args);
        return client.get(`/accounts/${accountId}/payout-methods/${payoutMethodId}`);
      },
    );
  • The Zod schema defining the input requirements for 'payoutMethods.get'.
    const payoutMethodTargetSchema = z.object({
      accountId: z.string().min(1),
      payoutMethodId: z.string().min(1),
    });

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