Skip to main content
Glama

disputes.challenge

Challenge payment disputes through the Ryft MCP server by submitting required identification to contest transaction claims.

Instructions

Challenge a Ryft dispute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • The handler and registration for 'disputes.challenge'. It uses 'disputeTargetSchema' to validate the ID and makes a POST request to '/disputes/${id}/challenge'.
    registerTool(
      'disputes.challenge',
      'Challenge a Ryft dispute.',
      disputeTargetSchema.shape,
      async (args) => {
        const { id } = disputeTargetSchema.parse(args);
        return client.post(`/disputes/${id}/challenge`, {});
      },
    );
  • The schema used for input validation of the dispute ID for the 'disputes.challenge' tool.
    const disputeTargetSchema = z.object({
      id: 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