Overview
The RefundPaymentCommand requests a refund of a previously successful payment. Can be full or partial.
Command Schema
{ "commandId": "uuid", "commandType": "RefundPaymentCommand", "timestamp": "2025-12-11T10:30:00Z", "version": "1.0.0", "data": { "refundId": "string", "originalPaymentId": "string", "amount": { "value": "number", "currency": "string" }, "reason": "string", "refundType": "full | partial", "idempotencyKey": "string" }}