Skip to main content
Glama

disputes.list

Retrieve a list of Ryft payment disputes with filtering options for timestamp, order, and result limits to manage financial transaction challenges.

Instructions

List Ryft disputes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startTimestampNo
endTimestampNo
ascendingNo
limitNo
startsAfterNo

Implementation Reference

  • Handler implementation for disputes.list that parses arguments and calls the HTTP client.
      async (args) => {
        const query = listDisputesSchema.parse(args) as Record<string, QueryValue>;
        return client.get('/disputes', { query });
      },
    );
  • Zod schema validation for disputes.list arguments.
    const listDisputesSchema = z.object({
      startTimestamp: z.number().int().optional(),
      endTimestamp: z.number().int().optional(),
      ascending: z.boolean().optional(),
      limit: z.number().int().positive().max(100).optional(),
      startsAfter: z.string().optional(),
    });
  • Registration of the disputes.list tool.
    registerTool(
      'disputes.list',
      'List Ryft disputes.',
      listDisputesSchema.shape,
      async (args) => {
        const query = listDisputesSchema.parse(args) as Record<string, QueryValue>;
        return client.get('/disputes', { query });
      },
    );

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