Skip to main content
Glama

payouts.create

Create a payout to transfer funds from a Ryft account to a payout method, specifying amount, currency, and account details.

Instructions

Create a Ryft payout for an account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
amountYes
currencyYes
payoutMethodIdYes
metadataNo

Implementation Reference

  • The handler function that executes the payouts.create tool.
    async (args) => {
      const parsed = createPayoutSchema.parse(args);
      const { accountId, ...body } = parsed;
      return client.post(`/accounts/${accountId}/payouts`, body);
    },
  • Input schema for the payouts.create tool.
    const createPayoutSchema = z.object({
      accountId: z.string().min(1),
      amount: z.number().int().positive(),
      currency: z.string().length(3),
      payoutMethodId: z.string().min(1),
      metadata: metadataSchema.optional(),
    });
  • Registration of the payouts.create tool.
    registerTool(
      'payouts.create',
      'Create a Ryft payout for an account.',
      createPayoutSchema.shape,

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