Medusa MCP Server

by SGFGOV
Verified

AdminPostPaymentsIdRefund

Process refunds for payments using the payment provider’s refundPayment method. Administer refunds by specifying the payment ID and required fields.

Instructions

This tool helps store administors. Refund an amount of a payment. This uses the refundPayment method of the payment provider associated with the payment's collection.

Input Schema

NameRequiredDescriptionDefault
fieldsNo
idNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "fields": { "type": "string" }, "id": { "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from Medusa MCP Server

Related Tools

ID: mm0iug6eap