disputes.addEvidence
Add text or file evidence to support a Ryft payment dispute case. Submit supporting documentation to strengthen your dispute resolution process.
Instructions
Add evidence to a Ryft dispute.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| text | No | ||
| files | No |
Implementation Reference
- src/tools/disputes.ts:79-88 (handler)Registration and implementation of the 'disputes.addEvidence' tool handler.
registerTool( 'disputes.addEvidence', 'Add evidence to a Ryft dispute.', addDisputeEvidenceSchema.shape, async (args) => { const parsed = addDisputeEvidenceSchema.parse(args); const { id, ...body } = parsed; return client.patch(`/disputes/${id}/evidence`, body); }, ); - src/tools/disputes.ts:26-30 (schema)Input validation schema for 'disputes.addEvidence'.
const addDisputeEvidenceSchema = z.object({ id: z.string().min(1), text: disputeEvidenceTextSchema.optional(), files: disputeEvidenceFilesSchema.optional(), });