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
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- src/tools/disputes.ts:69-77 (handler)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`, {}); }, ); - src/tools/disputes.ts:14-16 (schema)The schema used for input validation of the dispute ID for the 'disputes.challenge' tool.
const disputeTargetSchema = z.object({ id: z.string().min(1), });